CUPS problem! "localhost:631, connection refused"!!!
I'm a newbie with Debian (a couple of weeks now) and I'm having a terrible time setting up CUPS printing. I'm trying to print to a printer on a Windows pc on my home network. I've installed and configured SAMBA and I've installed CUPS. I've checked settings everywhere that I can find...
My /etc/hosts file: 127.0.0.1 debian localhost # The following lines are desirable for IPv6 capable hosts # (added automatically by netbase upgrade) ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts debian:/etc# A section from my /etc/network/interfaces file: # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback auto eth0 iface eth0 inet DHCP A section from my /etc/cups/cupsd.conf: #Port 80 #Port 443 Port 631 Listen 127.0.0.1:631 <Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location> And finally, the listing from ifconfig: lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:2697 errors:0 dropped:0 overruns:0 frame:0 TX packets:2697 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:231072 (225.6 KiB) TX bytes:231072 (225.6 KiB) I've changed various settings in various files, restarted CUPS and still when I try to connect with localhost:631 to administer CUPS (using Mozilla), I receive a "connection refused" error. I'm at my wit's end!!! I "had" it working a few days ago (I could get to the html administration utility, I couldn't get the printer working!), but gave up in frustration! Since then, I've "changed" a number of things (I'm running Woody 3.0r1) and upgraded to Gnome2.2 and xfree86 1.4. I don't "think" this had an effect on things but... Does anyone have an idea of where I might look? Thanks in advance for your help! |
It almost sounds like cups is not running. If you run "/etc/init.d/cupsys start" does that fix it?
or does "ps -auxw | grep cups" show a cupsd process in the background? |
CUPS/Localhost:631 Fixed...
I have fixed my CUPS problem with the "connection refused" when trying to connect with the html CUPS configuration program (localhost:631). I had to enable "hostnamelookups" in the cupsd.conf file.
I have not fixed my printing problem yet but at least I can get to the CUPS HTML administration utility! I was able to set up and configure the printer but print jobs are "aborted"! My printing problem may be driver related... I have to enable debugging on the CUPS error_log file to get a better idea where the process is failing... I'm printing to a Windows PC (via SAMBA)... Yes I know I would be better going the other way but this is my "learning" pc!!!! It has been cobbled together from spare parts and does not have USB. I have $22 (US) in it and I don't want to spend an more on it!! The error is "stopped with status 22!" and I hope to research things a bit more. I would appreciate any thoughts! |
Quote:
Have you tried: <Location /> Order Deny,Allow Deny From All Allow From All </Location> |
Do you bump six year old posts often?
|
Bah, <kicks self for not looking at date>
|
All times are GMT -5. The time now is 12:11 AM. |