LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CUPS "client-error-not-possible" (https://www.linuxquestions.org/questions/linux-newbie-8/cups-client-error-not-possible-367337/)

tommilo 09-26-2005 08:42 PM

CUPS "client-error-not-possible"
 
I set up my HP OfficeJet 7110 with the recommended HP OfficeJet 7110 Foomatic/hpijs driver. CUPS seems to be installed okay and I can access the web interface at http://localhost:631/printers. Everything looks fine on the CUPS management interface, but when I try to print a test page, nothing happens. Here is the output of the /var/log/cups/error_log file for the last test page attempt:
I [26/Sep/2005:17:46:23 -0700] Hint: Try setting the LogLevel to "debug" to find out more.
I [26/Sep/2005:18:23:57 -0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=9094)
I [26/Sep/2005:18:23:59 -0700] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=9096)
I [26/Sep/2005:18:23:59 -0700] Adding start banner page "none" to job 18.
I [26/Sep/2005:18:23:59 -0700] Adding end banner page "none" to job 18.
I [26/Sep/2005:18:23:59 -0700] Job 18 queued on 'OfficeJet-7110' by 'root'.
I [26/Sep/2005:18:23:59 -0700] Started filter /usr/lib/cups/filter/pstops (PID 9097) for job 18.
I [26/Sep/2005:18:23:59 -0700] Started filter /usr/lib/cups/filter/foomatic-rip (PID 9098) for job 18.
I [26/Sep/2005:18:23:59 -0700] Started backend /usr/lib/cups/backend/usb (PID 9099) for job 18.
E [26/Sep/2005:18:23:59 -0700] PID 9098 stopped with status 22!
I [26/Sep/2005:18:23:59 -0700] Hint: Try setting the LogLevel to "debug" to find out more.
I [26/Sep/2005:18:24:09 -0700] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=9102)
I [26/Sep/2005:18:24:12 -0700] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=9105)
I [26/Sep/2005:18:24:18 -0700] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=9106)
E [26/Sep/2005:18:24:18 -0700] restart_job: job #18 cannot be restarted - no files!
I [26/Sep/2005:18:24:29 -0700] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=9109)
I [26/Sep/2005:18:24:31 -0700] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=9112)
I [26/Sep/2005:18:24:35 -0700] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=9113)
E [26/Sep/2005:18:24:35 -0700] restart_job: job #18 cannot be restarted - no files!

I have the Log Level at debug2 in the /etc/cups/cupsd.conf file. I do not know what the status 22 error means. And I don't know why the error "no files!" occurs when I try to restart the (automatically, instantly) aborted print job 18.

I am really new at this and come to the end of what I can try on my own. Thanks for any hints.

-X- 09-27-2005 05:57 AM

See what this says.
$ /sbin/lsmod | grep usb
and
$ dmesg | grep usb

Some distros(?) don't load the usb by default.

tommilo 09-27-2005 07:59 AM

Thanks for your reply:
The output for dmesg | grep usb was no output at all.
The output for /sbin/lsmod | grep usb was:

usblp 12032 0
usbhid 28864 0
usbcore 104164 6 usblp,usbhid,ehci_hcd,uhci_hcd

-X- 09-27-2005 08:16 AM

What's your distro? Good thing to put in your profile.

tommilo 09-27-2005 11:41 AM

Debian 3.1 Sarge, kernel 2.6

BTW, I just looked again at dmesg and I have a problem I did not know about, apparently. dmesg all looks like this:

FIFO write timed out
parport0: FIFO is stuck
parport0: BUSY timeout (1) in compat_write_block_pio
FIFO write timed out
parport0: FIFO is stuck
parport0: BUSY timeout (1) in compat_write_block_pio
FIFO write timed out

-X- 09-27-2005 01:23 PM

Not a Debian guy and don't know the /etc layout so maybe post there for some guru if you can't get it resolved.

Anyway, see if localhost:631 isn't hooked up to the LP port. May have something to do with the USB printer.

tommilo 09-27-2005 06:44 PM

Thanks for your patience. I am not quite sure how to respond about the localhost and the port. I do know that when I use the browser and go to http://localhost:631/ I do see the printer and the CUPS configuration interface and everything checks out okay. It is just that when from this interface, when I elect to print a test page, the job is automatically aborted and cannot be restarted, with the errors (PID stopped . . . status 22 and no files!) mentioned in my initial post.

BTW, I don't know if it is relevant, but here is the output of lpinfo -v:
network socket
network http
network ipp
network lpd
direct parallel:/dev/unknown-parallel0
direct usb://Hewlett-Packard/officejet%207100%20series?serial=MY385D10YH6G
direct usb:/dev/usb/lp1
direct usb:/dev/usb/lp2
direct usb:/dev/usb/lp3
direct usb:/dev/usb/lp4
direct usb:/dev/usb/lp5
direct usb:/dev/usb/lp6
direct usb:/dev/usb/lp7
direct usb:/dev/usb/lp8
direct usb:/dev/usb/lp9
direct usb:/dev/usb/lp10
direct usb:/dev/usb/lp11
direct usb:/dev/usb/lp12
direct usb:/dev/usb/lp13
direct usb:/dev/usb/lp14
direct usb:/dev/usb/lp15

Thanks!

-X- 09-28-2005 07:34 AM

Well, at this point I'm at a loss. Probably remove/delete the printer through cups, localhost:631. Look for any thing that shouldn't be there. Reboot and setup the print again.

Not sure about gnome, but KDE has a pretty good printer setup module.

If you run out of ideas, grab a set of FC3 CDs and give that a try. I know it does great for automatic printer detection/setup. You may be able to learn something from that which could assist with the Debian problem.

HTH, I'm out of ideas for now.


All times are GMT -5. The time now is 10:58 PM.