Click to See Complete Forum and Search --> : cupsd running, unable to access localhost


BrokenUSMC2003
05-24-2004, 08:23 PM
I am using Gentoo (kernel 2.6.7-rc1 with a HP DeskJet 840C). I have the USB support as modules in the kernel, have hpijs (the printer driver) installed, and cupsd is running. Yet Firefox won't let me access localhost:631... I didn't see anything about running something else in the printing guide or man pages... Any ideas?

mdwatts
05-25-2004, 10:38 AM
Originally posted by BrokenUSMC2003
Yet Firefox won't let me access localhost:631...

What error are you getting?

I know with SuSE you need to run a couple of commands and such to get localhost:631 to work.

http://portal.suse.com/sdb/en/2003/09/jsmeix_print-einrichten-90.html

Could Gentoo have the same problem? Checked their online documentation, forums or mailing list/usergroups?

BrokenUSMC2003
05-25-2004, 11:21 AM
I didn't look closely when I started cupsd... it said cupsd was running, but on the right side of the terminal it gave me the warning sign ([!!]). I haven't been able to get it started thus far, and unmerging hasn't helped any. I am using cups 1.1.20-r1. Has anybody else had this problem?

mdwatts
05-25-2004, 01:56 PM
Originally posted by BrokenUSMC2003
I didn't look closely when I started cupsd... it said cupsd was running, but on the right side of the terminal it gave me the warning sign ([!!]).

Have a look through your cups logfiles. My distro (SuSE) has them in /var/log/cups.

access_log
error_log
error_log.test

BrokenUSMC2003
05-25-2004, 11:09 PM
The weird thing is that I can test print with cat, but nothing else...

pezplaya
05-25-2004, 11:27 PM
you have to edit your /etc/cups/cupsd.conf file to tell it to use port 631.

If you have kde installed try the kde print manager to setup your printer. It's nice.

BrokenUSMC2003
05-26-2004, 10:55 AM
I use gnome. Here is the port settings part of my cupsd.conf file.


# NOTE: Unfortunately, most web browsers don't support TLS or HTTP Upgrades
# for encryption. If you want to support web-based encryption you'll
# probably need to listen on port 443 (the "https" port...)
#

#Port 80
#Port 443
Port 631

mdwatts
05-26-2004, 11:01 AM
Anything in the CUPS logfiles?

BrokenUSMC2003
05-26-2004, 03:03 PM
Here's today's stuff:


I [26/May/2004:12:04:09 +0000] Listening to 0:631
I [26/May/2004:12:04:09 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
I [26/May/2004:12:04:09 +0000] Configured for up to 100 clients.
I [26/May/2004:12:04:09 +0000] Allowing up to 100 client connections per host.
I [26/May/2004:12:04:09 +0000] Full reload is required.
I [26/May/2004:12:04:10 +0000] LoadPPDs: Read "/etc/cups/ppds.dat", 14 PPDs...
I [26/May/2004:12:04:10 +0000] LoadPPDs: No new or changed PPDs...
I [26/May/2004:12:04:10 +0000] Full reload complete.

mdwatts
05-26-2004, 04:44 PM
Does printing work and it's just accessing CUPS through localhost:631 or both?

Have you checked to see if Gentoo has anything on this problem? Forums, documentation and such?

Tried 127.0.0.1:631 or <hostname>:631 instead?

BrokenUSMC2003
05-26-2004, 06:43 PM
127.0.0.1:631 did the trick. Thanks!

mdwatts
05-27-2004, 01:42 PM
Originally posted by BrokenUSMC2003
127.0.0.1:631 did the trick. Thanks!

Whew!!! That's good.

Glad we could help. Hope the printer is now working. :)