I am trying to get a samba served printer to work, but LPD keeps dieing with the error in the log: lpd[xxxxx] : bind : Address already in use I haven't figured out what address it is talking about. "rclpd restart" usually fails with this message (above). I have figured out that if I print to the printer, it does spool the job, and if I restart LPD it prints it to the printer, and it looks great, but the daemon will not run. If it helps, "lpc start all" returns Connection refused, even though I am running the command as root. Any ideas??? -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: www.mydestiny.net/~joe_morris "All I have seen teaches me to trust the Creator for all I have not seen." --Ralph Waldo Emerson
You're not running lpd from inetd, are you? If you do a 'grep lpd /etc/inetd.conf' is the line commented (#) or not? Regards Anders On Tuesday 19 June 2001 03:10, Joe & Sesil Morris wrote:
I am trying to get a samba served printer to work, but LPD keeps dieing with the error in the log: lpd[xxxxx] : bind : Address already in use I haven't figured out what address it is talking about. "rclpd restart" usually fails with this message (above). I have figured out that if I print to the printer, it does spool the job, and if I restart LPD it prints it to the printer, and it looks great, but the daemon will not run. If it helps, "lpc start all" returns Connection refused, even though I am running the command as root. Any ideas???
-- Suche Nullen! Götzen-Dämmerung - oder wie man mit dem Pingvin philosophirt
You're not running lpd from inetd, are you?
If you do a 'grep lpd /etc/inetd.conf' is the line commented (#) or not?
Regards Anders
I looked in inetd.conf and it is NOT commented out. Should it be? -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: www.mydestiny.net/~joe_morris "All I have seen teaches me to trust the Creator for all I have not seen." --Ralph Waldo Emerson
Well, it's an either-or situation. If you're running lpd from inetd, then the lpd port will be bound by inetd (this is the 'address in use' error you got). If you want to run it as a separate process (could be preferable if performance is an issue), then you must remove it from inetd. If you do, don't forget to restart inetd by 'killall -HUP inetd' Regards Anders On Tuesday 19 June 2001 03:28, Joe & Sesil Morris wrote:
You're not running lpd from inetd, are you?
If you do a 'grep lpd /etc/inetd.conf' is the line commented (#) or not?
Regards Anders
I looked in inetd.conf and it is NOT commented out. Should it be?
-- Suche Nullen! Götzen-Dämmerung - oder wie man mit dem Pingvin philosophirt
You're not running lpd from inetd, are you?
If you do a 'grep lpd /etc/inetd.conf' is the line commented (#) or not?
Regards Anders
Thanks, Anders. That did the trick. I commented out that line in inetd.conf, restarted inetd, and now it looks like it should work (I did it all remote since I'm still home [a sysadmin has GOT to love Linux;-)]). Thanks again. -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: www.mydestiny.net/~joe_morris "All I have seen teaches me to trust the Creator for all I have not seen." --Ralph Waldo Emerson
participants (2)
-
Anders Johansson
-
Joe & Sesil Morris