****Re: Cups restart ( Solved)

david walcroft d_j_w46 at bigpond.net.au
Sat Feb 16 02:25:54 UTC 2008


david walcroft wrote:
> Craig White wrote:
>> 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 at reddwarf ~]$ sudo service cups restart
>>>>>>> Stopping cups:                                             [FAILED]
>>>>>>> Starting cups: cupsd: Child exited with status 1!
>>>>>>>                                                            [FAILED]
>>>>>>> [david at 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 at reddwarf ~]$ sudo ps aux|grep cups
>>>>> david     7774  0.0  0.0   4044   676 pts/1    S+   09:19   0:00 
>>>>> grep cups
>>>>> [david at 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 at 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 at reddwarf ~]$
>>>     
>> ----
>> answer should be pretty obvious...
>>
>> edit /etc/cups/cupsd.conf
>>
>> line 11 should be...
>>
>> DefaultAuthType Basic
>>
>> Craig
>>
>>   
> Line 11 was "DefaultAuthType Xb9c"
> I changed it to "DefaultAuthType Basic"
>
>
> Ignore my post about losing this email, I found it in 'Trash'
>
> david
>
>

It seem that 'DefaultAuthType Basic' did the job as I am now printing again.
Thanks Craig. [Until the next time :-)) ]

  david




More information about the fedora-list mailing list