cupsd: Child exited on signal 11! cups: unableto start scheduler.

ed smith ed.smith at mcquay.com
Thu Oct 15 13:13:36 PDT 2009


Well, we dont seem to have gdb (I believe adb is the equiv, but it doesnt understand "run -f") on our solaris boxes, but in the meantime I ran an apptrace, which tracks lib calls. maybe this will help while I fumble...
Thanks,
Ed S
##########################
apptrace
##########################
root at usclsmcq005/usr/bin> apptrace /usr/sbin/cupsd
-> cupsd    -> libc.so.1:int atexit(int (*)() = 0xff3c558c)
<- cupsd    -> libc.so.1:atexit()
-> cupsd    -> libc.so.1:int atexit(int (*)() = 0x135a74)
<- cupsd    -> libc.so.1:atexit()
-> cupsd    -> libcups.so.2:_cupsStrAlloc(0x146bdc, 0x0, 0x0) ** NR
-> cupsd    -> libc.so.1:int (*)() sigset(int = 0x10, int (*)() = 0x4d594)
<- cupsd    -> libc.so.1:sigset()
-> cupsd    -> libc.so.1:int (*)() sigset(int = 0x12, int (*)() = 0x4d594)
<- cupsd    -> libc.so.1:sigset()
-> cupsd    -> libc.so.1:int (*)() sigset(int = 0x1, int (*)() = 0x1)
<- cupsd    -> libc.so.1:sigset()
-> cupsd    -> libc.so.1:pid_t fork(void)
<- cupsd    -> libc.so.1:fork()
-> cupsd    -> libc.so.1:chdir(0x146c48, 0x1, 0x12ac00) ** NR
-> cupsd    -> libc.so.1:getrlimit64(0x4, 0xffbff2d8, 0x12ac00) ** NR
-> cupsd    -> libc.so.1:setrlimit64(0x4, 0xffbff2d8, 0x12ac00) ** NR
-> cupsd    -> libc.so.1:pid_t setsid(void)
<- cupsd    -> libc.so.1:setsid() = 0x50cc
-> cupsd    -> libc.so.1:getrlimit64(0x5, 0xffbff2d8, 0x12ac00) ** NR
-> cupsd    -> libc.so.1:int close(int = 0x0)
<- cupsd    -> libc.so.1:close()
-> cupsd    -> libc.so.1:int close(int = 0x1)
<- cupsd    -> libc.so.1:close()
-> cupsd    -> libc.so.1:int close(int = 0x2)
<- cupsd    -> libc.so.1:fork() = 0x50cc
-> cupsd    -> libc.so.1:unsigned sleep(unsigned = 0x1)
<- cupsd    -> libc.so.1:sleep()
-> cupsd    -> libc.so.1:unsigned sleep(unsigned = 0x1)
<- cupsd    -> libc.so.1:sleep()
-> cupsd    -> libc.so.1:unsigned sleep(unsigned = 0x1)
<- cupsd    -> libc.so.1:sleep()
-> cupsd    -> libc.so.1:unsigned sleep(unsigned = 0x1)
<- cupsd    -> libc.so.1:sleep()
-> cupsd    -> libc.so.1:unsigned sleep(unsigned = 0x1)
<- cupsd    -> libc.so.1:sleep()
-> cupsd    -> libc.so.1:unsigned sleep(unsigned = 0x1)
<- cupsd    -> libc.so.1:sleep()
-> cupsd    -> libc.so.1:unsigned sleep(unsigned = 0x1)
<- cupsd    -> libc.so.1:sleep()
-> cupsd    -> libc.so.1:unsigned sleep(unsigned = 0x1)
<- cupsd    -> libc.so.1:sleep()
-> cupsd    -> libc.so.1:unsigned sleep(unsigned = 0x1)
<- cupsd    -> libc.so.1:sleep()
-> cupsd    -> libc.so.1:unsigned sleep(unsigned = 0x1)
<- cupsd    -> libc.so.1:sleep()
-> cupsd    -> libc.so.1:pid_t wait(int * = 0xffbff2ec)
<- cupsd    -> libc.so.1:wait() = 0x50cc
-> cupsd    -> libc.so.1:int fprintf(FILE * = 0x18c2f8, const char * = 0x146c24 "cupsd: Child exited on signal %d!
", void * = 0xb, ...)
cupsd: Child exited on signal 11!
<- cupsd    -> libc.so.1:fprintf() = 0x22
-> cupsd    -> libc.so.1:exit(0x3, 0xffed5334, 0x1424) ** NR


########################
end of apptrace
#########################

> Run cupsd in gdb/dbx as root:
>
>     gdb /usr/sbin/cupsd
>     run -f
>     where
>
> On Oct 15, 2009, at 10:24 AM, ed smith wrote:
>
> > Greetings,
> > Running version CUPS 1.2.6-r6061 on Solaris 10 Generic_127111-11.
> > CUPS had been running fine for several months. No upgrades.
> > Booted system a Oct 13, cupds wont come up now. Err Msg in subject
> > line.
> > 1) verified existence of tmp directory in /var/spool/cups
> > 2) also removed all print jobs from /var/spool/cups. no change.
> >
> > Two excerpts of error_log follow, 1.no jobs in Q  2.jobs in Q
> > ****************************************************************
> > Excerpt OF /var/log/cups/error_log (with jobs in Q):
> > ****************************************************************
> >
> > I [15/Oct/2009:11:56:38 +0600] Listening to :::631 (IPv6)
> > I [15/Oct/2009:11:56:38 +0600] Listening to 0.0.0.0:631 (IPv4)
> > D [15/Oct/2009:11:56:38 +0600] cupsdDenyIP(loc=192898(/),
> > address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0)
> > W [15/Oct/2009:11:56:38 +0600] "AuthClass Anonymous" is deprecated;
> > consider removing it from line 761.
> > D [15/Oct/2009:11:56:38 +0600] cupsdDenyIP(loc=192988(/classes),
> > address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0)
> > W [15/Oct/2009:11:56:38 +0600] "AuthClass Anonymous" is deprecated;
> > consider removing it from line 771.
> > D [15/Oct/2009:11:56:38 +0600] cupsdDenyIP(loc=19dbb8(/jobs),
> > address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0)
> > W [15/Oct/2009:11:56:38 +0600] "AuthClass Anonymous" is deprecated;
> > consider removing it from line 788.
> > D [15/Oct/2009:11:56:38 +0600] cupsdDenyIP(loc=19dc60(/printers),
> > address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0)
> > W [15/Oct/2009:11:56:38 +0600] "AuthClass Anonymous" is deprecated;
> > consider removing it from line 798.
> > D [15/Oct/2009:11:56:38 +0600] cupsdDenyIP(loc=19dd08(/admin),
> > address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0)
> > W [15/Oct/2009:11:56:38 +0600] "AuthClass User" is deprecated;
> > consider using "Require valid-user" on line 810.
> > I [15/Oct/2009:11:56:38 +0600] Loaded configuration file "/etc/cups/
> > cupsd.conf"
> > N [15/Oct/2009:11:56:38 +0600] Group and SystemGroup cannot use the
> > same groups!
> > I [15/Oct/2009:11:56:38 +0600] Resetting Group to "nobody"...
> > I [15/Oct/2009:11:56:38 +0600] Using default TempDir of /var/spool/
> > cups/tmp...
> > I [15/Oct/2009:11:56:38 +0600] Cleaning out old temporary files in "/
> > var/spool/cups/tmp"...
> > I [15/Oct/2009:11:56:38 +0600] Configured for up to 750 clients.
> > I [15/Oct/2009:11:56:38 +0600] Allowing up to 750 client connections
> > per host.
> > I [15/Oct/2009:11:56:38 +0600] Creating CUPS default administrative
> > policy:
> > I [15/Oct/2009:11:56:38 +0600] <Policy default>
> > I [15/Oct/2009:11:56:38 +0600] <Limit Send-Document Send-URI Cancel-
> > Job Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes
> > Create-Job-Subscriptio
> > n Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-
> > Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job
> > CUPS-Authenticate-Jo
> > b>
> > I [15/Oct/2009:11:56:38 +0600] Order Deny,Allow
> > I [15/Oct/2009:11:56:38 +0600] Require user @OWNER @SYSTEM
> > I [15/Oct/2009:11:56:38 +0600] </Limit>
> > I [15/Oct/2009:11:56:38 +0600] <Limit Pause-Printer Resume-Printer
> > Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-
> > After-Current-Job Hold
> > -New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer
> > Restart-Printer Shutdown-Printer Startup-Printer Promote-Job
> > Schedule-Job-After CUPS-Add-
> > Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-
> > Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
> > I [15/Oct/2009:11:56:38 +0600] Order Deny,Allow
> > I [15/Oct/2009:11:56:38 +0600] AuthType Basic
> > I [15/Oct/2009:11:56:38 +0600] Require user @SYSTEM
> > I [15/Oct/2009:11:56:38 +0600] </Limit>
> > I [15/Oct/2009:11:56:38 +0600] <Limit All>
> > I [15/Oct/2009:11:56:38 +0600] Order Deny,Allow
> > I [15/Oct/2009:11:56:38 +0600] </Limit>
> > I [15/Oct/2009:11:56:38 +0600] </Policy>
> > I [15/Oct/2009:11:56:38 +0600] Full reload is required.
> > I [15/Oct/2009:11:56:38 +0600] Loaded MIME database from '/etc/
> > cups': 35 types, 39 filters...
> > D [15/Oct/2009:11:56:38 +0600] Loading printer AUB_3860...
> > <my note: loads bunch of printers>
> > D [15/Oct/2009:11:56:38 +0600] Loading printer SVC_was...
> > D [15/Oct/2009:11:56:38 +0600] Loading printer SVC_was2...
> > D [15/Oct/2009:11:56:38 +0600] Scanning /var/spool/cups for jobs...
> > D [15/Oct/2009:11:56:38 +0600] Loading attributes for job 29280...
> > D [15/Oct/2009:11:56:39 +0600] Auto-typing document file "/var/spool/
> > cups/d29280-001"...
> > D [15/Oct/2009:11:56:39 +0600] Unloading job 29280...
> > ..
> > D [15/Oct/2009:11:56:43 +0600] Loading attributes for job 29279...
> > D [15/Oct/2009:11:56:43 +0600] Auto-typing document file "/var/spool/
> > cups/d29279-001"...
> > D [15/Oct/2009:11:56:43 +0600] Unloading job 29279...
> > D [15/Oct/2009:11:56:43 +0600] Loading attributes for job 29281...
> > D [15/Oct/2009:11:56:43 +0600] Auto-typing document file "/var/spool/
> > cups/d29281-001"...
> > D [15/Oct/2009:11:56:43 +0600] Unloading job 29281...
> > I [15/Oct/2009:11:56:43 +0600] Loading NextJobId from job cache file
> > "/var/cache/cups/job.cache"...
> >
> > <last line in error_log file for this attempt>
> >
> > ******************************************************************
> > Emptied /var/spool/cups; excerpt from /var/log/cups/error_log (empty
> > queue):
> > ******************************************************************
> >
> > I [15/Oct/2009:11:36:32 +0600] Listening to :::631 (IPv6)
> > I [15/Oct/2009:11:36:32 +0600] Listening to 0.0.0.0:631 (IPv4)
> > D [15/Oct/2009:11:36:32 +0600] cupsdDenyIP(loc=192898(/),
> > address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0)
> > W [15/Oct/2009:11:36:32 +0600] "AuthClass Anonymous" is deprecated;
> > consider removing it from line 761.
> > D [15/Oct/2009:11:36:32 +0600] cupsdDenyIP(loc=192988(/classes),
> > address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0)
> > W [15/Oct/2009:11:36:32 +0600] "AuthClass Anonymous" is deprecated;
> > consider removing it from line 771.
> > D [15/Oct/2009:11:36:32 +0600] cupsdDenyIP(loc=19dbb8(/jobs),
> > address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0)
> > W [15/Oct/2009:11:36:32 +0600] "AuthClass Anonymous" is deprecated;
> > consider removing it from line 788.
> > D [15/Oct/2009:11:36:32 +0600] cupsdDenyIP(loc=19dc60(/printers),
> > address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0)
> > W [15/Oct/2009:11:36:32 +0600] "AuthClass Anonymous" is deprecated;
> > consider removing it from line 798.
> > D [15/Oct/2009:11:36:32 +0600] cupsdDenyIP(loc=19dd08(/admin),
> > address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0)
> > W [15/Oct/2009:11:36:32 +0600] "AuthClass User" is deprecated;
> > consider using "Require valid-user" on line 810.
> > I [15/Oct/2009:11:36:32 +0600] Loaded configuration file "/etc/cups/
> > cupsd.conf"
> > N [15/Oct/2009:11:36:32 +0600] Group and SystemGroup cannot use the
> > same groups!
> > I [15/Oct/2009:11:36:32 +0600] Resetting Group to "nobody"...
> > I [15/Oct/2009:11:36:32 +0600] Using default TempDir of /var/spool/
> > cups/tmp...
> > I [15/Oct/2009:11:36:32 +0600] Cleaning out old temporary files in "/
> > var/spool/cups/tmp"...
> > I [15/Oct/2009:11:36:32 +0600] Configured for up to 750 clients.
> > I [15/Oct/2009:11:36:32 +0600] Allowing up to 750 client connections
> > per host.
> > I [15/Oct/2009:11:36:32 +0600] Creating CUPS default administrative
> > policy:
> > I [15/Oct/2009:11:36:32 +0600] <Policy default>
> > I [15/Oct/2009:11:36:32 +0600] <Limit Send-Document Send-URI Cancel-
> > Job Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes
> > Create-Job-Subscriptio
> > n Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-
> > Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job
> > CUPS-Authenticate-Jo
> > b>
> > I [15/Oct/2009:11:36:32 +0600] Order Deny,Allow
> > I [15/Oct/2009:11:36:32 +0600] Require user @OWNER @SYSTEM
> > I [15/Oct/2009:11:36:32 +0600] </Limit>
> > I [15/Oct/2009:11:36:32 +0600] <Limit Pause-Printer Resume-Printer
> > Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-
> > After-Current-Job Hold
> > -New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer
> > Restart-Printer Shutdown-Printer Startup-Printer Promote-Job
> > Schedule-Job-After CUPS-Add-
> > Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-
> > Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
> > I [15/Oct/2009:11:36:32 +0600] Order Deny,Allow
> > I [15/Oct/2009:11:36:32 +0600] AuthType Basic
> > I [15/Oct/2009:11:36:32 +0600] Require user @SYSTEM
> > I [15/Oct/2009:11:36:32 +0600] </Limit>
> > I [15/Oct/2009:11:36:32 +0600] <Limit All>
> > I [15/Oct/2009:11:36:32 +0600] Order Deny,Allow
> > I [15/Oct/2009:11:36:32 +0600] </Limit>
> > I [15/Oct/2009:11:36:32 +0600] </Policy>
> > I [15/Oct/2009:11:36:32 +0600] Full reload is required.
> > I [15/Oct/2009:11:36:32 +0600] Loaded MIME database from '/etc/
> > cups': 35 types, 39 filters...
> >
> > (my note: loading printers)
> > D [15/Oct/2009:11:36:32 +0600] Loading printer SVC_was...
> > D [15/Oct/2009:11:36:32 +0600] Loading printer SVC_was2...
> > D [15/Oct/2009:11:36:32 +0600] Scanning /var/spool/cups for jobs...
> > I [15/Oct/2009:11:36:32 +0600] Loading NextJobId from job cache file
> > "/var/cache/cups/job.cache"...
> >
> > <last line in file for this attempt>
> >
> > Urgent there are hundreds of printers and users on this system.
> > thanks for your attetntion.
> > Ed Smith
> > _______________________________________________
> > cups mailing list
> > cups at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups
>
> ___________________________________________________
> Michael Sweet, Senior Printing System Engineer
>
>
>





More information about the cups mailing list