LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Cannot bind to port 515 to print (https://www.linuxquestions.org/questions/linux-general-1/cannot-bind-to-port-515-to-print-116909/)

jitz 11-17-2003 12:51 AM

Cannot bind to port 515 to print
 
I got this error message when I restarted the lpd after changing the default print from cups. I was able to solve this problem by stopping the xinetd first then starting the lpd and then starting the xinetd. But everytime the system restarts the lpd shows the message. I wrote a script to overcome it. But I would like to know whether there is a better way to overcome this problem

/bin/bash 11-17-2003 04:17 AM

You could rename the symlinks in your /etc/rc.d/rc5.d. The ones starting with S## will start a service and they are executed in the order of the ##. So just find S##lpd and S##xinetd and make lpd a lower number than xinetd.


All times are GMT -5. The time now is 01:36 AM.