Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467194 - net-print/cups-1.6.2-r3: Firefox can't establish a connection to the server at localhost:631
Summary: net-print/cups-1.6.2-r3: Firefox can't establish a connection to the server a...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-25 10:25 UTC by Juergen Rose
Modified: 2013-05-03 17:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2013-04-25 10:25:18 UTC
I just rebooted the system, '/etc/init.d/cupsd status' says "started", but I can't access the Web interface of cups, firefox says: "Unable to connect, Firefox can't establish a connection to the server at localhost:631."

In /var/log/cups/error_log I find:

I [25/Apr/2013:12:15:15 +0200] Listening to /run/cups/cups.sock (Domain)
I [25/Apr/2013:12:15:15 +0200] Remote access is disabled.
D [25/Apr/2013:12:15:15 +0200] Added auto ServerAlias impala
I [25/Apr/2013:12:15:15 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [25/Apr/2013:12:15:15 +0200] Using default TempDir of /var/spool/cups/tmp...
I [25/Apr/2013:12:15:15 +0200] Configured for up to 100 clients.
I [25/Apr/2013:12:15:15 +0200] Allowing up to 100 client connections per host.
I [25/Apr/2013:12:15:15 +0200] Using policy "default" as the default.
I [25/Apr/2013:12:15:15 +0200] Full reload is required.
I [25/Apr/2013:12:15:15 +0200] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 39 types, 52 filters...
D [25/Apr/2013:12:15:15 +0200] Loading printer DYMOLabelWriter400condor...
D [25/Apr/2013:12:15:15 +0200] load_ppd: Loading /var/cache/cups/DYMOLabelWriter400condor.data...
D [25/Apr/2013:12:15:15 +0200] cupsdRegisterPrinter(p=0x7f8956663c50(DYMOLabelWriter400condor))
D [25/Apr/2013:12:15:15 +0200] Loading printer hp_LaserJet_1300...
D [25/Apr/2013:12:15:15 +0200] load_ppd: Loading /var/cache/cups/hp_LaserJet_1300.data...
D [25/Apr/2013:12:15:15 +0200] cupsdRegisterPrinter(p=0x7f89566580e0(hp_LaserJet_1300))
D [25/Apr/2013:12:15:15 +0200] load_ppd: Loading /var/cache/cups/hp_LaserJet_1300.data...
D [25/Apr/2013:12:15:15 +0200] cupsdRegisterPrinter(p=0x7f89566580e0(hp_LaserJet_1300))
D [25/Apr/2013:12:15:15 +0200] Loading printer Laserjet1300_Grizzly...
D [25/Apr/2013:12:15:15 +0200] load_ppd: Loading /var/cache/cups/Laserjet1300_Grizzly.data...
D [25/Apr/2013:12:15:15 +0200] cupsdRegisterPrinter(p=0x7f895666b860(Laserjet1300_Grizzly))
I [25/Apr/2013:12:15:15 +0200] Loading job cache file "/var/cache/cups/job.cache"...
D [25/Apr/2013:12:15:15 +0200] [Job 29] Loading from cache...
D [25/Apr/2013:12:15:15 +0200] [Job 30] Loading from cache...
...
D [25/Apr/2013:12:15:15 +0200] [Job 150] Loading from cache...
D [25/Apr/2013:12:15:15 +0200] [Job 151] Loading from cache...
D [25/Apr/2013:12:15:15 +0200] cupsdAddSubscription(mask=0, dest=(nil)(), job=(nil)(0), uri="(null)")
D [25/Apr/2013:12:15:15 +0200] cupsdAddSubscription(mask=0, dest=(nil)(), job=(nil)(0), uri="(null)")
D [25/Apr/2013:12:15:15 +0200] cupsdAddSubscription(mask=0, dest=(nil)(), job=(nil)(0), uri="(null)")
I [25/Apr/2013:12:15:15 +0200] Full reload complete.
D [25/Apr/2013:12:15:15 +0200] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [25/Apr/2013:12:15:15 +0200] Cleaning out old files in "/var/spool/cups/tmp"...
D [25/Apr/2013:12:15:15 +0200] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [25/Apr/2013:12:15:15 +0200] Cleaning out old files in "/var/cache/cups"...
D [25/Apr/2013:12:15:15 +0200] Calling FindDeviceById(cups-DYMOLabelWriter400condor)
D [25/Apr/2013:12:15:15 +0200] FindDeviceById failed: org.freedesktop.ColorManager.NotFound:device id 'cups-DYMOLabelWriter400condor' does not exists
D [25/Apr/2013:12:15:15 +0200] Using profile ID "DYMOLabelWriter400condor-Gray..".
D [25/Apr/2013:12:15:15 +0200] Calling CreateProfile(DYMOLabelWriter400condor-Gray..,temp)
D [25/Apr/2013:12:15:15 +0200] Created profile "/org/freedesktop/ColorManager/profiles/DYMOLabelWriter400condor_Gray__".
I [25/Apr/2013:12:15:15 +0200] Registering ICC color profiles for "DYMOLabelWriter400condor".
D [25/Apr/2013:12:15:15 +0200] Calling CreateDevice(cups-DYMOLabelWriter400condor,temp)
D [25/Apr/2013:12:15:15 +0200] Created device "/org/freedesktop/ColorManager/devices/cups_DYMOLabelWriter400condor".
D [25/Apr/2013:12:15:15 +0200] Calling /org/freedesktop/ColorManager/devices/cups_DYMOLabelWriter400condor:AddProfile(/org/freedesktop/ColorManager/profiles/DYMOLabelWriter400condor_Gray__) [soft]
W [25/Apr/2013:12:15:15 +0200] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_DYMOLabelWriter400condor
D [25/Apr/2013:12:15:15 +0200] Calling FindDeviceById(cups-hp_LaserJet_1300)
D [25/Apr/2013:12:15:15 +0200] FindDeviceById failed: org.freedesktop.ColorManager.NotFound:device id 'cups-hp_LaserJet_1300' does not exists
D [25/Apr/2013:12:15:15 +0200] Using profile ID "hp_LaserJet_1300-Gray..".
D [25/Apr/2013:12:15:15 +0200] Calling CreateProfile(hp_LaserJet_1300-Gray..,temp)
D [25/Apr/2013:12:15:15 +0200] Created profile "/org/freedesktop/ColorManager/profiles/hp_LaserJet_1300_Gray__".
D [25/Apr/2013:12:15:15 +0200] Using profile ID "hp_LaserJet_1300-RGB..".
D [25/Apr/2013:12:15:15 +0200] Calling CreateProfile(hp_LaserJet_1300-RGB..,temp)
D [25/Apr/2013:12:15:15 +0200] Created profile "/org/freedesktop/ColorManager/profiles/hp_LaserJet_1300_RGB__".
I [25/Apr/2013:12:15:15 +0200] Registering ICC color profiles for "hp_LaserJet_1300".
D [25/Apr/2013:12:15:15 +0200] Calling CreateDevice(cups-hp_LaserJet_1300,temp)
D [25/Apr/2013:12:15:15 +0200] Created device "/org/freedesktop/ColorManager/devices/cups_hp_LaserJet_1300".
D [25/Apr/2013:12:15:15 +0200] Calling /org/freedesktop/ColorManager/devices/cups_hp_LaserJet_1300:AddProfile(/org/freedesktop/ColorManager/profiles/hp_LaserJet_1300_Gray__) [soft]
W [25/Apr/2013:12:15:15 +0200] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_hp_LaserJet_1300
D [25/Apr/2013:12:15:15 +0200] Calling /org/freedesktop/ColorManager/devices/cups_hp_LaserJet_1300:AddProfile(/org/freedesktop/ColorManager/profiles/hp_LaserJet_1300_RGB__) [soft]
W [25/Apr/2013:12:15:15 +0200] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_hp_LaserJet_1300
D [25/Apr/2013:12:15:15 +0200] Calling FindDeviceById(cups-Laserjet1300_Grizzly)
D [25/Apr/2013:12:15:15 +0200] FindDeviceById failed: org.freedesktop.ColorManager.NotFound:device id 'cups-Laserjet1300_Grizzly' does not exists
D [25/Apr/2013:12:15:15 +0200] Using profile ID "Laserjet1300_Grizzly-Gray..".
D [25/Apr/2013:12:15:15 +0200] Calling CreateProfile(Laserjet1300_Grizzly-Gray..,temp)
D [25/Apr/2013:12:15:15 +0200] Created profile "/org/freedesktop/ColorManager/profiles/Laserjet1300_Grizzly_Gray__".
I [25/Apr/2013:12:15:15 +0200] Registering ICC color profiles for "Laserjet1300_Grizzly".
D [25/Apr/2013:12:15:15 +0200] Calling CreateDevice(cups-Laserjet1300_Grizzly,temp)
D [25/Apr/2013:12:15:15 +0200] Created device "/org/freedesktop/ColorManager/devices/cups_Laserjet1300_Grizzly".
D [25/Apr/2013:12:15:15 +0200] Calling /org/freedesktop/ColorManager/devices/cups_Laserjet1300_Grizzly:AddProfile(/org/freedesktop/ColorManager/profiles/Laserjet1300_Grizzly_Gray__) [soft]
W [25/Apr/2013:12:15:15 +0200] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_Laserjet1300_Grizzly
I [25/Apr/2013:12:15:15 +0200] Listening to /run/cups/cups.sock:631 on fd 9...
I [25/Apr/2013:12:15:15 +0200] Resuming new connection processing...
D [25/Apr/2013:12:15:15 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [25/Apr/2013:12:15:15 +0200] Discarding unused server-started event...
D [25/Apr/2013:12:15:15 +0200] [Client 12] Accepted from localhost (Domain)
D [25/Apr/2013:12:15:15 +0200] Report: clients=1
D [25/Apr/2013:12:15:15 +0200] Report: jobs=75
D [25/Apr/2013:12:15:15 +0200] Report: jobs-active=1
D [25/Apr/2013:12:15:15 +0200] Report: printers=3
D [25/Apr/2013:12:15:15 +0200] Report: stringpool-string-count=4625
D [25/Apr/2013:12:15:15 +0200] Report: stringpool-alloc-bytes=14048
D [25/Apr/2013:12:15:15 +0200] Report: stringpool-total-bytes=87864
D [25/Apr/2013:12:15:15 +0200] [Client 12] POST / HTTP/1.1
D [25/Apr/2013:12:15:15 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [25/Apr/2013:12:15:15 +0200] [Client 12] No authentication data provided.
D [25/Apr/2013:12:15:15 +0200] [Client 12] 2.0 Get-Notifications 22
D [25/Apr/2013:12:15:15 +0200] Get-Notifications /
D [25/Apr/2013:12:15:15 +0200] cupsdIsAuthorized: requesting-user-name="rose"
D [25/Apr/2013:12:15:15 +0200] Returning IPP successful-ok for Get-Notifications (/) from localhost
D [25/Apr/2013:12:15:15 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [25/Apr/2013:12:15:15 +0200] [Client 12] HTTP_WAITING Closing on EOF
D [25/Apr/2013:12:15:15 +0200] [Client 12] Closing connection.
D [25/Apr/2013:12:15:15 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"

'ps' says that cupsd is sleeping:

root@impala:/root(12)# ps -efl | grep cups | grep -v grep
4 S root     30099     1  0  80   0 - 18073 epoll_ 12:15 ?        00:00:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
0 S root     30105 28502  2  80   0 - 131917 poll_s 12:15 pts/0   00:00:10 emacs -i -geometry 81x61 -name error_log /var/log/cups/error_log
Comment 1 Juergen Rose 2013-04-26 06:08:12 UTC
I still can't access the web interface of cups. In /var/log/cuos/error_log I find that every minute the following block of messages is repeated:


D [25/Apr/2013:12:16:15 +0200] [Client 12] Accepted from localhost (Domain)
D [25/Apr/2013:12:16:15 +0200] Report: clients=1
D [25/Apr/2013:12:16:15 +0200] Report: jobs=75
D [25/Apr/2013:12:16:15 +0200] Report: jobs-active=1
D [25/Apr/2013:12:16:15 +0200] Report: printers=3
D [25/Apr/2013:12:16:15 +0200] Report: stringpool-string-count=4625
D [25/Apr/2013:12:16:15 +0200] Report: stringpool-alloc-bytes=14048
D [25/Apr/2013:12:16:15 +0200] Report: stringpool-total-bytes=87864
D [25/Apr/2013:12:16:15 +0200] [Client 12] POST / HTTP/1.1
D [25/Apr/2013:12:16:15 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [25/Apr/2013:12:16:15 +0200] [Client 12] No authentication data provided.
D [25/Apr/2013:12:16:15 +0200] [Client 12] 2.0 Get-Notifications 23
D [25/Apr/2013:12:16:15 +0200] Get-Notifications /
D [25/Apr/2013:12:16:15 +0200] cupsdIsAuthorized: requesting-user-name="rose"
D [25/Apr/2013:12:16:15 +0200] Returning IPP successful-ok for Get-Notifications (/) from localhost
D [25/Apr/2013:12:16:15 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [25/Apr/2013:12:16:15 +0200] [Client 12] HTTP_WAITING Closing on EOF
D [25/Apr/2013:12:16:15 +0200] [Client 12] Closing connection.
D [25/Apr/2013:12:16:15 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"


where the Get-Notifications number is continously increasing. So it is coming to 1195 this morning.
Comment 2 Juergen Rose 2013-04-27 11:41:20 UTC
Solved, 'dispatch-conf' has removed the "Listen localhost:631" from /etc/cups/cupsd.conf.