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
[SOLVED] Is-it possible to show the jobs queue in C6 from C5
[SOLVED] Is-it possible to show the jobs queue in C6 from C5
Last edited by skymanV6 on 2015/06/10 14:03:53, edited 1 time in total.
Re: Is-it possible to show the jobs queue in centos6 from ce
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).
Re: [SOLVED] Is-it possible to show the jobs queue in C6 fro
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
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