Sponsored Content
Operating Systems Linux Lpstat: Bad Request Error in Linux Post 302776055 by Mohammed Faiz on Wednesday 6th of March 2013 12:47:48 AM
Old 03-06-2013
Lpstat: Bad Request Error in Linux

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.
 

8 More Discussions You Might Find Interesting

1. Linux

I screwed up linux really bad...

Hey, I definately screwed up my libraries, but I am not sure how. I get this error: /bin/sh: relocation error: /usr/local/lib/libdl.so.2 symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference when I try to even login. I cannot even get to a... (1 Reply)
Discussion started by: farhan00
1 Replies

2. UNIX for Dummies Questions & Answers

I screwed up linux bad

Hey, I definately screwed up my libraries, but I am not sure how. I get this error: /bin/sh: relocation error: /usr/local/lib/libdl.so.2 symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference when I try to even login. I cannot even get... (2 Replies)
Discussion started by: farhan00
2 Replies

3. SuSE

Request:- Could some do a poll of Linux version usage?

I don't know nearly enough about what versions of Open/Free Linux are available. I was wondering if someone would create a new poll of all the major recent(ish) distros so we can see the percentage of people's preferred distro? I've only ever used Suse and have been very happy with it, but... (0 Replies)
Discussion started by: Mark Ward
0 Replies

4. Shell Programming and Scripting

Http request in Linux

Hi, i need a guide how to write a script which i can do a http request. Let say the request look like below; http://www.test.com?txid=1&type=service&server=linux I have a list of "txid" (in *.txt) and need to run all "txid" acordingly. So that mean, every transaction i have to refer "txid"... (7 Replies)
Discussion started by: malaysoul
7 Replies

5. Solaris

lpstat gives segmentation coredump error

hi everyone, we have solaris 8 in sun v480 server. it gives this error. Segmentation Fault(coredump) can anyone help me in this - urgently. Regards Karthik C (8 Replies)
Discussion started by: cksriramchandra
8 Replies

6. UNIX for Advanced & Expert Users

HELP! what does this mean: "svc: bad direction 256, dropping request"

For a few weeks now, on several of our machines, i've been seeing this in /var/log/messages and dmesg: Nov 14 16:37:48 stg2 kernel: svc: bad direction 256, dropping request Nov 14 16:37:48 stg2 kernel: svc: short len 4, dropping request Nov 14 16:38:02 stg2 kernel: svc: bad direction 256,... (2 Replies)
Discussion started by: fishsponge
2 Replies

7. IP Networking

How to send non get request from linux server

Hi I want to send non get request for HTTP from linux server. Please let me knwo how to do that Thanks Lakshmikant (0 Replies)
Discussion started by: lakshmikant
0 Replies

8. Ubuntu

Unable to connect only when using wget with 400 bad request error

Hi I have a proxy configured on my ubuntu o.s. running on vmware player, but when trying to wgetDownload Nagios Core from SourceForge.net, I have the following error: failed: Connection refused I have check on the web, they ask me to run sudo ufw status, but the output is enabled, so what... (0 Replies)
Discussion started by: fretagi
0 Replies
cupsd(8)							    Apple Inc.								  cupsd(8)

NAME
cupsd - cups scheduler SYNOPSIS
cupsd [ -c config-file ] [ -f ] [ -F ] [ -h ] [ -l ] [ -t ] DESCRIPTION
cupsd is the scheduler for CUPS. It implements a printing system based upon the Internet Printing Protocol, version 2.1. If no options are specified on the command-line then the default configuration file /etc/cups/cupsd.conf will be used. OPTIONS
-c config-file Uses the named configuration file. -f Run cupsd in the foreground; the default is to run in the background as a "daemon". -F Run cupsd in the foreground but detach the process from the controlling terminal and current directory. This is useful for running cupsd from init(8). -h Shows the program usage. -l This option is passed to cupsd when it is run from launchd(8). -t Test the configuration file for syntax errors. COMPATIBILITY
cupsd implements all of the required IPP/2.1 attributes and operations. It also implements several CUPS-specific administration operations. SEE ALSO
backend(7), classes.conf(5), cups-deviced(8), cups-driverd(8), cups-lpd(8), cups-polld(8), cupsd.conf(5), filter(7), launchd(8), mime.convs(5), mime.types(5), printers.conf(5), http://localhost:631/help COPYRIGHT
Copyright 2007-2013 by Apple Inc. 9 March 2009 CUPS cupsd(8)
All times are GMT -4. The time now is 01:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy