public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] CUPS not allowing configuration from browser
@ 2006-02-09  3:37 Mark Knecht
  2006-02-09 11:38 ` [gentoo-user] " Harry Putnam
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Knecht @ 2006-02-09  3:37 UTC (permalink / raw
  To: gentoo-user

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?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user]  Re: CUPS not allowing configuration from browser
  2006-02-09  3:37 [gentoo-user] CUPS not allowing configuration from browser Mark Knecht
@ 2006-02-09 11:38 ` Harry Putnam
  2006-02-09 13:02   ` Mark Knecht
  0 siblings, 1 reply; 7+ messages in thread
From: Harry Putnam @ 2006-02-09 11:38 UTC (permalink / raw
  To: gentoo-user

Mark Knecht <markknecht@gmail.com> 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.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: CUPS not allowing configuration from browser
  2006-02-09 11:38 ` [gentoo-user] " Harry Putnam
@ 2006-02-09 13:02   ` Mark Knecht
  2006-02-09 13:18     ` Jean Magnan de Bornier
                       ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mark Knecht @ 2006-02-09 13:02 UTC (permalink / raw
  To: gentoo-user

On 2/9/06, Harry Putnam <reader@newsguy.com> wrote:
> Mark Knecht <markknecht@gmail.com> 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:

mark@dragonfly ~ $ /etc/init.d/cupsd status
 * status:  started
mark@dragonfly ~ $

It used to be that if I was in Firefox and tried to do something that
required administrator privileges then CUPS/Frefox popped up a dialog
box, I typed in root and root's password, and I was able to make the
change I needed.

It is no longer working on both of our machines and I cannot configure CUPS.

Also, and I find this VERY strange, but the printers we had configured
are still there and I can still print to them, but they are no longer
in printers.conf. How can I have printers working if they are not in
printers.conf? Has Gnome taken all this stuff over and hidden it from
me?

dragonfly ~ # cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.1.23
# Written by cupsd on Fri Feb  3 21:26:10 2006
dragonfly ~ #

Since there's a date of Feb. 3rd in this file I had been assuming
something happened at that time, but I don't know that's when this
problem specifically happened. I looked at /var/log/emerge and nothing
was emerged on that day. I had emerges on Jan. 30th, and then again on
Feb. 5th.

I don't get it.

Thanks for answering.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: CUPS not allowing configuration from browser
  2006-02-09 13:02   ` Mark Knecht
@ 2006-02-09 13:18     ` Jean Magnan de Bornier
  2006-02-09 13:32     ` Sarpy Sam
  2006-02-09 22:12     ` Nick Rout
  2 siblings, 0 replies; 7+ messages in thread
From: Jean Magnan de Bornier @ 2006-02-09 13:18 UTC (permalink / raw
  To: gentoo-user

Le 09 février à 14:02:31 Mark Knecht <markknecht@gmail.com> écrit notamment:

| On 2/9/06, Harry Putnam <reader@newsguy.com> wrote:
| > Mark Knecht <markknecht@gmail.com> 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.
| > >


Well on my system (quite up to date), everything as usual for cups admin
tasks, tested with w3m or firefox...

[...]

this is no help, just information :-(
-- 
Jean

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: CUPS not allowing configuration from browser
  2006-02-09 13:02   ` Mark Knecht
  2006-02-09 13:18     ` Jean Magnan de Bornier
@ 2006-02-09 13:32     ` Sarpy Sam
  2006-02-09 22:12     ` Nick Rout
  2 siblings, 0 replies; 7+ messages in thread
From: Sarpy Sam @ 2006-02-09 13:32 UTC (permalink / raw
  To: gentoo-user

On 2/9/06, Mark Knecht <markknecht@gmail.com> wrote:
> On 2/9/06, Harry Putnam <reader@newsguy.com> wrote:
> > Mark Knecht <markknecht@gmail.com> 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:
>
> mark@dragonfly ~ $ /etc/init.d/cupsd status
>  * status:  started
> mark@dragonfly ~ $
>
> It used to be that if I was in Firefox and tried to do something that
> required administrator privileges then CUPS/Frefox popped up a dialog
> box, I typed in root and root's password, and I was able to make the
> change I needed.
>
> It is no longer working on both of our machines and I cannot configure CUPS.
>
> Also, and I find this VERY strange, but the printers we had configured
> are still there and I can still print to them, but they are no longer
> in printers.conf. How can I have printers working if they are not in
> printers.conf? Has Gnome taken all this stuff over and hidden it from
> me?
>
> dragonfly ~ # cat /etc/cups/printers.conf
> # Printer configuration file for CUPS v1.1.23
> # Written by cupsd on Fri Feb  3 21:26:10 2006
> dragonfly ~ #
>
> Since there's a date of Feb. 3rd in this file I had been assuming
> something happened at that time, but I don't know that's when this
> problem specifically happened. I looked at /var/log/emerge and nothing
> was emerged on that day. I had emerges on Jan. 30th, and then again on
> Feb. 5th.
>
> I don't get it.
>
> Thanks for answering.
>
I am not saying it will work but I had a problem like this one time
and I fianlly had to re-emerge cups to fix the problem.  How that
fixed it I don't know, but it did.  I was allowed in again.

Kirby

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: CUPS not allowing configuration from browser
  2006-02-09 13:02   ` Mark Knecht
  2006-02-09 13:18     ` Jean Magnan de Bornier
  2006-02-09 13:32     ` Sarpy Sam
@ 2006-02-09 22:12     ` Nick Rout
  2006-02-10  0:27       ` Mark Knecht
  2 siblings, 1 reply; 7+ messages in thread
From: Nick Rout @ 2006-02-09 22:12 UTC (permalink / raw
  To: gentoo-user


On Thu, 9 Feb 2006 05:02:31 -0800
Mark Knecht wrote:

> On 2/9/06, Harry Putnam <reader@newsguy.com> wrote:
> > Mark Knecht <markknecht@gmail.com> 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:
> 
> mark@dragonfly ~ $ /etc/init.d/cupsd status
>  * status:  started
> mark@dragonfly ~ 

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.
$
> 
> It used to be that if I was in Firefox and tried to do something that
> required administrator privileges then CUPS/Frefox popped up a dialog
> box, I typed in root and root's password, and I was able to make the
> change I needed.
> 
> It is no longer working on both of our machines and I cannot configure CUPS.
> 
> Also, and I find this VERY strange, but the printers we had configured
> are still there and I can still print to them, but they are no longer
> in printers.conf. How can I have printers working if they are not in
> printers.conf? Has Gnome taken all this stuff over and hidden it from
> me?
> 
> dragonfly ~ # cat /etc/cups/printers.conf
> # Printer configuration file for CUPS v1.1.23
> # Written by cupsd on Fri Feb  3 21:26:10 2006
> dragonfly ~ #
> 
> Since there's a date of Feb. 3rd in this file I had been assuming
> something happened at that time, but I don't know that's when this
> problem specifically happened. I looked at /var/log/emerge and nothing
> was emerged on that day. I had emerges on Jan. 30th, and then again on
> Feb. 5th.
> 
> I don't get it.
> 
> Thanks for answering.
> 
> Cheers,
> Mark
> 
> -- 
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: CUPS not allowing configuration from browser
  2006-02-09 22:12     ` Nick Rout
@ 2006-02-10  0:27       ` Mark Knecht
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Knecht @ 2006-02-10  0:27 UTC (permalink / raw
  To: gentoo-user

On 2/9/06, Nick Rout <nick@rout.co.nz> wrote:
>
> On Thu, 9 Feb 2006 05:02:31 -0800
> Mark Knecht wrote:
>
> > On 2/9/06, Harry Putnam <reader@newsguy.com> wrote:
> > > Mark Knecht <markknecht@gmail.com> 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:
> >
> > mark@dragonfly ~ $ /etc/init.d/cupsd status
> >  * status:  started
> > mark@dragonfly ~
>
> 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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-02-10  0:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09  3:37 [gentoo-user] CUPS not allowing configuration from browser Mark Knecht
2006-02-09 11:38 ` [gentoo-user] " Harry Putnam
2006-02-09 13:02   ` Mark Knecht
2006-02-09 13:18     ` Jean Magnan de Bornier
2006-02-09 13:32     ` Sarpy Sam
2006-02-09 22:12     ` Nick Rout
2006-02-10  0:27       ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox