[arch-general] Problem with cups 1.71 when restart service
Hi, I have problem with cups in arch. This is the log error_log the cups: E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use. And the printing not works... Thanks in advanced.
On 02/04/14 at 12:55pm, Maykel Franco wrote:
Hi, I have problem with cups in arch. This is the log error_log the cups:
E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
And the printing not works...
Thanks in advanced.
Does this happen when you start cups, can you navigate to http://localhost:631 and will that display cups web ui? Or is some other service running on 631? -- Jelle van der Waa
Am 04.02.2014 13:31, schrieb Jelle van der Waa:
On 02/04/14 at 12:55pm, Maykel Franco wrote:
Hi, I have problem with cups in arch. This is the log error_log the cups:
E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
And the printing not works...
Thanks in advanced.
Does this happen when you start cups, can you navigate to http://localhost:631 and will that display cups web ui? Or is some other service running on 631?
To find a process listening on 631, try: # netstat -tnlp Cheers, ushi
2014-02-04 ushi <ushi+arch@honkgong.info>:
Am 04.02.2014 13:31, schrieb Jelle van der Waa:
On 02/04/14 at 12:55pm, Maykel Franco wrote:
Hi, I have problem with cups in arch. This is the log error_log the cups:
E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
And the printing not works...
Thanks in advanced.
Does this happen when you start cups, can you navigate to http://localhost:631 and will that display cups web ui? Or is some other service running on 631?
To find a process listening on 631, try:
# netstat -tnlp
Cheers, ushi
I can access http://localhost:631 works very well, but the error persist when restart cups service. maykel-arch /etc/cups # sudo ss -lpn|grep 631 tcp LISTEN 0 128 :::631 :::* users:(("cupsd",8761,4),("systemd",1,31)) Also, the print not printer...When add print: E [04/Feb/2014:12:43:22 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [04/Feb/2014:12:43:22 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use. W [04/Feb/2014:12:44:24 +0100] [CGI] Missing Product in /usr/share/cups/model/CNCUPSIRADV4051ZK.ppd! W [04/Feb/2014:12:44:24 +0100] [CGI] Missing Product in /usr/share/ppd/CNCUPSIRADV4051ZK.ppd! Thanks in advanced.
Am 04.02.2014 13:47, schrieb Maykel Franco:
2014-02-04 ushi <ushi+arch@honkgong.info>:
Am 04.02.2014 13:31, schrieb Jelle van der Waa:
On 02/04/14 at 12:55pm, Maykel Franco wrote:
Hi, I have problem with cups in arch. This is the log error_log the cups:
E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
And the printing not works...
Thanks in advanced.
Does this happen when you start cups, can you navigate to http://localhost:631 and will that display cups web ui? Or is some other service running on 631?
To find a process listening on 631, try:
# netstat -tnlp
Cheers, ushi
I can access http://localhost:631 works very well, but the error persist when restart cups service.
maykel-arch /etc/cups # sudo ss -lpn|grep 631 tcp LISTEN 0 128 :::631 :::* users:(("cupsd",8761,4),("systemd",1,31))
Also, the print not printer...When add print:
E [04/Feb/2014:12:43:22 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [04/Feb/2014:12:43:22 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use. W [04/Feb/2014:12:44:24 +0100] [CGI] Missing Product in /usr/share/cups/model/CNCUPSIRADV4051ZK.ppd! W [04/Feb/2014:12:44:24 +0100] [CGI] Missing Product in /usr/share/ppd/CNCUPSIRADV4051ZK.ppd!
Thanks in advanced.
It seems that cups is running fine. Check it with % systemctl status cups.service Do you have the correct printer driver on your system?
2014-02-04 ushi <ushi+arch@honkgong.info>:
Am 04.02.2014 13:47, schrieb Maykel Franco:
2014-02-04 ushi <ushi+arch@honkgong.info>:
Am 04.02.2014 13:31, schrieb Jelle van der Waa:
On 02/04/14 at 12:55pm, Maykel Franco wrote:
Hi, I have problem with cups in arch. This is the log error_log the cups:
E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
And the printing not works...
Thanks in advanced.
Does this happen when you start cups, can you navigate to http://localhost:631 and will that display cups web ui? Or is some other service running on 631?
To find a process listening on 631, try:
# netstat -tnlp
Cheers, ushi
I can access http://localhost:631 works very well, but the error persist when restart cups service.
maykel-arch /etc/cups # sudo ss -lpn|grep 631 tcp LISTEN 0 128 :::631 :::* users:(("cupsd",8761,4),("systemd",1,31))
Also, the print not printer...When add print:
E [04/Feb/2014:12:43:22 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [04/Feb/2014:12:43:22 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use. W [04/Feb/2014:12:44:24 +0100] [CGI] Missing Product in /usr/share/cups/model/CNCUPSIRADV4051ZK.ppd! W [04/Feb/2014:12:44:24 +0100] [CGI] Missing Product in /usr/share/ppd/CNCUPSIRADV4051ZK.ppd!
Thanks in advanced.
It seems that cups is running fine. Check it with
% systemctl status cups.service
Do you have the correct printer driver on your system?
The service is OK: cups.service - CUPS Printing Service Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled) Active: active (running) since mar 2014-02-04 12:52:24 CET; 1h 42min ago Main PID: 8761 (cupsd) CGroup: /system.slice/cups.service └─8761 /usr/bin/cupsd -f feb 04 12:52:24 maykel-arch systemd[1]: Started CUPS Printing Service. But the printer not impress... In debian works fine. I add printer with tool system-config-printer or cups gui web. The printer add work fine but not works... The printer is Canon LBP7750C and the driver is OK: Canon LBP7750C/5460 UFR II ver.2.7 But the printer not found. The work send to printer arrived OK, but no printing... Log cups access: localhost - - [04/Feb/2014:14:37:06 +0100] "POST /printers/Canon-LBP7750C-5460 HTTP/1.1" 200 220 Create-Job successful-ok localhost - - [04/Feb/2014:14:37:06 +0100] "POST /printers/Canon-LBP7750C-5460 HTTP/1.1" 200 12759 Send-Document successful-ok http://imageshack.com/a/img837/8846/knr7.png Why not work?? I thought the error was because the port was in use Thanks
Hi Maykel,
But the printer not found. The work send to printer arrived OK, but no printing...
I had something similar two days back. Problem was, I followed https://wiki.archlinux.org/index.php/Cups#GNOME but instead of lpadmin I used lp. This produced exactly the effect your describing. Maybe it helps :) Cheers, Luc
Am Tue, 04 Feb 2014 14:51:57 +0100 schrieb luc <forbugrep@zoho.com>:
Hi Maykel,
But the printer not found. The work send to printer arrived OK, but no printing...
I had something similar two days back. Problem was, I followed https://wiki.archlinux.org/index.php/Cups#GNOME but instead of lpadmin I used lp. This produced exactly the effect your describing.
Maybe it helps :)
Cheers, Luc
See https://bugs.archlinux.org/task/38684 and add your feedback there. This behavior was introduced by the change requested in https://bugs.archlinux.org/task/32923 . If there's no proper fix possible and you think this should be revert please discuss further. I'm no fan of the FS#32923 change since we are the only distro doing this so far. -Andy
On 02/04/2014 07:39 AM, Maykel Franco wrote: <snip>
E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
And the printing not works...
Thanks in advanced. <snip> It seems that cups is running fine. Check it with
% systemctl status cups.service
Do you have the correct printer driver on your system?
The service is OK:
cups.service - CUPS Printing Service Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled) Active: active (running) since mar 2014-02-04 12:52:24 CET; 1h 42min ago Main PID: 8761 (cupsd) CGroup: /system.slice/cups.service └─8761 /usr/bin/cupsd -f
feb 04 12:52:24 maykel-arch systemd[1]: Started CUPS Printing Service.
But the printer not impress... In debian works fine.
I add printer with tool system-config-printer or cups gui web. The printer add work fine but not works...
The printer is Canon LBP7750C and the driver is OK: Canon LBP7750C/5460 UFR II ver.2.7
But the printer not found. The work send to printer arrived OK, but no printing...
Log cups access:
localhost - - [04/Feb/2014:14:37:06 +0100] "POST /printers/Canon-LBP7750C-5460 HTTP/1.1" 200 220 Create-Job successful-ok localhost - - [04/Feb/2014:14:37:06 +0100] "POST /printers/Canon-LBP7750C-5460 HTTP/1.1" 200 12759 Send-Document successful-ok
http://imageshack.com/a/img837/8846/knr7.png
Why not work??
I thought the error was because the port was in use
Thanks
Maykel, I have seen this exact error when something tries to use cups before cups is started. I mistakenly added 'cups' to the old DAEMONS line in rc.conf (instead of 'cupsd') and it produced this exact error (see old thread: "[arch-general] cups not starting on boot after last 2 kernel updates? -- where to put it in the DAEMONS line?") Since my latest install during Dec 2013, I have seen this error again once when cups failed to start on reboot after kernel update. I don't know why. Manually restarting cups solved the problem and cups has started automatically every time since. It just looks to me like something tried to probe or user cups before it was running. I just checked my install and I have not seen the error in the past 30 days. If you show cups running and still can't print, then I would propose stopping and starting cups manually as a test. I am still unclear whether it matter if you start 'cups' or 'cupsd' the .service files are identical. At present I have started and enabled 'cups' and not 'cupsd'. -- David C. Rankin, J.D.,P.E.
2014-02-04 David C. Rankin <drankinatty@suddenlinkmail.com>:
> E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address > [v1.::1]:631 - Address already in use. > E [04/Feb/2014:12:52:24 +0100] Unable to bind socket for address > 127.0.0.1:631 - Address already in use. > > > And the printing not works... > > Thanks in advanced. <snip> It seems that cups is running fine. Check it with
% systemctl status cups.service
Do you have the correct printer driver on your system?
The service is OK:
cups.service - CUPS Printing Service Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled) Active: active (running) since mar 2014-02-04 12:52:24 CET; 1h 42min ago Main PID: 8761 (cupsd) CGroup: /system.slice/cups.service └─8761 /usr/bin/cupsd -f
feb 04 12:52:24 maykel-arch systemd[1]: Started CUPS Printing Service.
But the printer not impress... In debian works fine.
I add printer with tool system-config-printer or cups gui web. The
On 02/04/2014 07:39 AM, Maykel Franco wrote: <snip> printer
add work fine but not works...
The printer is Canon LBP7750C and the driver is OK: Canon LBP7750C/5460 UFR II ver.2.7
But the printer not found. The work send to printer arrived OK, but no printing...
Log cups access:
localhost - - [04/Feb/2014:14:37:06 +0100] "POST /printers/Canon-LBP7750C-5460 HTTP/1.1" 200 220 Create-Job successful-ok localhost - - [04/Feb/2014:14:37:06 +0100] "POST /printers/Canon-LBP7750C-5460 HTTP/1.1" 200 12759 Send-Document successful-ok
http://imageshack.com/a/img837/8846/knr7.png
Why not work??
I thought the error was because the port was in use
Thanks
Maykel,
I have seen this exact error when something tries to use cups before cups is started. I mistakenly added 'cups' to the old DAEMONS line in rc.conf (instead of 'cupsd') and it produced this exact error (see old thread: "[arch-general] cups not starting on boot after last 2 kernel updates? -- where to put it in the DAEMONS line?") Since my latest install during Dec 2013, I have seen this error again once when cups failed to start on reboot after kernel update. I don't know why. Manually restarting cups solved the problem and cups has started automatically every time since. It just looks to me like something tried to probe or user cups before it was running. I just checked my install and I have not seen the error in the past 30 days.
If you show cups running and still can't print, then I would propose stopping and starting cups manually as a test. I am still unclear whether it matter if you start 'cups' or 'cupsd' the .service files are identical. At present I have started and enabled 'cups' and not 'cupsd'.
-- David C. Rankin, J.D.,P.E.
Thanks for your responsed. The problem isn't cups not start... The problem is cups not printed... Comands check my printer, my printer is Canon-LBP7750 maykel-arch /home/maykel # LC_ALL=C lpstat -s system default destination: Canon-LBP7750C-5460 device for Canon-LBP7750C-5460: socket://10.1.0.5:9100 maykel-arch /home/maykel :( # LC_ALL=C lpstat -p Canon-LBP7750C-5460 printer Canon-LBP7750C-5460 is idle. enabled since Tue Feb 4 16:46:32 2014 Waiting for finish printed maykel-arch /home/maykel # LC_ALL=C lpq Canon-LBP7750C-5460 is ready no entries Drivers print in my archlinux: lsb/usr/canon/cel-lbp7750c-pcl-en.ppd.gz Canon LBP7750C PCL lsb/usr/canon/cel-lbp7750c-ps-en.ppd.gz Canon LBP7750C PS lsb/usr/canon/cel-lbp7750c-pxl-en.ppd.gz Canon LBP7750C PXL CNCUPSLBP7750CZK.ppd Canon LBP7750C/5460 UFR II ver.2.7 lsb/usr/CNCUPSLBP7750CZK.ppd Canon LBP7750C/5460 UFR II ver.2.7 And in kde system preferences/print : http://imageshack.com/a/img833/9360/un96.png I dont understand not printing... Thanks for all...
On 2014-02-04 16:54, Maykel Franco wrote:
Thanks for your responsed. The problem isn't cups not start... The problem is cups not printed...
This is a long shot, but have you installed an updated kernel without rebooting? Regards,
El 04/02/2014 20:04, "Bardur Arantsson" <spam@scientician.net> escribió:
On 2014-02-04 16:54, Maykel Franco wrote:
Thanks for your responsed. The problem isn't cups not start... The
problem
is cups not printed...
This is a long shot, but have you installed an updated kernel without rebooting?
Regards,
Yes, I rebooted but not works...
On 02/04/2014 09:54 AM, Maykel Franco wrote: <snip>
Thanks for your responsed. The problem isn't cups not start... The problem is cups not printed...
Comands check my printer, my printer is Canon-LBP7750
maykel-arch /home/maykel # LC_ALL=C lpstat -s system default destination: Canon-LBP7750C-5460 device for Canon-LBP7750C-5460: socket://10.1.0.5:9100
<snip>
And in kde system preferences/print :
http://imageshack.com/a/img833/9360/un96.png
I dont understand not printing...
Thanks for all...
socket://10.1.0.5:9100 ? Is this printer a local or network printer? If this printer has it's own network interface and is connected over a LAN, then the queue on the printer itself may be hung or reporting an incorrect status to cups causing cups to show waiting to finish... If so, try power cycling the printer and then restart cups (check the network connections in between as well) Other than than, I think Andreas has probably hit the nail on the head. See: https://bugs.archlinux.org/task/32923, then add feedback at: https://bugs.archlinux.org/task/38684 -- David C. Rankin, J.D.,P.E.
participants (7)
-
Andreas Radke
-
Bardur Arantsson
-
David C. Rankin
-
Jelle van der Waa
-
luc
-
Maykel Franco
-
ushi