Unable to write print data: Broken pipe

Verena Alishahi v.alishahi at fz-juelich.de
Wed Jul 2 07:41:48 PDT 2008


I've setup a cups-Server running version 1.3.7 (I've tested version 1.2.12-22, too). My operating system is openSUSE 10.3, with kernel 2.6.22.18-0.2-default.

I have different HP printers, which are connected to the network with their HPJetDirect and I want to configure them with AppSocket, because it's the fastest way to print.
With cups-1.1.23 this worked without any problem, but with the newer cups-versions, I neither can't print the testpage nor anything else.

The main error message in error_log is:
[Job 4] Unable to write print data: Broken pipe
[Job 4] Backend returned status 1 (failed)

What does it mean?

You'll find the whole output of error_log in debug-mode below:

D [02/Jul/2008:16:09:12 +0200] cupsdReadClient: 8 GET /printers/icg17c
4?op=print-test-page HTTP/1.1
D [02/Jul/2008:16:09:12 +0200] cupsdAuthorize: No authentication data
provided.
D [02/Jul/2008:16:09:12 +0200] [CGI] /usr/lib/cups/cgi-bin/printers.cg
i started - PID = 13925
I [02/Jul/2008:16:09:12 +0200] Started "/usr/lib/cups/cgi-bin/printers
.cgi" (pid=13925)
D [02/Jul/2008:16:09:12 +0200] cupsdSendCommand: 8 file=9
D [02/Jul/2008:16:09:12 +0200] cupsdAcceptClient: 11 from localhost (D
omain)
D [02/Jul/2008:16:09:12 +0200] cupsdReadClient: 11 POST /printers/icg1
7c4 HTTP/1.1
D [02/Jul/2008:16:09:12 +0200] cupsdAuthorize: No authentication data
provided.
D [02/Jul/2008:16:09:12 +0200] Print-Job ipp://localhost:631/printers/
icg17c4
D [02/Jul/2008:16:09:12 +0200] Adding default job-sheets values "none,
none"...
I [02/Jul/2008:16:09:12 +0200] [Job 4] Adding start banner page "none"
. 
D [02/Jul/2008:16:09:12 +0200] Discarding unused job-created event...
I [02/Jul/2008:16:09:12 +0200] [Job 4] Adding job file of type application/postscript.
I [02/Jul/2008:16:09:12 +0200] [Job 4] Adding end banner page "none".
I [02/Jul/2008:16:09:12 +0200] [Job 4] Queued on "icg17c4" by "anonymous".
D [02/Jul/2008:16:09:12 +0200] [Job 4] hold_until = 0
D [02/Jul/2008:16:09:12 +0200] Discarding unused printer-state-changed event...
D [02/Jul/2008:16:09:12 +0200] [Job 4] job-sheets=none,none
D [02/Jul/2008:16:09:12 +0200] [Job 4] banner_page = 0
D [02/Jul/2008:16:09:12 +0200] [Job 4] argv[0]="icg17c4"
D [02/Jul/2008:16:09:12 +0200] [Job 4] argv[1]="4"
D [02/Jul/2008:16:09:12 +0200] [Job 4] argv[2]="anonymous"
D [02/Jul/2008:16:09:12 +0200] [Job 4] argv[3]="Test Page"
D [02/Jul/2008:16:09:12 +0200] [Job 4] argv[4]="1"
D [02/Jul/2008:16:09:12 +0200] [Job 4] argv[5]="job-uuid=urn:uuid:d1995155-3855-3ec0-6a52-aa3540aa467b"
D [02/Jul/2008:16:09:12 +0200] [Job 4] argv[6]="/var/spool/cups/d00004-001"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[0]="CUPS_CACHEDIR=/etc/cups/yes"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[2]="CUPS_DOCROOT=/usr/share/doc/packages/cups"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[9]="SERVER_ADMIN=root at icg257.icg.kfa-juelich.de"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[10]="SOFTWARE=CUPS/1.3.7"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[11]="TMPDIR=/tmp"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[12]="USER=root"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[15]="IPP_PORT=631"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[16]="CHARSET=utf-8"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[17]="LANG=en_US.UTF8"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[18]="PPD=/etc/cups/ppd/icg17c4.ppd"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[19]="RIP_MAX_CACHE=8m"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[20]="CONTENT_TYPE=application/postscript"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[21]="DEVICE_URI=socket://icg1048.icg.kfa-juelich.de:9100"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[22]="PRINTER=icg17c4"
D [02/Jul/2008:16:09:12 +0200] [Job 4] envp[23]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
I [02/Jul/2008:16:09:12 +0200] [Job 4] Started filter /usr/lib/cups/filter/pstops (PID 13926)
I [02/Jul/2008:16:09:12 +0200] [Job 4] Started backend /usr/lib/cups/backend/socket (PID 13927)
D [02/Jul/2008:16:09:12 +0200] Discarding unused job-state-changed event...
D [02/Jul/2008:16:09:12 +0200] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [02/Jul/2008:16:09:12 +0200] cupsdCloseClient: 11
D [02/Jul/2008:16:09:12 +0200] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [02/Jul/2008:16:09:12 +0200] PID 13925 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [02/Jul/2008:16:09:12 +0200] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [02/Jul/2008:16:09:12 +0200] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [02/Jul/2008:16:09:12 +0200] [Job 4] Page = 595x842; 12,12 to 583,830
D [02/Jul/2008:16:09:12 +0200] [Job 4] slow_collate=0, slow_duplex=0, slow_order=0
D [02/Jul/2008:16:09:12 +0200] [Job 4] Before copy_comments - %!PS-Adobe-3.0
D [02/Jul/2008:16:09:12 +0200] [Job 4] %!PS-Adobe-3.0
D [02/Jul/2008:16:09:12 +0200] [Job 4] %%BoundingBox: 0 0 612 792
D [02/Jul/2008:16:09:12 +0200] [Job 4] %%Pages: 1
D [02/Jul/2008:16:09:12 +0200] [Job 4] %%LanguageLevel: 1
D [02/Jul/2008:16:09:12 +0200] [Job 4] %%DocumentData: Clean7Bit
D [02/Jul/2008:16:09:12 +0200] [Job 4] %%DocumentSuppliedResources: procset testprint/1.3
D [02/Jul/2008:16:09:12 +0200] [Job 4] %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [02/Jul/2008:16:09:12 +0200] [Job 4] %%Creator: Michael Sweet, Apple Inc.
D [02/Jul/2008:16:09:12 +0200] [Job 4] %%CreationDate: D:20070606214000+0500
D [02/Jul/2008:16:09:12 +0200] [Job 4] %%Title: Test Page
D [02/Jul/2008:16:09:12 +0200] [Job 4] %%EndComments
D [02/Jul/2008:16:09:12 +0200] [Job 4] Before copy_prolog - %%BeginProlog
D [02/Jul/2008:16:09:12 +0200] [Job 4] Before copy_setup - %%Page: 1 1
D [02/Jul/2008:16:09:12 +0200] [Job 4] Before page loop - %%Page: 1 1
D [02/Jul/2008:16:09:12 +0200] [Job 4] Copying page 1...
D [02/Jul/2008:16:09:12 +0200] Discarding unused job-progress event...
D [02/Jul/2008:16:09:12 +0200] [Job 4] pagew = 571.1, pagel = 817.6
D [02/Jul/2008:16:09:12 +0200] [Job 4] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
D [02/Jul/2008:16:09:12 +0200] [Job 4] PageLeft = 12.0, PageRight = 583.1
D [02/Jul/2008:16:09:12 +0200] [Job 4] PageTop = 829.7, PageBottom = 12.1
D [02/Jul/2008:16:09:12 +0200] [Job 4] PageWidth = 595.0, PageLength = 842.0
D [02/Jul/2008:16:09:12 +0200] [Job 4] Wrote 1 pages...
D [02/Jul/2008:16:09:12 +0200] PID 13926 (/usr/lib/cups/filter/pstops) exited with no errors.
D [02/Jul/2008:16:09:12 +0200] Discarding unused printer-state-changed event...
D [02/Jul/2008:16:09:12 +0200] Discarding unused printer-state-changed event...
D [02/Jul/2008:16:09:12 +0200] Discarding unused printer-state-changed event...
D [02/Jul/2008:16:09:12 +0200] [Job 4] Connected to 134.94.154.9:9100 (IPv4)...
D [02/Jul/2008:16:09:12 +0200] [Job 4] backendRunLoop(print_fd=0, device_fd=5, use_bc=1, side_cb=0x80001050)
D [02/Jul/2008:16:09:12 +0200] [Job 4] Read 8192 bytes of print data...
D [02/Jul/2008:16:09:12 +0200] Discarding unused printer-state-changed event...
D [02/Jul/2008:16:09:12 +0200] Discarding unused printer-state-changed event...
D [02/Jul/2008:16:09:12 +0200] Discarding unused printer-state-changed event...
D [02/Jul/2008:16:09:12 +0200] [Job 4] Wrote 8192 bytes of print data...
D [02/Jul/2008:16:09:12 +0200] [Job 4] Read 8192 bytes of print data...
E [02/Jul/2008:16:09:12 +0200] [Job 4] Unable to write print data: Broken pipe
D [02/Jul/2008:16:09:12 +0200] Discarding unused printer-state-changed event...
E [02/Jul/2008:16:09:12 +0200] PID 13927 (/usr/lib/cups/backend/socket) stopped with status 1!
D [02/Jul/2008:16:09:12 +0200] [Job 4] File 0 is complete.
I [02/Jul/2008:16:09:12 +0200] [Job 4] Backend returned status 1 (failed)
D [02/Jul/2008:16:09:12 +0200] Discarding unused printer-state-changed event...
D [02/Jul/2008:16:09:13 +0200] Discarding unused printer-stopped event...
I [02/Jul/2008:16:09:13 +0200] Saving printers.conf...
D [02/Jul/2008:16:09:13 +0200] Discarding unused job-stopped event...
D [02/Jul/2008:16:09:13 +0200] [Job 4] Unloading...

Thanks for any hint!

best regards,
Verena





More information about the cups mailing list