#Original message:
#
#Hello [DT]u-admins,
#
#I upgraded some of our Alphas last week to TU4.0F with PK4 and since,
#I'm seeing a lot of errors like the following two cropping up in
#syslog.dated/lpd.log:
#
#Aug 24 07:58:52 hagar lpd[14434]: INFO -- printjob: created file
#/usr/spool/impr/q833/.daemon_running, printer Q833
#Aug 24 07:58:54 hagar lpd[14434]: WARNING -- read_some_chars: read
#timeout after 2 seconds
#Aug 24 07:58:54 hagar lpd[14434]: INFO -- printjob: exiting since all
#done, printer Q833
#
#and
#
#Aug 24 08:33:12 hagar lpd[8010]: INFO -- printjob: created file
#/var/spool/impr/q802/.daemon_running, printer q802
#Aug 24 08:34:18 hagar lpd[8010]: ERROR -- read_some_chars: read()
#failed, error: Bad file number
#Aug 24 08:34:18 hagar lpd[8010]: INFO -- printjob: exiting since all
#done, printer q802
#
#Has anyone seen this before? . These messages are somewhat mysterious,
#since I had no users complaning of anything regarding their prints.
#
#Thanks in advance!
Thanks to:
John P Speno <speno_at_isc.upenn.edu>
"Mark W. Sornson" <Mark.Sornson_at_compaq.com>
for taking time to reply.
Following is Mark's answer, which describes well what happens:
>Hello Charles,
>
>This was forwarded to me. I can answer your question.
>
>The messages are harmless (though annoying). Lpd now
>makes an attempt to read data back from the printer before
>closing the connection. We found that we had to do this
>to support printers connected via DECservers. [If the
>printer sent data back that lpd didn't read, closing the
>connection by lpd caused the DECserver to flush its
>buffer (possibly before completely sending the print job
>data to the printer). Hence the readback by the lpd
>internal function read_some_chars().]
>
>The second message sounds as though the print queue
>specified /dev/null as the value for "lp" in /etc/printcap.
>Lpd attempts the same read-data-before-closing connection,
>but can't do it because it can't read from /dev/null,
>hence the "Bad file number" error.
>
>We recently made some changes to eliminate both of these
>messages, but they won't be available until the next patch
>kit release.
>
>regards,
>-mark sornson.
>compaq
Thanks again guys.
===============================================
Charles Vachon tel: (418) 627-6355 x2760
email: cvachon2_at_mrn.gouv.qc.ca
Administrateur de système
FRCQ/Ministère des Ressources
Naturelles du Québec
===============================================
Received on Thu Aug 31 2000 - 14:19:46 NZST