LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices


Reply
  Search this Thread
Old 08-04-2010, 02:48 AM   #1
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
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!
 
Old 08-04-2010, 07:31 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
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.
 
1 members found this post helpful.
Old 08-04-2010, 07:51 AM   #3
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Original Poster
Rep: Reputation: 122Reputation: 122
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?
 
Old 08-04-2010, 07:51 AM   #4
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Original Poster
Rep: Reputation: 122Reputation: 122
Angry

Posted it twice Happens more often to me. Sorry.

Last edited by Hannes Worst; 08-04-2010 at 07:54 AM.
 
Old 08-04-2010, 08:54 AM   #5
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Original Poster
Rep: Reputation: 122Reputation: 122
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!

Last edited by Hannes Worst; 08-11-2010 at 08:20 AM.
 
Old 08-05-2010, 06:29 AM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

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


Reply



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
smbd unable to connect to CUPS in 10.2 cor67393 Slackware 8 08-24-2007 05:23 PM
Cups cant connect to printer on XP david.skinner Linux - Software 1 11-25-2004 01:41 AM
Printing through Samba and Cups. Can't connect to host. Baix Linux - Newbie 1 09-03-2004 04:43 PM
CUPS can't connect javamdk Linux - Newbie 3 07-09-2004 06:45 PM
CUPS : unable to connect to server lefevre2 Linux - General 1 05-24-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk

All times are GMT -5. The time now is 01:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration