From: Bob Martin (Bob.Martin@f34.n343.z1.fidonet.org)
Date: 12/31/92


From: Bob.Martin@f34.n343.z1.fidonet.org (Bob Martin)
Subject: lpd
Date: 31 Dec 1992 20:50:52 GMT


 From : Bob Martin Number : 1
   To : all Ref.# : 135
Subj. : [Q] Can't keep lpd daemon Conf : Linux
 Date : 12-31-92 Time : 06:52 [1/3]

  William T. O Connell,
  In a message on 27 December, wrote :

WT> From: wto@cbnewsg.cb.att.com (William T. O Connell)
WT>
WT>
WT> I have setup the lpr package that I just FTP'ed. But when I WT>
either start the daemon (lpd) from rc.local or the command line WT>
(i.e. /dev/etc/lpd &) it dies with no signs.
WT>
WT> The output from lpq:
WT>
WT> <<< Output from lpq >>>
WT> Warning: no daemon present <--------- It's dead
WT> Rank Owner Job Files Total
Size WT> 1st root 2 readme.lpr
2466 bytes WT> 2nd root 3 t
   3 bytes WT>
WT>
WT> Daemon permissions:
WT>
WT> <<< Permissions of lpd >>>
WT> -rwxr-xr-x 1 root root 37892 Nov 19 23:32 /usr/etc/lpd
WT>
WT> Any clues would be appreciated.
WT>
WT> - Bill wto@ihlpx.att.com
WT>
WT>
WT> ---
WT> * Origin: Gated by {remote.uucp}, +1 206 292 9048 (1:343/94) WT>
I was having the same problem. I was using the binaries from a file
lpr2.zip (no sources). I then got the file plpsrc01.zip which seems to
produce a similiar set of binaries but the problem persisted. After
spending the better part of a day compilng/installing/tracing/debugging
I found that lpd was dying trying to read the file services in
/usr/etc/inet (so i quess the network stuff is required to be installed)
and get a port number for the printer so I added the following line to
services:

printer 1/tcp

That seem to do the trick, lpd stays running. Now to fiqure out how
these permissions need to be set! Like I said this worked with the plp
stuff but since the problem seems to the same try this and see. good
luck!

bob martin
  
...
 * ATP/Linux 1.40 * It is dangerous to confuse children with angels.

 * Origin: -[S'Qually Holler's]- HeadQuarters for Fidonet Linux Net
(1:343/34)