Queue is paused when printer is offline.

Helge Blischke H.Blischke at srz-berlin.de
Thu Nov 11 05:07:14 PST 2004


Anonymous wrote:
> 
> Urgent advice is needed.
> 
> I have 4 printers configured via CUPS server running on Debian Sarge.
> 
> One of the printers periodically is stops working (e.g printer is paused). Below is fragment of my /var/log/cups/error_...
> 
> I [11/Nov/2004:10:17:04 +1100] Job 595 queued on 'lostinspace' by 'hughes'.
> I [11/Nov/2004:10:17:04 +1100] Started filter /usr/lib/cups/filter/pstops (PID 26574) for job 595.
> I [11/Nov/2004:10:17:04 +1100] Started filter /usr/lib/cups/filter/foomatic-rip (PID 26575) for job 595.
> I [11/Nov/2004:10:17:04 +1100] Started backend /usr/lib/cups/backend/socket (PID 26576) for job 595.
> I [11/Nov/2004:10:17:06 +1100] Started filter /usr/lib/cups/filter/pstops (PID 26583) for job 595.
> I [11/Nov/2004:10:17:06 +1100] Started filter /usr/lib/cups/filter/foomatic-rip (PID 26584) for job 595.
> I [11/Nov/2004:10:17:06 +1100] Started backend /usr/lib/cups/backend/socket (PID 26585) for job 595.
> I [11/Nov/2004:10:18:41 +1100] Adding start banner page "standard" to job 596.
> I [11/Nov/2004:10:18:41 +1100] Adding end banner page "none" to job 596.
> I [11/Nov/2004:10:18:41 +1100] Job 596 queued on 'lostinspace' by 'hughes'.
> I [11/Nov/2004:10:18:41 +1100] Started filter /usr/lib/cups/filter/pstops (PID 26593) for job 596.
> I [11/Nov/2004:10:18:41 +1100] Started filter /usr/lib/cups/filter/foomatic-rip (PID 26594) for job 596.
> I [11/Nov/2004:10:18:41 +1100] Started backend /usr/lib/cups/backend/socket (PID 26595) for job 596.
> E [11/Nov/2004:10:24:36 +1100] [Job 596] Unable to send print file to printer: Connection reset by peer
> E [11/Nov/2004:10:24:36 +1100] PID 26595 stopped with status 1!
> I [11/Nov/2004:10:24:36 +1100] Hint: Try setting the LogLevel to "debug" to find out more.
> E [11/Nov/2004:10:24:36 +1100] PID 26594 stopped with status 9!
> I [11/Nov/2004:10:24:36 +1100] Hint: Try setting the LogLevel to "debug" to find out more.
> I [11/Nov/2004:10:24:36 +1100] Saving printers.conf...
> I [11/Nov/2004:10:33:09 +1100] Adding start banner page "standard" to job 597.
> I [11/Nov/2004:10:33:09 +1100] Adding end banner page "none" to job 597.
> I [11/Nov/2004:10:33:09 +1100] Job 597 queued on 'lostinspace' by 'hughes'.
> I [11/Nov/2004:10:33:55 +1100] Job 596 was cancelled by ''.
> I [11/Nov/2004:11:18:08 +1100] Job 597 was cancelled by ''.
> I [11/Nov/2004:11:54:02 +1100] Saving printers.conf...

Set the log level to debug or debug2 and re-run your job 596 to see what
happens.
The queue has been stopped because one opf the filters (foomatic-rip)
has exited
with status 9. That means that inside of this filter something went
severly wrong.
As a consequence, the socket backend exited with a nonzero returncode
and thus
the queue has been stopped.

Helge

PS: I just see that your may get debug ouput from foomatic-rip
individually
by changing the

my $debug = 0;

to

my $debug = 1;

It is in line 75 in my instance.
-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list