On Thursday 09 February 2006 05:41 pm, Mark Knecht wrote:
> On 2/9/06, Manuel McLure <[EMAIL PROTECTED]> wrote:
> > Mark Knecht wrote:
> > > Hi Brett,
> > >    Yes, I zapped it and tried restarting it but I get complaints.
> >
> > Try
> >
> > pgrep cupsd
> >
> > and see if there's a PID listed. If so, do
> >
> > pkill cupsd
> > /etc/init.d/cupsd zap
> > /etc/init.d/cupsd start
>
> Good so far:
>
> [EMAIL PROTECTED] ~ $ su -
> Password:
> lightning ~ # pgrep cupsd
> 8015
> lightning ~ # pkill cupsd
> lightning ~ # /etc/init.d/cupsd zap
> lightning ~ # /etc/init.d/cupsd start
>  * Starting cupsd ...                                                     [
> ok ] lightning ~ #
>
> I then go to http://localhost:631 and choose Manage Printers. I see
> both printers which are on the network. One is on my son's FC2
> machine, and is currently default. I also see the printer on the Mac.
> I clock on the Mac printer's 'Set as default' button. I'm taken to a
> page that says:
>
> Forbidden
> You don't have permission to access the resource on this server.
>
> This doesn't happen on the 'Print Test page' button. That one
> correctly sends a test page to each printer. However all other buttons
> result in the message above. The used to allow me to type in a
> password and do what I needed.
>
> I'm still quite concerned that the cupsd config files are hosed. As
> I've said there is nothing in the printers.conf file except a couple
> of header lines.

Wait - are these printers physically on this machine? Or are they on a CUPS 
server on another box? You can only manage local printers using localhost:631 
- if they're on a remote box you'll have to do remotebox:631 to manage them.

As a test, try the "Add Printer" button at the bottom of the list of printers. 
If that asks you for a username/password, then that's what the problem is.

I'm supposing that during all of this you've exited and restarted your browser 
at least once - otherwise the browser may be sending expired credentials.

Note that if you don't have any local printers, you don't need to run cupsd to 
access them. All you need is to enter the hostname of your CUPS server in the 
ServerName parameter in /etc/cups/client.conf. Any cups-aware app will use 
the printers advertised by that server. 

-- 
Manuel A. McLure KE6TAW <[EMAIL PROTECTED]> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft
-- 
gentoo-user@gentoo.org mailing list

Reply via email to