* [gentoo-user] CUPS server cannot be contacted
@ 2006-09-14 15:30 Mark Knecht
2006-09-14 21:14 ` darren kirby
0 siblings, 1 reply; 4+ messages in thread
From: Mark Knecht @ 2006-09-14 15:30 UTC (permalink / raw
To: gentoo-user
Hi,
I decided I wanted to sell my Mac Mini as it's turned out to be
nothing but a glorified print server. (No one uses it including me.)
Anyway, I'm trying to move my HP printer from the Mac to my Gentoo box
using the Gentoo Printing Guide:
http://www.gentoo.org/doc/en/printing-howto.xml
The printer is hooked up and I can print test pages from my local
machine using the CUPS admin page in Firefox. However, when I open a
terminal and type lpq I have problems:
lightning ~ # lpq
lpq: Unable to contact server!
lightning ~ #
and inside of an app like Open Office I don't see the printer. It just
says Generic Printer. If I try the Printer Admin app in Gnome it says
the CUPS server cannot be contacted.
The two changes I've tried in /etc/cups/cupsd.conf, as per the guide, are:
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.68.1.*
</Location>
and this
#Port 631
Port localhost:631
or this
Port 631
#Port localhost:631
It seems I must be missing something obvious. I have restarted cupsd
after each config file change but nothing helps yet.
Where do I look to get info to help fix this up?
Thanks,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] CUPS server cannot be contacted
2006-09-14 15:30 [gentoo-user] CUPS server cannot be contacted Mark Knecht
@ 2006-09-14 21:14 ` darren kirby
2006-09-15 1:02 ` Mark Knecht
0 siblings, 1 reply; 4+ messages in thread
From: darren kirby @ 2006-09-14 21:14 UTC (permalink / raw
To: gentoo-user
quoth the Mark Knecht:
> and this
>
> #Port 631
> Port localhost:631
>
> or this
>
> Port 631
> #Port localhost:631
Which of these do you have in your file? I found just yesterday that
Port 631
will work while:
Port localhost:631
does not...
HTH
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] CUPS server cannot be contacted
2006-09-14 21:14 ` darren kirby
@ 2006-09-15 1:02 ` Mark Knecht
[not found] ` <200609141839.21894.bulliver@badcomputer.org>
0 siblings, 1 reply; 4+ messages in thread
From: Mark Knecht @ 2006-09-15 1:02 UTC (permalink / raw
To: gentoo-user
On 9/14/06, darren kirby <bulliver@badcomputer.org> wrote:
> quoth the Mark Knecht:
> > and this
> >
> > #Port 631
> > Port localhost:631
> >
> > or this
> >
> > Port 631
> > #Port localhost:631
>
> Which of these do you have in your file? I found just yesterday that
>
> Port 631
>
Same as your working version:
lightning ~ # cat /etc/cups/cupsd.conf | grep 631
# default IPP port of 631. It changes users whenever an external
# Ports/addresses that we listen to. The default port 631 is reserved
# Port 631
# Listen hostname:631
# Listen 1.2.3.4:631
Port 631
#Port localhost:631
#BrowsePort 631
lightning ~ #
lightning ~ # lpq
lpq: Unable to contact server!
lightning ~ # /etc/init.d/cupsd start
* Starting cupsd ...
[ ok ]lightning ~ # lpq
lpq: Unable to contact server!
lightning ~ #
I've seen this before, actually, when the Mac was turned off.
Linux/Gnome would only see the local CUPS server after it had seen the
remote server on the Mac.
I'm thinking that the system (some part of it anyway) has cached
the fact that the Mac had a CUPS server somewhere. Now that the Mac is
gone it cannot move forward. I have no data to back up that idea
though and I have no idea how to prove it true or false...
- Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-09-15 2:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-14 15:30 [gentoo-user] CUPS server cannot be contacted Mark Knecht
2006-09-14 21:14 ` darren kirby
2006-09-15 1:02 ` Mark Knecht
[not found] ` <200609141839.21894.bulliver@badcomputer.org>
2006-09-15 2:08 ` Mark Knecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox