Why Am I Getting The Error: client-error-not possible?

Created at 08:04 Jun 15, 2005 by steve, last modified at 07:23 Feb 01, 2006

Possible causes of client-error-not-possible:

    1. Trying to add a class with the same name as a printer.
    2. Trying to add a printer with the same name as a class.
    3. Trying to add a printer using a file: device without
       setting "FileDevice" to "yes" in cupsd.conf.
    4. Trying to add a printer using an unknown device URI or
       scheme.
    5. Trying to cancel a job that does not exist.
    6. Trying to print a file when there are too many jobs in
       the system.
    7. Trying to print a file when you have exceeded your quota
       settings.
    8. Trying to move a job that has already printed.
    9. Trying to release a job that is not held.
    10. Trying to restart a job that is not completed.
    11. Trying to change job options for a job that is completed.
    12. Trying to print a directory.

All of these except #12, which happens on the client side in cupsPrintFiles(), will log a human-readable error in the /var/log/cups/error_log file. Listing


Comments

Submit Comment

From quiliro, 07:37 Mar 27, 2006 (score=4)

Hello. "client-error-not-possible" message when clicking on restart job. I do this because all jobs have not been printed, even the test page. The jobs appear as cancelled. How can I check what is happenning? Reply

From steve, 08:19 Mar 27, 2006 (score=4)

Sounds like you need to edit your cupsd.conf file and make sure it has a line that says:

PreserveJobFiles On Reply

From quiliro, 14:02 Mar 27, 2006 (score=4)

I tried it but had no luck. The message was the same as before: cancelled at Mon Mar 27 16:57:43 2006

Previously I restarted cups sh /etc/rc.d/rc.cups restart Reply

From steve, 06:43 Mar 28, 2006 (score=3)

Can't recreate old jobs. From now on, with the proper settings you will be able to. Reply

From dmonty, 11:44 Nov 07, 2007 (score=3)

Windows98 -to- samba print share -to- cups does not obey cups' AllowUser=@teachers protocol.   Where "teachers" is the primary group for the user.  The cups log shows - client-error-not-possible.  When we disable AllowUser then printing works.  Printing from Linux workstation obeys the AllowUser protocol - it is just win98 through samba.  We suspect cups/samba is not looking up primary groups only secondary groups or cups/samba is not looking up groups at all.

running debian etch:

Reply

From pnoewbe, 21:08 Mar 27, 2006 (score=3)

I don't see how any of those 12 possibilities fits my situation.

Yes, I do have esp ghostscript installed.

D [27/Mar/2006:23:47:21 -0500] cupsdAcceptClient: 10 from localhost (Domain) D [27/Mar/2006:23:47:21 -0500] cupsdReadClient: 10 POST /printers/lexz53 HTTP/1.1 D [27/Mar/2006:23:47:21 -0500] cupsdAuthorize: No authentication data provided. D [27/Mar/2006:23:47:21 -0500] print_job: auto-typing file... D [27/Mar/2006:23:47:21 -0500] print_job: request file type is application/postscript. D [27/Mar/2006:23:47:21 -0500] check_quotas: requesting-user-name = "jerome" D [27/Mar/2006:23:47:21 -0500] print_job: requesting-user-name = "jerome" I [27/Mar/2006:23:47:21 -0500] Adding start banner page "none" to job 5. I [27/Mar/2006:23:47:21 -0500] Adding end banner page "none" to job 5. I [27/Mar/2006:23:47:21 -0500] Job 5 queued on "lexz53" by "jerome". D [27/Mar/2006:23:47:21 -0500] Job 5 hold_until = 0 D [27/Mar/2006:23:47:21 -0500] Discarding unused job-created event... D [27/Mar/2006:23:47:21 -0500] cupsdStartJob() id = 5, file = 0/1 E [27/Mar/2006:23:47:21 -0500] Unable to convert file 0 to printable format for job 5! I [27/Mar/2006:23:47:21 -0500] Hint: Do you have ESP Ghostscript installed? D [27/Mar/2006:23:47:21 -0500] Discarding unused job-completed event... D [27/Mar/2006:23:47:21 -0500] cupsdCancelJob: id = 5 D [27/Mar/2006:23:47:21 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)

Manage Printers--

Description: Lexmark Z53 Location: okiserver Make and Model: Lexmark Z53 - CUPS+Gutenprint v5.0.0-rc2 Printer State: idle, accepting jobs, published. Device URI: socket://192.168.1.5:9100/

/etc/cups/printers.conf

# Printer configuration file for CUPS v1.2svn # Written by cupsd on 2006-03-27 23:46 <DefaultPrinter lexz53> Info Lexmark Z53 Location okiserver DeviceURI socket://192.168.1.5:9100/ State Idle StateTime 1143516725 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy abort-job </Printer>

linux 2.6.15, ubuntu dapper Reply

From steve, 06:42 Mar 28, 2006 (score=3)

Make sure you have pstoraster installed:

In /usr/lib/cups/filter it should say pstoraster

   AND

In /etc/cups it should say pstoraster.convs

Reply

From seth, 20:05 Mar 14, 2006 (score=3)

Getting 'client-error-not-possible' message, whenever trying to print with cups. Originally, cups admin test page printed fine, but OpenOffice-1.1.3, though it recognized the printer, refused to actually *print* any documents. I upgraded to OpenOffice2.0.2, but no change, except that now, nothing prints. No test page in cups admin, no lpr -P from command line...nothing.

Knoppix 3.7 hdd installation on Sager Notebook Computer, Model NP2260:

Intel Pentium III 1.0GHz Processor with 256KB on-die Cache 512 MB SDRAM System Chip   SIS 630S Chipset LCD Screen   14.1" TFT XGA: LG / LP141X5 (inoperable; using std monitor) Video Memory   8/16/32MB Shared Memory Architecture (SMA)<Boo, Hiss> Video Control Chip   SIS 630S Ultra-AGP Video-In Control Chip   None Audio Control Chip   SIS 630S Integrated I/O Control Chip   SMSC-FDC 37N869 Integrated LAN Chip   SIS 630S Integrated IEEE1394 Control Chip   TSB 41LV01 Infrared Chip   SMC PCMCIA Contorl Chip   TI PCI1410PGE Touch Pad   ALPS 56AAA1793B Hard Disk Drive   30GB Floppy Drive   TEAC FD-05HG CD-ROM/DVD-ROM Drive   Toshiba SD-C2402 DVD-ROM (8X Max.), Miscellanies   8ohm, 1W Stereo Speakers PCMCIA Cards:  SMC 2632W 11 Mbps Wireless NIC

Printer: HP PhotoSmart 7150

I went to the FAQ page, for "Possible causes of client-error-not-possible:"   
    1. Trying to add a class with the same name as a printer.
          -Nope...no classes set up.
    2. Trying to add a printer with the same name as a class.
          -Nope again, same reason as above.
    3. Trying to add a printer using a file: device without
       setting "FileDevice" to "yes" in cupsd.conf.
          -Possible, but I confess I do not understand (exactly) what to   
           add to the cupsd.conf file, to solve this. I did not find a
           section mentioning devices, with a yes/no option in the file.
    4. Trying to add a printer using an unknown device URI or
       scheme.
          -As I said earlier, the test page printed from admin when the 
           printer was first set up. I have tried deleteing and 
           recreating the printer, but it still refuses to print.
    5. Trying to cancel a job that does not exist.
          -Nope. Not this, either.
    6. Trying to print a file when there are too many jobs in
       the system.
          -Sorry; I have deliberately tried only one job at a time.
    7. Trying to print a file when you have exceeded your quota
       settings.
          -Quota set to unlimited. How can one exceed infinity?
    8. Trying to move a job that has already printed.
          -Please. It's not this one, either.
    9. Trying to release a job that is not held.
          -Promising.... Held, where, exactly, and how?
    10. Trying to restart a job that is not completed.
          -Nah. Only one at a time. Incompleted jobs are always   
           cancelled, before new jobs initiated.
    11. Trying to change job options for a job that is completed.
          -Nope.
    12. Trying to print a directory.
          -Sorry; the file's a file, not a directory.

