On 2/9/06, Nick Rout <[EMAIL PROTECTED]> wrote:
>
> On Thu, 9 Feb 2006 05:02:31 -0800
> Mark Knecht wrote:
>
> > On 2/9/06, Harry Putnam <[EMAIL PROTECTED]> wrote:
> > > Mark Knecht <[EMAIL PROTECTED]> writes:
> > >
> > > > Hi,
> > > > In the past I've been able to give root/password info when
> > > > configuring printers from within http://localhost:631 but now it no
> > > > longer works. This is true on both of our Gentoo machines.
> > > >
> > > > Has something changed about this in a recent update? I'm assuming
> > > > some recent update has botched things up.
> > > >
> > > > How do I get it enabled again so taht it asked for the admin
> > > > passowrd?
> > >
> > > You do have cupsd running when this happens eh?
> > >
> > > /etc/init.d/cupsd status to find out
> > > /etc/init.d/cupsd start to start it.
> >
> > Yes, CUPS is running:
> >
> > [EMAIL PROTECTED] ~ $ /etc/init.d/cupsd status
> > * status: started
> > [EMAIL PROTECTED] ~
>
> status does not always tell the truth. If cupsd had died an unnatural death,
> status would give the wrong answer. Try a /etc/init.d/cupsd restart and see
> what happens.
I thin you're onto something Nick. Exactly what I'm not sure. I've
re-emerged CUPS. The results don't seem very good:
lightning ~ # /etc/init.d/cupsd status
* status: started
lightning ~ # /etc/init.d/cupsd restart
* Re-caching dependency info (mtimes differ)...
* Stopping cupsd ...
[ !! ]lightning ~ # /etc/init.d/cupsd
restart
* Stopping cupsd ...
[ !! ]lightning ~ # /etc/init.d/cupsd
status
* status: started
lightning ~ # /etc/init.d/cupsd stop
* Stopping cupsd ...
[ !! ]lightning ~ # /etc/init.d/cupsd
status
* status: started
lightning ~ # /etc/init.d/cupsd start
* WARNING: "cupsd" has already been started.
lightning ~ # /etc/init.d/cupsd stop
* Stopping cupsd ...
[ !! ]lightning ~ # /etc/init.d/cupsd zap
* Manually resetting cupsd to stopped state.
lightning ~ # /etc/init.d/cupsd status
* status: stopped
lightning ~ # /etc/init.d/cupsd start
* Starting cupsd ...
cupsd: Child exited with status 98!
[ !! ]lightning ~ #
Clearly CUPS is not happy.......
The thing is that even in this strange state I can call up Firefox, go
to http://localhost:631 and I get the CUPS management stuff. How is
that possible if CUPS isn't running? The answer is that it's running
at least enough to have a process in memory:
lightning ~ # ps aux | grep cups
root 8015 0.0 0.1 17416 1876 ? Ss 11:08 0:01 /usr/sbin/cupsd
root 16662 0.0 0.0 2660 508 pts/0 R+ 16:27 0:00 grep cups
lightning ~ #
I don't understand.....clearly I don't understand.
thanks,
Mark
--
[email protected] mailing list