[cups.general] Connection to CUPS server failed

Christopher Singley csingley at gmail.com
Fri Jun 16 14:27:11 PDT 2006


Greetings.

I've newly installed Ubuntu 5.10 "Breezy Badger", running kernel  
v2.6.12-10, and I seem to have done something bad to CUPS.  I cannot  
connect to the server via the web interface on port 631, or via the KDE  
system settings print admin (i.e. the connection times out in either case).

I can't figure out why this should be the case; inspecting the logs isn't  
proving informative.  Searching the web hasn't turned up much applicable,  
and I've exhausted my limited CUPS troubleshooting skills.  Can anyone  
give me some clues how to get connected to CUPS?

My /etc/cups/cupsd.conf:
========================
ConfigFilePerm 0600
DefaultCharset notused
#LogLevel info
LogLevel debug

Printcap /var/run/cups/printcap
RunAsUser Yes
Listen 127.0.0.1
Include cupsd-browsing.conf
BrowseAddress @LOCAL

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

<Location /jobs>
AuthType Basic
AuthClass User
</Location>

<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
====================

My /var/log/cups/error_log:
===========================
I [16/Jun/2006:11:12:30 -0500] Listening to 7f000001:631
D [16/Jun/2006:11:12:30 -0500] AddLocation: added location '/'
D [16/Jun/2006:11:12:30 -0500] DenyIP: / deny 00000000/00000000
D [16/Jun/2006:11:12:30 -0500] AllowIP: / allow 7f000001/ffffffff
D [16/Jun/2006:11:12:30 -0500] AddLocation: added location '/jobs'
D [16/Jun/2006:11:12:30 -0500] AddLocation: added location '/admin'
D [16/Jun/2006:11:12:30 -0500] DenyIP: /admin deny 00000000/00000000
D [16/Jun/2006:11:12:30 -0500] AllowIP: /admin allow 7f000001/ffffffff
I [16/Jun/2006:11:12:30 -0500] Loaded configuration file  
"/etc/cups/cupsd.conf"
I [16/Jun/2006:11:12:31 -0500] Configured for up to 100 clients.
I [16/Jun/2006:11:12:31 -0500] Allowing up to 100 client connections per  
host.
I [16/Jun/2006:11:12:31 -0500] Full reload is required.
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device "smb"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device "ipp"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device "bluetooth"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"epson:/dev/lp0"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"epson:/dev/lp1"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"canon:/dev/lp0"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"canon:/dev/lp1"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device "http"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device "lpd"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"parallel:/dev/lp0"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"parallel:/dev/lp1"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device "socket"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp0"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp1"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp2"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp3"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp4"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp5"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp6"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp7"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp8"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp9"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp10"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp11"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp12"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp13"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp14"...
D [16/Jun/2006:11:12:31 -0500] LoadDevices: Added device  
"usb:/dev/usb/lp15"...
I [16/Jun/2006:11:12:31 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 4104  
PPDs...
I [16/Jun/2006:11:12:32 -0500] LoadPPDs: No new or changed PPDs...
D [16/Jun/2006:11:12:32 -0500] LoadAllJobs: Scanning /var/spool/cups...
I [16/Jun/2006:11:12:32 -0500] Full reload complete.
D [16/Jun/2006:11:12:32 -0500] StartListening: NumListeners=1
D [16/Jun/2006:11:12:32 -0500] StartListening: address=7f000001 port=631
D [16/Jun/2006:11:12:32 -0500] ResumeListening: setting input bits...
======================================

Thanks in advance for any pointers.

Chris





More information about the cups mailing list