LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-24-2009, 04:28 PM   #1
Bester
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
CUPS. http://localhost:631/ not found


I have problem with printing and can`t print test page with my MP160. First of all I want decide problem with CUPS web interface. Now I can`t enter in http://localhost:631/ When I do it, I have read error message such as "Page not found". I use CUPS 1.3.9-15 in Debian 5.0 amd64.
Quote:
debian:/home/bester# /etc/init.d/cups status
Status of Common Unix Printing System: cupsd is running.
debian:/home/bester# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 debian
192.168.0.1 grisha
192.168.0.3 andriy
When I have restarted CUPS in CUPS log file I have read:
Quote:
Unable to bind socket for address 127.0.0.1:631 - Cannot assign requested address.
And more:
Quote:
debian:/home/bester# netstat -tunva
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8010 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
tcp 0 0 95.111.212.152:43198 217.147.29.117:5222 ESTABLISHED
tcp6 0 0 :::631 :::* LISTEN
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 0.0.0.0:138 0.0.0.0:*
udp 0 0 0.0.0.0:57401 0.0.0.0:*
udp 0 0 0.0.0.0:8010 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 127.0.0.1:111 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
udp6 0 0 :::60730 :::*
udp6 0 0 :::5353 :::*
Please, help me.
 
Old 03-24-2009, 05:19 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by Bester
First of all I want decide problem with CUPS web interface. Now I can`t enter in http://localhost:631/ When I do it, I have read error message such as "Page not found".
As in HTTP 404? Or your browser times out and says it can't reach the site?

It's a little odd. Your netstat output shows that cupsd is listening on all interfaces. (And there are other services listening on 127.0.0.1, so loopback appears to be up.)

Did you put together a firewall ruleset to run on that box, perchance? What does # iptables -nvL show?
 
Old 03-25-2009, 03:15 AM   #3
Bester
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Hm... Yesterday I had problem with CUPS but now the problem with CUPS not exist. Yesterday I did for deciding my problem:
1. Edit /etc/network/interfaces Now it look like:
Quote:
auto lo
iface lo inet loopback
2. In /etc/cups/cupsd.conf I had add:
Quote:
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
Port 631
Listen 127.0.0.1:631
May be it help somebody.

Now I want configure my MP160. I have found pppd file and installed it, but my printer not print.
And now when I print test page, I not see any error in log files and CUPS "speak" that job completed successfully, but test page not printing. Help me, please, why my printer don`t want print?

P. S. Sorry for my english. I`m from Ukraine.

Last edited by Bester; 03-25-2009 at 04:34 AM.
 
  


Reply

Tags
cups


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
Can't Access Cups Admin @ Http://localhost:631 Perps Suse/Novell 7 07-30-2006 06:30 AM
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
http://localhost:631 zaicheke Linux - Software 5 08-01-2004 01:13 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 03:45 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