Re: [ILUG] Printer Problems

From: Raymond Kelly (ray at domain phbrink.ie)
Date: Thu 28 Oct 1999 - 13:13:44 IST


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 domain 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


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:48 GMT