"/usr/lib/cups/backend/http failed"

Jan jan at hatterscheid.info
Fri Oct 20 10:07:47 PDT 2006


Hi,

I have two printers behind a firewall and I connect those over http://[the official IP]:631/ipp and http://[the official IP]:632/ipp

On the firewall is a port-forwarder for port 632 to 631 (IPP). This works fine until i have updated CUPS to Version 1.3svn.

Now the printer with http://[the official IP]:631/ipp is idle and prints the task and than it says "Printer State: processing, accepting jobs, published." and the job is still there as "processing"

The error-log says:

I [20/Oct/2006:18:57:17 +0200] cupsdCloseClient: SSL shutdown successful!
I [20/Oct/2006:18:57:32 +0200] cupsdCloseClient: SSL shutdown successful!
I [20/Oct/2006:18:58:06 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13915)
I [20/Oct/2006:18:58:10 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13916)
I [20/Oct/2006:18:58:10 +0200] Adding start banner page "none" to job 70.
I [20/Oct/2006:18:58:10 +0200] Adding end banner page "none" to job 70.
I [20/Oct/2006:18:58:10 +0200] Job 70 queued on "MyPrinter1" by "guest".
I [20/Oct/2006:18:58:10 +0200] Started filter /usr/lib/cups/filter/pstops (PID 13917) for job 70.
I [20/Oct/2006:18:58:10 +0200] Started backend /usr/lib/cups/backend/http (PID 13918) for job 70.
N [20/Oct/2006:18:58:12 +0200] [Job 70] Print file accepted - job ID 50280.
I [20/Oct/2006:18:58:12 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13919)
I [20/Oct/2006:18:58:23 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13921)
I [20/Oct/2006:18:58:31 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13922)
I [20/Oct/2006:18:58:33 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13925)
I [20/Oct/2006:18:58:44 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13926)
I [20/Oct/2006:18:58:54 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13928)
I [20/Oct/2006:18:59:05 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13930)
I [20/Oct/2006:18:59:15 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13931)
I [20/Oct/2006:18:59:26 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13933)
I [20/Oct/2006:18:59:36 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13939)
I [20/Oct/2006:18:59:47 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13941)
I [20/Oct/2006:18:59:58 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13942)
I [20/Oct/2006:19:00:08 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13944)
I [20/Oct/2006:19:00:19 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13947)
I [20/Oct/2006:19:00:29 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13948)
I [20/Oct/2006:19:00:40 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13953)
I [20/Oct/2006:19:00:50 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13955)
I [20/Oct/2006:19:01:01 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13957)
I [20/Oct/2006:19:01:12 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13958)
I [20/Oct/2006:19:01:22 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13960)
I [20/Oct/2006:19:01:33 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13962)
I [20/Oct/2006:19:01:43 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13965)
I [20/Oct/2006:19:01:54 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13967)
I [20/Oct/2006:19:02:04 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13969)
I [20/Oct/2006:19:02:15 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13970)
I [20/Oct/2006:19:02:23 +0200] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=13972)
I [20/Oct/2006:19:02:23 +0200] Job 70 was canceled by "guest".
I [20/Oct/2006:19:02:24 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13973)
I [20/Oct/2006:19:03:32 +0200] cupsdCloseClient: SSL shutdown successful!

After deleting the job in the status "processing" the printer is idle again.

----

The other printer says "/usr/lib/cups/backend/http failed" and has the Printer State: stopped, accepting jobs, published.

When i try to restart the printer the error logs shows:

I [20/Oct/2006:19:05:05 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=13997)
E [20/Oct/2006:19:05:05 +0200] Resume-Printer: Unauthorized
I [20/Oct/2006:19:05:09 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=13998)
E [20/Oct/2006:19:05:09 +0200] Resume-Printer: Unauthorized
I [20/Oct/2006:19:05:09 +0200] Saving printers.conf...
I [20/Oct/2006:19:05:09 +0200] Printer "myPrinter2" started by "root".
I [20/Oct/2006:19:05:09 +0200] Started filter /usr/lib/cups/filter/pstops (PID 13999) for job 40.
I [20/Oct/2006:19:05:09 +0200] Started backend /usr/lib/cups/backend/http (PID 14000) for job 40.
E [20/Oct/2006:19:05:09 +0200] [Job 40] No %%BoundingBox: comment in header!
E [20/Oct/2006:19:05:09 +0200] [Job 40] Destination printer does not exist!
E [20/Oct/2006:19:05:09 +0200] PID 14000 (/usr/lib/cups/backend/http) stopped with status 4!
I [20/Oct/2006:19:05:09 +0200] Hint: Try setting the LogLevel to "debug" to find out more.
I [20/Oct/2006:19:05:09 +0200] [Job 40] Backend returned status 4 (stop printer)
I [20/Oct/2006:19:05:09 +0200] Saving printers.conf...
I [20/Oct/2006:19:05:14 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=14003)
I [20/Oct/2006:19:05:14 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=14004)

What went wrong. Is there a problem with the firewall or with cups?




More information about the cups mailing list