Vincent Cunniffe wrote:
>> > When I check the printer queue with klpq I have the message:
> >
> > "Warning No daemon present"
> >
> > What do I neet to restore and how?
>> ps -aux | grep lpd
>> to make sure that the 'lpd' daemon is running (line printer daemon)
>> if it isn't, then there should be an entry in the
>> /etc/rc.d/rc3.d
>> directory of the format 'SNNlpd', where NN are both digits. Run
> '/etc/rc.d/rc3.d/SNNlpd start' to start the daemon again.
>> If there isn't such a file in the directory, then you need to
> create a new one, which you do by linking to the main init scripts
> in the '/etc/rc.d/init.rc' directory :
>> cd /etc/rc.d/rc3.d
> ln -s ../init.rc/lpd SNNlpd
>> where NN is a pair of digits again.
>> Once you've created a script in the rc3 directory, it'll automatically
> be started each boot, so you won't need to worry about manually
> starting it again.
or if you're too lazy to do all that & don't mind repeating the
following the next time you upgrade you're distro
add
/usr/sbin/lpd to the end of
/etc/rc.d/rc.local under redhat
or
/sbin/init.d/boot.local under SuSE (it's a link from /etc/rc.d )
ta
Ray ...
--
Raymond Kelly: ray at phbrink.ie: Systems Administrator:
PH Brink International, Ballybrit Business Park, Galway, Ireland:
TEL: +353 91 771181: Mobile: +353 87 2886761 (Caller ID only):
http://www.linux.ie/linux-ie-people.html#RayKelly
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!