FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-15-2008, 11:09 PM
Craig White
 
Default **** Cups restart

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

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 02-16-2008, 12:55 AM
david walcroft
 
Default **** Cups restart

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@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



Line 11 was "DefaultAuthType Xb9c"
I changed it to "DefaultAuthType Basic"


Ignore my post about losing this email, I found it in 'Trash'

david


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 12:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org