Tag Archives: Bad Request

Lpstat: Bad Request Error in Linux

By Mohammed Faiz

Dear Team,

Earlier my

Code:

lpstat syntax


is working on o/s, I have installed cups

Code:

"cups-1.6.1"


after that I’m not able to open the printer option in GUI and cannot do the query

Code:

"lpstat -a"


Below is the error i’m getting..Request you to advice me the best to me.

Code:

[root@r12devdb cups-1.6.1]# lpstat
lpstat: Bad Request


My O/s Version.

Code:

[root@r12devdb ~]# uname -v
#1 SMP Wed Oct 10 16:48:44 EDT 2007
[root@r12devdb ~]# uname -a
Linux r12devdb.ghobash.com 2.6.18-53.el5xen #1 SMP Wed Oct 10 16:48:44 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
[root@r12devdb ~]# uname -r
2.6.18-53.el5xen
[root@r12devdb ~]# uname -mrs
Linux 2.6.18-53.el5xen x86_64
[root@r12devdb ~]#
[root@r12devdb cups-1.6.1]# cat /etc/*release
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
[root@r12devdb cups-1.6.1]# cat /proc/version
Linux version 2.6.18-53.el5xen (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 16:48:44 EDT 2007
[root@r12devdb cups-1.6.1]#


Thank you,
Faiz.

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums