So today out of the blue (says the client), CUPS just stopped printing. When trying to manually start the service we got these errors and then CUPSD would just hang:
shell# /etc/init.d/cups startLooking at dmesg, we see these drivers load with the kernel and shouldn't need to be modprobed:
Starting Common Unix Printing System: cupsdmodprobe: module lp not found.
modprobe: failed to load module lp
modprobe: module ppdev not found.
modprobe: failed to load module ppdev
shell# dmesg |grep lpWe commented out the modprobe lines in the startup script /etc/init.d/cups but the hang would still happen. We eventually pinned it down to the file /etc/default/cups which has these lines:
lp: driver loaded but no devices found
dmesg |grep ppdev
ppdev: user-space parallel port driver
# Cups configure optionsBy changing that last line to "=no" we were able to get CUPS started properly. This only took about two hours to pin down; why doesn't CUPS have a --verbose switch??
# LOAD_LP_MODULE: enable/disable to load "lp" parallel printer driver module