Discussion Locked

LPD Services on Linux Server Not Running

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
In the middle of the day, the LPD Services on our Linux server just stopped. When I type ./etc/init.d/lpd stop, It gives no message, or when I type ./etc/init.d/lpd start, I get no message. I have tried to copy a new lpd.perms file, and lpd to thesystem from a working unit, but the problem has not changed. Any Ideas?

5 replies

by dwilcox22

I don't know what flavor of Linux you are using, but it sounds like you printcap may be getting corrupted.
A few questions to ask. Have you made any changes to the system prior to this problem. Any updates etc. If you have you may be required to update the lpd deamon. Is there a particular client call that causes this problem.

by mtuppen

It may be different, depending on what kind of printing is used with your distribution, but LPRng that comes with Redhat(6 and 7) has a program called checkpc (stands for check printcap). It will tell you if you have any errors in your /etc/printcapfile (ie. missing directories, bad links etc).
It also comes with a handy utility called lpc. You can stop and start the lpd daemon from there, check the status of printers, enable and disable printers etc. It may be able to tell you what is wrong with lpd.

Regards,
Mike.

This discussion is closed to new replies.