[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: !!!Print Server DOWN!!!
Adam Williams wrote:
> My Linux print server has gone down. I have rebooted and restarted lpd to no
> effect. It accepts jobs, but attempting to send a job results in -
>
> littleboy:~ $lpr -Pmskps ls.ps
> lpr: connect: No such file or directory
> jobs queued, but cannot start daemon.
>
> NIS, DNS and all other network services work great as usual. I have narrowed it
> down to the lask of /dev/printer (the socket lpd listens to for moving around
> print jobs)
>
> if I use touch /dev/printer the message changes to:
>
> lpr: connect: Connection refused
> jobs queued, but cannot start daemon.
>
> On other Linux machines /dev/printer looks like:
> srw------- 1 root root 0 May 26 07:47 printer
>
> How on earth do I create this file, and why does restarting LPD not fix it?
> I've looked into mknod but it does not create sockets.
A Unix domain socket has to be created by the application that listens
on it (in this case lpd).
Obvious question: is lpd actually running? lpd creates the socket at
startup and removes it upon termination. If lpd is running but
/dev/printer doesn't exist, then something has gone horribly wrong
with lpd.
--
Glynn Clements <glynn@sensei.co.uk>