Discussion Locked

Urgent!! Cannot Start LPD Service

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am running RedHat 7.3 and the LPD service will not start. I receive an error message when the system boots: LPD fatal error: cannot bind to port 515. Unfortunately I need to correct this today, deadline needs to be met.

4 replies

by rapidad

You need to run from root netstat -n and see what process/user is using 515 or using "ps -ef | grep {user}" find which process needs to be stopped. Also check that two instances of lpd are not trying to run together.

by rapidad

you may want to look at this also:::

TCP/IP command. Line printer daemon. lpd is usually invoked at boot time from the rc2 file. It makes a single pass through the printer configuration file (traditionally /etc/printcap) to find out about the existing printers and prints any files left after a crash. It then accepts requests to print files in a queue, transfer files to a spooling area, display a queue's status, or remove jobs from a queue. In each case, it forks a child process for each request, then continues to listen for subsequent requests. If port is specified, lpd listens on that port; otherwise, it uses the getservbyname call to ascertain the correct port

This discussion is closed to new replies.