[S.u.S.E. Linux] lpd and inetd
Can someone please enlighten me on what am I doing wrong here? I edited /etc/rc.config to that lpd is not started from /sbin/init.d because I wanted it start from inetd . I have edited /etc/inetd.conf , uncommenting the line for printer and changed the command for tcpd to execute to '/usr/sbin/lpd -l' because that's the correct location of lpd (the default install inetd.conf has it as '/usr/bin/lpd -i' which does not exist). Then I typed 'killall -KILL lpd; kill -HUP `cat /var/run/inetd.pid`' which killed lpd (which was started from /sbin/init.d) and restarted inetd. After that, I typed to print a file and I get the following message: lpr: connect: No such file or directory jobs queued, but cannot start daemon. Please help. What am I doing wrong here? Thank you very much. Regards, Kenneth Tan ------------------------------------------------------------------------------ C. J. Kenneth Tan E-mail: cjtan@acm.org Telephone: 1-403-220-8038 cjtan@ieee.org 1-403-606-4257 URL: <A HREF="http://www.cuug.ab.ca/~tanc"><A HREF="http://www.cuug.ab.ca/~tanc</A">http://www.cuug.ab.ca/~tanc</A</A>> Facsimile: 1-403-284-1980 "An engineer made programmer is one who attempts to solve a problem, A programmer made engineer is one who knows how to solve a problem." ------------------------------------------------------------------------------ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Don't worry, I have figured it out. You need to have the plp package installed, rather than the lprold package, in order to be able to start lpd from inetd. I have decided to stick with the lprold package instead. Regards, Kenneth Tan ------------------------------------------------------------------------------ C. J. Kenneth Tan E-mail: cjtan@acm.org Telephone: 1-403-220-8038 cjtan@ieee.org 1-403-606-4257 URL: <A HREF="http://www.cuug.ab.ca/~tanc"><A HREF="http://www.cuug.ab.ca/~tanc</A">http://www.cuug.ab.ca/~tanc</A</A>> Facsimile: 1-403-284-1980 "An engineer made programmer is one who attempts to solve a problem, A programmer made engineer is one who knows how to solve a problem." ------------------------------------------------------------------------------ On Tue, 21 Jul 1998, C. J. Kenneth Tan wrote:
Can someone please enlighten me on what am I doing wrong here? I edited /etc/rc.config to that lpd is not started from /sbin/init.d because I wanted it start from inetd . I have edited /etc/inetd.conf , uncommenting the line for printer and changed the command for tcpd to execute to '/usr/sbin/lpd -l' because that's the correct location of lpd (the default install inetd.conf has it as '/usr/bin/lpd -i' which does not exist). Then I typed 'killall -KILL lpd; kill -HUP `cat /var/run/inetd.pid`' which killed lpd (which was started from /sbin/init.d) and restarted inetd. After that, I typed to print a file and I get the following message:
lpr: connect: No such file or directory jobs queued, but cannot start daemon.
Please help. What am I doing wrong here?
Thank you very much.
Regards, Kenneth Tan ------------------------------------------------------------------------------ C. J. Kenneth Tan E-mail: cjtan@acm.org Telephone: 1-403-220-8038 cjtan@ieee.org 1-403-606-4257 URL: <A HREF="http://www.cuug.ab.ca/~tanc"><A HREF="http://www.cuug.ab.ca/~tanc</A">http://www.cuug.ab.ca/~tanc</A</A>> Facsimile: 1-403-284-1980
"An engineer made programmer is one who attempts to solve a problem, A programmer made engineer is one who knows how to solve a problem." ------------------------------------------------------------------------------
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (1)
-
cjtan@acm.org