Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622378 - net-print/cups-2.2.3 - Unable to connect to http://localhost:631/printers/
Summary: net-print/cups-2.2.3 - Unable to connect to http://localhost:631/printers/
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-21 11:45 UTC by Juergen Rose
Modified: 2017-06-22 20:54 UTC (History)
1 user (show)

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 2017-06-21 11:45:45 UTC
Since yesterday I can't print anymore and accessing the web interface of cups fails as well with "http://localhost:631/printers/ - Unable to connect"

'systemctl status cups' reports:
● cups.service - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2017-06-21 12:33:28 CEST; 5s ago
     Docs: man:cupsd(8)
 Main PID: 11985 (cupsd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/cups.service
           └─11985 /usr/sbin/cupsd -l

Jun 21 12:33:28 lynx systemd[1]: Started CUPS Scheduler.

'ps -ef | grep cupsd | grep -v grep' reports:
root     11985     1  0 12:33 ?        00:00:00 /usr/sbin/cupsd -l



The Gnome-Settings->Printers Menu shows three printers with one printer with a active job. If I try to show this job, I see it is stopped. And I can't restart this job.

The end of the cups log files show:
root@lynx:/root(29)# ll /var/log/cups/
total 3256
-rw-r--r-- 1 root lp   49375 Jun 21 12:44 access_log
-rw-r--r-- 1 root lp 1048644 Jun  2 20:33 access_log.O
-rw-r--r-- 1 root lp 1154605 Jun 21 12:48 error_log
-rw-r--r-- 1 root lp 1048588 Nov 11  2016 error_log.O
-rw-r--r-- 1 root lp     505 Jun 20  2014 page_log
root@lynx:/root(30)# ll /var/log/cups/access_log
-rw-r--r-- 1 root lp 49375 Jun 21 12:44 /var/log/cups/access_log
root@lynx:/root(31)# tail  /var/log/cups/access_log
localhost - - [21/Jun/2017:12:22:42 +0200] "POST / HTTP/1.1" 401 75 CUPS-Get-Devices successful-ok
localhost - root [21/Jun/2017:12:22:42 +0200] "POST / HTTP/1.1" 200 1530 CUPS-Get-Devices -
localhost - - [21/Jun/2017:12:23:17 +0200] "GET /admin/log/error_log HTTP/1.1" 401 0 - -
localhost - rose [21/Jun/2017:12:23:17 +0200] "GET /admin/log/error_log HTTP/1.1" 200 482423 - -
localhost - rose [21/Jun/2017:12:23:17 +0200] "POST / HTTP/1.1" 200 277 Create-Printer-Subscriptions successful-ok
localhost - rose [21/Jun/2017:12:23:34 +0200] "POST / HTTP/1.1" 200 152 Cancel-Subscription successful-ok
localhost - - [21/Jun/2017:12:23:34 +0200] "GET /admin/log/error_log HTTP/1.1" 401 0 - -
localhost - root [21/Jun/2017:12:23:34 +0200] "GET /admin/log/error_log HTTP/1.1" 200 559325 - -
localhost - - [21/Jun/2017:12:44:35 +0200] "POST / HTTP/1.1" 200 344 Create-Printer-Subscriptions successful-ok
localhost - - [21/Jun/2017:12:44:35 +0200] "POST / HTTP/1.1" 200 2168642 CUPS-Get-PPDs -
root@lynx:/root(32)# tail  /var/log/cups/error_log
I [21/Jun/2017:12:48:59 +0200] Expiring subscriptions...
I [21/Jun/2017:12:49:00 +0200] Expiring subscriptions...
I [21/Jun/2017:12:49:01 +0200] Expiring subscriptions...
I [21/Jun/2017:12:49:02 +0200] Expiring subscriptions...
I [21/Jun/2017:12:49:03 +0200] Expiring subscriptions...
I [21/Jun/2017:12:49:04 +0200] Expiring subscriptions...
I [21/Jun/2017:12:49:05 +0200] Expiring subscriptions...
I [21/Jun/2017:12:49:06 +0200] Expiring subscriptions...
I [21/Jun/2017:12:49:07 +0200] Expiring subscriptions...
I [21/Jun/2017:12:49:08 +0200] Expiring subscriptions...
root@lynx:/root(33)# tail  /var/log/cups/page_log 
HP_Laserjet9500mhp root 34 [20/Jun/2014:12:36:32 +0200] total 0 - localhost Test Page - -
SW_Develop_ZEIK root 35 [20/Jun/2014:13:00:09 +0200] 1 1 - localhost Test Page - -
SW_Develop_ZEIK root 35 [20/Jun/2014:13:00:09 +0200] 1 1 - localhost Test Page - -
SW_Develop_ZEIK root 36 [20/Jun/2014:13:06:40 +0200] 1 1 - localhost Test Page - -
SW_Develop_ZEIK root 36 [20/Jun/2014:13:06:40 +0200] 1 1 - localhost Test Page - -
SW_Develop_ZEIK root 42 [20/Jun/2014:13:22:38 +0200] 1 1 - localhost Test Page - -
Comment 1 Jonas Stein gentoo-dev 2017-06-22 20:54:43 UTC
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an error in the ebuild.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/