Printers stopping, jobs held CUPS 1.2.12

Joe D. Trent jtrent at bighamtakeoutbrothers.com
Fri Jan 30 07:43:01 PST 2009


Hi,

I knew better than to take the machine down for maintenance. I only 
replaced a tape drive and cd burner and installed a few minor Fedora 
updates.

The setup:

Linux monolith 2.6.22.14-72.fc6 #1 SMP Wed Nov 21 14:10:25 EST 2007 
x86_64 x86_64 x86_64 GNU/Linux

CUPS 1.2.12

I have 11 printers setup--a mixture of laser printers connected into the 
network and parallel dot matrix printers connected via d-link printservers.

Since the reboot, each of the printers has stopped in a seeming random 
fashion. All it takes is for me to start the printer again from the 
web-based CUPS administration printers page. The problems are not 
limited to printers on the d-links.

I saw references to the problem and changed printers.conf / ErrorPolicy 
from "stop-printer" to "retry-job". That seems to have changed the 
symptoms from stopping the printer to holding the job. Now I have to go 
into "jobs" and release them.

Here is the printers.conf configuration for one printer:

<Printer dfx5kp-M>
Info Line Printer
Location Front Office
DeviceURI lpd://192.168.40.50/PS-804A7B-P1
State Idle
StateTime 1233242227
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job

and error_log for an offending job:

I [30/Jan/2009:09:06:59 -0600] Adding start banner page "none" to job 47361.
I [30/Jan/2009:09:06:59 -0600] Adding end banner page "none" to job 47361.
I [30/Jan/2009:09:06:59 -0600] Job 47361 queued on "dfx5kp-M" by "glewis".
I [30/Jan/2009:09:06:59 -0600] Started backend /usr/lib/cups/backend/lpd 
(PID 30049) for job 47361.
W [30/Jan/2009:09:07:06 -0600] [Job 47361] Remote host did not respond 
with command status byte after 300 seconds!
E [30/Jan/2009:09:07:06 -0600] PID 30049 (/usr/lib/cups/backend/lpd) 
stopped with status 1!
I [30/Jan/2009:09:07:06 -0600] Hint: Try setting the LogLevel to "debug" 
to find out more.
I [30/Jan/2009:09:07:06 -0600] [Job 47361] Backend returned status 1 
(failed)
I [30/Jan/2009:09:07:36 -0600] commptr="?FIRST=0&ORDER=asc"
I [30/Jan/2009:09:07:36 -0600] Started 
"/usr/lib/cups/cgi-bin/printers.cgi" (pid=30089)
I [30/Jan/2009:09:07:43 -0600] commptr=""
I [30/Jan/2009:09:07:43 -0600] Started "/usr/lib/cups/cgi-bin/jobs.cgi" 
(pid=30150)
I [30/Jan/2009:09:07:52 -0600] 
commptr="?op=release-job&job_id=47361&job_printer
_uri=/printers/dfx5kp-M"
I [30/Jan/2009:09:07:52 -0600] Started "/usr/lib/cups/cgi-bin/jobs.cgi" 
(pid=30177)
I [30/Jan/2009:09:07:52 -0600] Started backend /usr/lib/cups/backend/lpd 
(PID 30178) for job 47361.
I [30/Jan/2009:09:07:52 -0600] Job 47361 was released by "root".
I [30/Jan/2009:09:08:45 -0600] cupsdCloseClient: SSL shutdown successful!
I [30/Jan/2009:09:08:45 -0600] cupsdCloseClient: SSL shutdown successful!
I [30/Jan/2009:09:08:45 -0600] cupsdCloseClient: SSL shutdown successful!
I [30/Jan/2009:09:08:45 -0600] cupsdCloseClient: SSL shutdown successful!
I [30/Jan/2009:09:09:00 -0600] cupsdCloseClient: SSL shutdown successful!
I [30/Jan/2009:09:09:00 -0600] cupsdCloseClient: SSL shutdown successful!

Note: I received the message that the host did not respond after 300 
seconds only seven seconds after it was queued.

Gladly taking suggestions.

Thanks,
Joe




More information about the cups mailing list