LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 07-29-2006, 10:03 PM   #1
Perps
Member
 
Registered: Apr 2006
Distribution: openSUSE 10.2
Posts: 62

Rep: Reputation: 15
Can't Access Cups Admin @ Http://localhost:631


Greets to all.

I'm trying to setup my first printer using cups, and from what I've read, cups can be administered by navigating to http://localhost:631. Unfortunately, everytime I try this, my browser (Konqueror) returns:

An error occurred while loading http://localhost:631:
Connection to host localhost is broken.

I've also tried using the add printer control within YaST to no avail, when attempting to detect the printer YaST just hangs at around the 50% complete mark and doesn't budge. At this point, system performance is degraded severely.

I've also checked that I have cups installed properly using rpm -qa | grep cups which returns:

cups-drivers-stp-1.1.23-11
cups-drivers-1.1.23-11
libgnomecups-0.2.2-0.2
cups-libs-1.1.23-21
cups-SUSE-ppds-dat-1.1.20-106
gnome-cups-manager-0.31-3
cups-1.1.23-21.2
cups-client-1.1.23-21

I also have the hplip software installed (for a hp printer) which I checked with rpm -qa | grep hp which returns:

hplip-0.9.4-4
hplip-hpijs-0.9.4-4

Any ideas on this one? The fact that I can't even access the cups admin through the browser is quite a concern, as every other online source documenting printer setup using cups assumes that you are able to access cups admin at http://localhost:631.

Many thanks,

- Perps
 
Old 07-29-2006, 10:13 PM   #2
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Slackware 10.2 Fluxbox 2.6.17.6
Posts: 419

Rep: Reputation: 30
first i would make sure the process is running
ps aux | grep cupsd
next i would see if its accualy listening on port 631
netstat -tuanp
 
Old 07-29-2006, 10:17 PM   #3
Perps
Member
 
Registered: Apr 2006
Distribution: openSUSE 10.2
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks for the super quick reply AAnarchYY.

ps aux | grep cupsd returns:

lp 6126 0.0 0.1 7184 3320 ? Ss 10:24 0:00 /usr/sbin/cupsd

1000 10148 0.0 0.0 2728 672 pts/0 R+ 11:15 0:00 grep cupsd

netstat -tuanp returns:

(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:32772 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:745 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp 0 0 10.1.1.3:19251 72.14.223.104:80 TIME_WAIT -
tcp 0 0 10.1.1.3:17968 66.102.7.99:80 TIME_WAIT -
tcp 0 0 10.1.1.3:26276 72.14.223.147:80 TIME_WAIT -
tcp 0 0 10.1.1.3:26269 72.14.223.147:80 TIME_WAIT -
tcp 0 0 :::22 :::* LISTEN -
tcp 0 0 ::1:25 :::* LISTEN -
udp 0 0 0.0.0.0:32768 0.0.0.0:* -
udp 0 0 0.0.0.0:2049 0.0.0.0:* -
udp 0 0 0.0.0.0:32770 0.0.0.0:* -
udp 0 0 0.0.0.0:744 0.0.0.0:* -
udp 0 0 0.0.0.0:5353 0.0.0.0:* -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
udp 0 0 0.0.0.0:631 0.0.0.0:*

Any ideas?

Many thanks,

- Perps
 
Old 07-29-2006, 10:24 PM   #4
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Slackware 10.2 Fluxbox 2.6.17.6
Posts: 419

Rep: Reputation: 30
hrm... looks as though cups is running and is listening on port 631, did you try accessing it with any other brouser than konqueror? like forinstance, firefox.
 
Old 07-29-2006, 10:31 PM   #5
Perps
Member
 
Registered: Apr 2006
Distribution: openSUSE 10.2
Posts: 62

Original Poster
Rep: Reputation: 15
Just tried with Firefox and Epiphany to no avail, which don't even return any kind of error message like Konqueror does.

Many thanks,

- PerpsTherapy
 
Old 07-29-2006, 10:39 PM   #6
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Slackware 10.2 Fluxbox 2.6.17.6
Posts: 419

Rep: Reputation: 30
check your cupsd.conf file (/etc/cups/cupsd.conf)
under <Location /> make sure there is a line reading Allow From 127.0.0.1 and that it isnt commented
also, just for the hell of it, instead of looking for localhost, try 127.0.0.1
 
Old 07-30-2006, 04:24 AM   #7
Perps
Member
 
Registered: Apr 2006
Distribution: openSUSE 10.2
Posts: 62

Original Poster
Rep: Reputation: 15
I checked cupsd.conf, everything between the location tags was as it should be. I also tried http://127.0.0.1:631 and the internal IP address of the my machine:631 to no avail.

- PerpsTherapy
 
Old 07-30-2006, 06:30 AM   #8
Perps
Member
 
Registered: Apr 2006
Distribution: openSUSE 10.2
Posts: 62

Original Poster
Rep: Reputation: 15
Problem solved, I added the following to hosts.allow and now I can access cups web admin:

cupsd : 127.0.0.1 : ALLOW

- PerpsTherapy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to log in to localhost:631/admin FibonacciPrower Linux - Hardware 1 06-10-2006 02:52 PM
CUPS http://localhost:631/ LUB997 Linux - Software 1 09-26-2005 07:52 PM
How to connect to http://localhost:631 to install CUPS ch.keller Linux - Hardware 3 06-07-2005 09:25 PM
CUPS Problem - can not access localhost:631 ch.keller Linux - Hardware 3 06-06-2005 05:56 PM
can't access http://localhost:631 (for cups printing) TheOneAndOnlySM Slackware 4 10-14-2003 08:01 PM


All times are GMT -5. The time now is 11:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration