On Sat, 2008-02-16 at 09:45 +1000, david walcroft wrote: > Craig White wrote: > > On Sat, 2008-02-16 at 09:30 +1000, david walcroft wrote: > > > >> Craig White wrote: > >> > >>> On Sat, 2008-02-16 at 09:05 +1000, david walcroft wrote: > >>> > >>> > >>>> I'm trying to restart cupsd but get this error, > >>>> > >>>> [david@reddwarf ~]$ sudo service cups restart > >>>> Stopping cups: [FAILED] > >>>> Starting cups: cupsd: Child exited with status 1! > >>>> [FAILED] > >>>> [david@reddwarf ~]$ > >>>> > >>>> How do I kill a child. > >>>> > >>>> > >>> ---- > >>> sounds bad...don't ask it that way. > >>> > >>> ps aux|grep cups > >>> > >>> Is there something running? > >>> > >>> Haven't we been down this path before? > >>> > >>> Craig > >>> > >>> > >>> > >> Yes Craig we have visited a cups problem a month or so ago, > >> Cups worked well until a large update down loaded then printing > >> stopped. > >> > >> [david@reddwarf ~]$ sudo ps aux|grep cups > >> david 7774 0.0 0.0 4044 676 pts/1 S+ 09:19 0:00 grep cups > >> [david@reddwarf ~]$ > >> > >> I looked through 'ps aux' and didn't find anything (not that means anything) > >> of a cups child. > >> > > ---- > > let's look at cups/error_log then. > > > > tail -n 30 /var/log/cups/error_log > > > > Craig > > > > > This error log is yesterdays and none for today although I have tried > printing today. > [david@reddwarf ~]$ sudo tail -n 30 /var/log/cups/error_log > D [15/Feb/2008:20:46:24 +1000] cupsdAcceptClient: 10 from localhost (Domain) > D [15/Feb/2008:20:46:24 +1000] cupsdReadClient: 10 PUT > /admin/conf/cupsd.conf HTTP/1.1 > D [15/Feb/2008:20:46:24 +1000] cupsdAuthorize: Authorized as root using > Local > D [15/Feb/2008:20:46:24 +1000] cupsdIsAuthorized: username="root" > I [15/Feb/2008:20:46:24 +1000] Installing config file > "/etc/cups/cupsd.conf"... > D [15/Feb/2008:20:46:24 +1000] cupsdSendError: 10 code=201 (Created) > D [15/Feb/2008:20:46:24 +1000] cupsdCloseClient: 10 > D [15/Feb/2008:20:46:24 +1000] [CGI] lang="en_AU.UTF8", locale="/en_AU"... > D [15/Feb/2008:20:46:24 +1000] [CGI] lang="en_AU.UTF8", locale="/en_AU"... > D [15/Feb/2008:20:46:24 +1000] [CGI] lang="en_AU.UTF8", locale="/en_AU"... > D [15/Feb/2008:20:46:24 +1000] cupsdCloseClient: 8 > D [15/Feb/2008:20:46:24 +1000] Saving remote.cache... > I [15/Feb/2008:20:46:24 +1000] Listening to :::631 (IPv6) > I [15/Feb/2008:20:46:24 +1000] Listening to 0.0.0.0:631 (IPv4) > I [15/Feb/2008:20:46:24 +1000] Listening to /var/run/cups/cups.sock (Domain) > W [15/Feb/2008:20:46:24 +1000] Unknown default authorization type Xb?c > on line 11. > E [15/Feb/2008:20:46:24 +1000] Scheduler shutting down due to program error. > I [15/Feb/2008:20:46:24 +1000] Saving job cache file > "/var/cache/cups/job.cache"... > I [15/Feb/2008:20:49:37 +1000] Listening to :::631 (IPv6) > I [15/Feb/2008:20:49:37 +1000] Listening to 0.0.0.0:631 (IPv4) > I [15/Feb/2008:20:49:37 +1000] Listening to /var/run/cups/cups.sock (Domain) > W [15/Feb/2008:20:49:37 +1000] Unknown default authorization type Xb?c > on line 11. > I [15/Feb/2008:20:55:37 +1000] Listening to :::631 (IPv6) > I [15/Feb/2008:20:55:37 +1000] Listening to 0.0.0.0:631 (IPv4) > I [15/Feb/2008:20:55:37 +1000] Listening to /var/run/cups/cups.sock (Domain) > W [15/Feb/2008:20:55:37 +1000] Unknown default authorization type Xb?c > on line 11. > I [15/Feb/2008:20:57:39 +1000] Listening to :::631 (IPv6) > I [15/Feb/2008:20:57:39 +1000] Listening to 0.0.0.0:631 (IPv4) > I [15/Feb/2008:20:57:39 +1000] Listening to /var/run/cups/cups.sock (Domain) > W [15/Feb/2008:20:57:39 +1000] Unknown default authorization type Xb?c > on line 11. > [david@reddwarf ~]$ ---- answer should be pretty obvious... edit /etc/cups/cupsd.conf line 11 should be... DefaultAuthType Basic Craig