Cups daemon dies on some time of inactivity

Michael Sweet mike at easysw.com
Wed Aug 25 05:29:01 PDT 2004


Juergen Schroeder wrote:
> Hi!
> 
> I use cups on my Solaris and Linux server. 
> 
> On solaris 8: cups-1.1.21rc1 copiled by myself.
> On linux Suse 9.0 Kernel 2.4.21: cups-1.1.19 from suse
> 
> I  found  often that the Cups daemon dies some times silently, no output
> in any log.  My workaround has been to restart him with cron every hour,
> but today he has left 10 minutes after restart.
> 
> Here is the error_log:
> 
> I [25/Aug/2004:06:23:00 -0100] Listening to 0:631
> I [25/Aug/2004:06:23:00 -0100] Sending browsing info to 89f8dbff:631
> I [25/Aug/2004:06:23:00 -0100] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
> I [25/Aug/2004:06:23:00 -0100] Configured for up to 100 clients.
> I [25/Aug/2004:06:23:00 -0100] Allowing up to 100 client connections per host.
> I [25/Aug/2004:06:23:00 -0100] Full reload is required.
> I [25/Aug/2004:07:23:00 -0100] Listening to 0:631
> I [25/Aug/2004:07:23:00 -0100] Sending browsing info to 89f8dbff:631
> I [25/Aug/2004:07:23:00 -0100] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
> I [25/Aug/2004:07:23:00 -0100] Configured for up to 100 clients.
> I [25/Aug/2004:07:23:00 -0100] Allowing up to 100 client connections per host.
> I [25/Aug/2004:07:23:00 -0100] Full reload is required.
> I [25/Aug/2004:07:23:01 -0100] LoadPPDs: Read "/usr/local/etc/cups/ppds.dat", 13 PPDs...
> I [25/Aug/2004:07:23:01 -0100] LoadPPDs: No new or changed PPDs...
> I [25/Aug/2004:07:23:01 -0100] Full reload complete.
> I [25/Aug/2004:07:23:06 -0100] Added remote printer "a3-schroedj at swagger"...
> I [25/Aug/2004:07:23:06 -0100] Added remote printer "schroedj at swagger"...
> I [25/Aug/2004:07:23:12 -0100] Added remote printer "Epson_LX300"...
> I [25/Aug/2004:07:23:14 -0100] Added remote printer "Ortsleihe2"...
> I [25/Aug/2004:07:23:17 -0100] Added remote class "Ortsleihe"...
> I [25/Aug/2004:07:23:17 -0100] Added remote class "Ortsleihe at pcub52"...
> I [25/Aug/2004:07:23:17 -0100] Added implicit class "Ortsleihe"...
> I [25/Aug/2004:07:23:18 -0100] Added remote printer "unix at swagger"...
> I [25/Aug/2004:08:23:00 -0100] Listening to 0:631
> I [25/Aug/2004:08:23:00 -0100] Sending browsing info to 89f8dbff:631
> I [25/Aug/2004:08:23:00 -0100] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
> I [25/Aug/2004:08:23:00 -0100] Configured for up to 100 clients.
> I [25/Aug/2004:08:23:00 -0100] Allowing up to 100 client connections per host.
> I [25/Aug/2004:08:23:00 -0100] Full reload is required.
> ---------- dead, restartet by hand
> I [25/Aug/2004:08:31:00 -0100] Listening to 0:631
> I [25/Aug/2004:08:31:00 -0100] Sending browsing info to 89f8dbff:631
> I [25/Aug/2004:08:31:00 -0100] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
> I [25/Aug/2004:08:31:00 -0100] Configured for up to 100 clients.
> I [25/Aug/2004:08:31:00 -0100] Allowing up to 100 client connections per host.
> I [25/Aug/2004:08:31:00 -0100] Full reload is required.
> I [25/Aug/2004:08:31:00 -0100] LoadPPDs: Read "/usr/local/etc/cups/ppds.dat", 13 PPDs...
> I [25/Aug/2004:08:31:00 -0100] LoadPPDs: No new or changed PPDs...
> I [25/Aug/2004:08:31:00 -0100] Full reload complete.
> I [25/Aug/2004:08:31:06 -0100] Added remote printer "Ortsleihe2"...
> I [25/Aug/2004:08:31:20 -0100] Started "/usr/local/lib/cups/cgi-bin/printers.cgi" (pid=12823)
> I [25/Aug/2004:08:31:23 -0100] Added remote printer "Epson_LX300"...
> I [25/Aug/2004:08:31:27 -0100] Added remote class "Ortsleihe"...
> I [25/Aug/2004:08:31:29 -0100] Added remote class "Ortsleihe at pica-print2"...
> I [25/Aug/2004:08:31:29 -0100] Added implicit class "Ortsleihe"...
> I [25/Aug/2004:08:31:30 -0100] Added remote printer "unix at swagger"...
> I [25/Aug/2004:08:50:02 -0100] Added remote printer "a3-schroedj at swagger"...
> I [25/Aug/2004:08:50:02 -0100] Added remote printer "schroedj at swagger"...
> 
> Problem  is  that i had software which uses "lpr -r -P printer file", so
> the files are deteted but not spooled!
> 
> Is this problem known?

Nope.  Can you run cupsd in a debugger (use the "-f" option when you
run it) or use truss/strace to see what it happening in the
scheduler?

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Printing Software for UNIX                       http://www.easysw.com




More information about the cups mailing list