[SOLVED] Is-it possible to show the jobs queue in C6 from C5

General support questions including new installations
Post Reply
skymanV6
Posts: 11
Joined: 2012/03/14 15:50:12
Location: Groupe Adeo, Lille, France
Contact:

[SOLVED] Is-it possible to show the jobs queue in C6 from C5

Post by skymanV6 » 2015/06/09 15:23:11

Hello,

I try to show the jobs queue of a centos6 (lpstat -o) from a centos5 without success:

Here is the command :
[centos5]# lpstat -h "my_server_centos6" -o
lpstat: No printer-uri in request!

In Centos6 CUPS log (debug mode), i have this error :
D [09/Jun/2015:14:44:56 +0100] Get-Jobs client-error-bad-request: No printer-uri in request!
E [09/Jun/2015:14:44:56 +0100] Returning IPP client-error-bad-request for Get-Jobs (ipp://localhost/jobs/) from my_centos5_server

If i launch the command locally in my centos6 server, it's work:
D [09/Jun/2015:14:46:48 +0100] cupsdReadClient: 14 1.1 Get-Jobs 1
D [09/Jun/2015:14:46:48 +0100] Get-Jobs ipp://localhost/
D [09/Jun/2015:14:46:48 +0100] Returning IPP successful-ok for Get-Jobs (ipp://localhost/) from localhost

The same command "lpstat -o" from centos 5 or 6 doesn't send the same instruction :
centos5 : ipp://localhost/jobs/
centos6 : ipp://localhost/

My question is : is-it possible to show the jobs queue in centos6 from centos5 with CUPS ?

Thanks
Last edited by skymanV6 on 2015/06/10 14:03:53, edited 1 time in total.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Is-it possible to show the jobs queue in centos6 from ce

Post by aks » 2015/06/09 19:28:15

I think it is. By fdefault cups binds to localhost (127.0.0.1 in ipv4), so it is not possible to query the cups server from outside the machine (i.e.: over the network).

skymanV6
Posts: 11
Joined: 2012/03/14 15:50:12
Location: Groupe Adeo, Lille, France
Contact:

Re: [SOLVED] Is-it possible to show the jobs queue in C6 fro

Post by skymanV6 » 2015/06/10 14:08:58

The problems comes from CUPS in my Centos5.3.
I did the same test with other Centos (5.5 and 6.6), and it was working

So, i updated only the rpm cups from cups-libs-1.3.7-8.el5 (CentOS 5.3) to cups-1.3.7-30.el5_9.3 (CentOS 5.11).

[root@centos5]# lpstat -h my_server_centos6 -o
lptest-34340 test 7168 Qui 14 Mai 2015 18:38:04 WEST

Now, it's working.

Thanks

Post Reply