From command line:

seth@tuxpenguin:~$ lpr -PHP7150 Im_an_Admin lpr: unable to print file: client-error-not-possible

...and, as root:

root@tuxpenguin:/home/seth# lpr -PHP7150 Im_an_Admin lpr: unable to print file: client-error-not-possible

root@tuxpenguin:/home/seth# tail -20 /var/log/cups/error_log D [15/Mar/2006:04:59:18 +0100] SendCommand: 5 file=8 D [15/Mar/2006:04:59:19 +0100] AcceptClient: 7 from localhost:631. D [15/Mar/2006:04:59:19 +0100] ReadClient: 7 POST / HTTP/1.1 D [15/Mar/2006:04:59:19 +0100] ProcessIPPRequest: 7 status_code=1 D [15/Mar/2006:04:59:19 +0100] ReadClient: 7 POST / HTTP/1.1 D [15/Mar/2006:04:59:19 +0100] ProcessIPPRequest: 7 status_code=1 D [15/Mar/2006:04:59:19 +0100] CloseClient: 7 D [15/Mar/2006:04:59:25 +0100] ReadClient: 5 GET /printers/HP7150?op=print-test-page HTTP/1.1 D [15/Mar/2006:04:59:25 +0100] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 27090 I [15/Mar/2006:04:59:25 +0100] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=27090) D [15/Mar/2006:04:59:25 +0100] SendCommand: 5 file=8 D [15/Mar/2006:04:59:25 +0100] AcceptClient: 7 from localhost:631. D [15/Mar/2006:04:59:25 +0100] ReadClient: 7 POST /printers/HP7150 HTTP/1.1 D [15/Mar/2006:04:59:25 +0100] print_job: request file type is application/postscript. D [15/Mar/2006:04:59:25 +0100] check_quotas: requesting-user-name = 'root' I [15/Mar/2006:04:59:25 +0100] Denying user "root" access to printer "HP7150"... D [15/Mar/2006:04:59:25 +0100] Sending error: client-error-not-possible D [15/Mar/2006:04:59:25 +0100] ProcessIPPRequest: 7 status_code=404 D [15/Mar/2006:04:59:25 +0100] CloseClient: 7 D [15/Mar/2006:05:00:37 +0100] CloseClient: 5

How do I get rid of the error and actually get some (*&%$%&^&$#%&&*%) printing done?

(If you need further information, please be specific about how I should find it. I am certain the problem is nothing for a seasoned admin to solve, but I have tried everything I know how to do, to no avail.)

Thank you,

Seth

Reply

From steve, 07:29 Mar 15, 2006 (score=3)

Send printers.conf file Reply

From seth, 15:51 Mar 15, 2006 (score=3)

# Printer configuration file for CUPS v1.1.21rc1 # Written by cupsd on Wed Mar 15 04:49:21 2006 <DefaultPrinter HP7150> Info Location DeviceURI usb://hp/photosmart%207150?serial=MY266320B92F State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 AllowUser 192.168.1.57 AllowUser 192.168.1.17 AllowUser 192.168.1.37 AllowUser 192.168.1.47 </Printer> /etc/cups/printers.conf (END)   Reply

From steve, 10:40 Mar 16, 2006 (score=3)

Two things:

1) AllowUser needs to be a user's name not an IP

2) If you want to limit access by IP address, put it in the cupsd.conf file using the Allow directive

For ex: Allow 192.168.1.57 Reply