[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: lpr



On Wed, 4 Apr 2001 karlp ourldsfamily com wrote:

> DO (in two separate sessions):
>
> tail -f /var/log/messages
>
> then
>
> /etc/rc.d/init.d/lpd restart
>
> and see what comes out in the messages file. After restarting lpd, it might
> just start printing.

You can also check to see if lpd is enabled on boot with this command:

chkconfig --list lpd

and you can activate it with this:

chkconfig --level 345 lpd on

and you can control it like this as well:

service lpd stop
service lpd start
service lpd status (gives you the PID and whether or not it is up)

You should also make sure your lpd has been updated if this machine is
attached to the web, and there is a fairly popular exploit for the lpd
that was shipped in 7.0. :(

Matt

> On Wed, 4 Apr 2001, Steve Fernandez wrote:
>
> Hi Guys,
>
>         I tried printing, but the system displays the following
> message:-
>
> steve STV:~/Java# lpr BinarySearch.java
> lpr: connect: Connection refused
> jobs queued, but cannot start daemon.
>
>     My printer is online with paper inserted and ready. Any ideas?


-- 
Matt Drew
Peer Review team lead and Bughunter
Red Hat Consumer Services





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]