The default lpd is running double copy of itself. If I kill both of them and restart by using /etc/rc.d/init.d/lpr start, it happens again. This is only a part of the story since lpd doesn't work at all. I use it with a remote printer with a fixed IP number. I can delete the full printer record and rewrite it again by using printool (deleting /var/spool/lpd/lp...), restarting it with no effect. I don't know how to debug the problem but I guess there must be something inherent either in deamon script or lpr Levente Torok
A new instance of lpd is fork'ed for every print request. What does "lpc status" say when you see the problem?
I think 10070 depends on 9084. Clearing the queue seems to fix things for me with various versions of the lpr "component". I'm not sure if clearing the print queue on a reboot is "the right thing to do" in Unix networking - clearing the mail queue sure wouldn't be!
This `double copy' seems to be the way that lpd verifies the contents of the printcap file. BUT, if there is one inaccessable remote printer in the printcap file, the spanned lpd process looking for the remote printer blocks and never returns to the parent. Just kill the process that is in the state nanosleep (do a ps on the two process numbers, one will be wait4, the other nanos). After this kill, all the printers in the printcap file seem to be correctly behaved.
This is fixed in the current version.