[cups.general] spooler queue stops by themselve

Minatra, Pat H. pminatra at hsutx.edu
Wed May 7 10:25:36 PDT 2008

Our solution was to place a cron job that checks every ten minutes and restarts any queues that have been brought down by that very process of printers being turned off by the user.

HTH and have a GREAT day!

"Life is but a twinkle in the eye of eternity"
"The shortest distance between a problem and a solution is the distance between your knees and the floor"
"sorrow looks back - worry looks around - faith looks up"
Pat H. Minatra - N5GJR
(325) 670-5804 voice
(325) 670-1570 fax
Hardin-Simmons University           Datatel Colleague Support:
www.hsutx.edu                       GL, HR, AP, PR, PERSONNEL
PO BOX 16040                        OneCard Support:
Abilene, TX  79698                  SysAdmin, DBAdmin
-------------------------           -------------------------
The mission of Hardin-Simmons University is to be a community dedicated to providing excellence in education enlightened by Christian faith and values.
PRIVILEGED AND CONFIDENTIAL NOTICE: The information contained in this e-mail may be confidential and/or privileged. This e-mail is intended to be reviewed initially by only the individual named above. If the reader of this e-mail is not the intended recipient or a representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this e-mail, or the information contained herein, is prohibited. If you have received this e-mail in error, notify the above sender, send the message back and then delete it.
Thank you for your assistance. Hardin-Simmons University; 2200 Hickory/HSU Box 16040; Abilene, TX  79698; 325.670.1000

-----Original Message-----
From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of Jo Hobbit
Sent: Wednesday, May 07, 2008 12:11 PM
To: cups at easysw.com
Subject: [cups.general] spooler queue stops by themselve


if a printer is swiched off, after a period of time the spooler will shut down the queue.


 [Job 424] Unable to locate printer 'fooprn'!
 PID 7148 (/q60/cups/lib/cups/backend/ipp) stopped with status 4!
 Hint: Try setting the LogLevel to "debug" to find out more.
 [Job 424] Backend returned status 4 (stop printer)
 Saving printers.conf...

lpstat -p
 printer fooprn disabled since Wed 07 May 2008 03:31:06 PM CEST -
        Unable to locate printer 'fooprn'!

Users switch off printers when a paper jam occur or they change the toner. Restart the queue is an administative task. I will not get a phone call each time a printer is offline. Can I configure cups 1.3.7 that the queue not shuts down, similar like the behavior in 1.1.22 is.

I found only workarounds like the following script, which should be executed by cron:

 /bin/lpstat -p |grep -w disabled |while read d p r; do /sbin/cupsenable $p; done

I set the following parameters


 JobRetryinterval 30
 JobRetryLimit 9999
 ErrorPolicy retry-job

This have only an influence on current printed jobs. The queue is not stopped while a job is in processing. If the printer is switched off the backend waits until the printer goes online. The job will go to status completed while it is not printed completely or reprinted.


cups mailing list
cups at easysw.com

More information about the cups mailing list