[comp.unix.ultrix] Major LPD problems

bill@pslu1.psl.wisc.edu (Bill Roth) (12/14/90)

I'm have trouble with the prinert deamon, lpd. I've got 4 printers of
various types, all on a LAT terminal server. Seemingly randomly, when I 
print to any of the printers, I get the following message in my 
printer err log:

/usr/lib/lpd: psl_draft: cannot open /dev/tty15: Socket is already connected

It happens for ALL my printers. The printcap for the above printer, a humble
LN03 is:

# draft room printer
psl_draft|lp|lppsl_draft|psl_draft|psl1:\
	:af=/usr/adm/draft_acct:\
	:br#19200:\
	:ct=lat:\
	:db#1:\
	:dn=/usr/lib/lpd:\
	:fc#0177777:\
	:fs#03:\
	:if=/usr/lib/lpdfilters/ln03of:\
	:lf=/usr/adm/lpd-errs:\
	:lp=/dev/tty15:\
	:mx#0:\
	:of=/usr/lib/lpdfilters/ln03of:\
	:op=PORT_8:\
	:pl#66:\
	:pw#80:\
	:sd=/usr/spool/lpdpsl_draft:\
	:ts=TSVR2:\
	:uv=psv1.0:\
	:xc#0177777:\
	:xs#044000:

This is really annoying, and to top it all off there is next to no
documentation on trouble shooting these problems.

Does anyone out there have any suggestions?

-- 

------------------------------------------------------------------------
Bill Roth,  University of Wisconsin Physical Sciences Laboratory
email: bill@pslu1.psl.wisc.edu bill@wiscpsl.bitnet   /  (608)-873-6651

sac@decuk.uvo.dec.com (Stephen A Carpenter) (12/17/90)

1. Check your op & ts entries are correct.
2. Check that your lcp line in rc.local is ok. It should look like
      lcp -s -h <printer dev list>
3. Check the printer devices are owned by daemon and have rw permissions for
owner
4. Check the device files are actually LAT devices using the file command. 



That's about the whole check list.


Stephen.