LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Zenwalk (https://www.linuxquestions.org/questions/zenwalk-75/)
-   -   Can't connect to CUPS (https://www.linuxquestions.org/questions/zenwalk-75/cant-connect-to-cups-824055/)

Hannes Worst 08-04-2010 02:48 AM

Can't connect to CUPS
 
Hi,

I,m currently trying out the Zenwalk 6.4 Gnome edition. And I'd like to add my printer in CUPS, but when I try to connect to 'localhost:631', my browser gives me the message that it can't connect to CUPS -the server is to busy. I have CUPS installed - it's a standard install of Zenwalk-Gnome. I have also tried to reinstall CUPS with netpkg.

What can I do to solve this problem?
Thanks in advance!

tronayne 08-04-2010 07:31 AM

A couple of things to look at -- is CUPS running and is there only one instance running (there should only be one that will look something like this; yours may look slight different):
Code:

ps -ef | grep cups
root      1715    1  0 Aug03 ?        00:00:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf

Do you have appropriate entries in /etc/hosts -- should look something like this
Code:

grep local /etc/hosts
127.0.0.1              localhost

Can you ping localhost
Code:

ping -c 5 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.136 ms
64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.130 ms
64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.134 ms
64 bytes from localhost (127.0.0.1): icmp_req=4 ttl=64 time=0.132 ms
64 bytes from localhost (127.0.0.1): icmp_req=5 ttl=64 time=0.132 ms

--- localhost ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.130/0.132/0.136/0.014 ms

Have you looked in the CUPS error log (it may be in /var/log/cups).

Have you looked in your system log (possibly /var/log/messages) to see if there's a problem.

If any of those are goofy...

Hope this helps some.

Hannes Worst 08-04-2010 07:51 AM

Tronayne,

thanks for your fast reply. I discovered that the CUPS-service isn't initiated at boot-time, however it's initiation is mentioned in /etc/rc.d/rc.services. The question for me right now is, how to initiate it at boottime. Maybe it is a matter of post-install configuration in Zenwalk?

Hannes Worst 08-04-2010 07:51 AM

Posted it twice:redface: Happens more often to me. Sorry.

Hannes Worst 08-04-2010 08:54 AM

I solved the problem by running serviceconfig as root and adding the cups-daemon als start-up service. This possibility escaped on my attention until just now. Problem solved!

tronayne 08-05-2010 06:29 AM

Glad you got it -- I was in transit all day yesterday and didn't get a chance to respond until this morning.


All times are GMT -5. The time now is 07:29 AM.