I am having a hard time getting LPRng to start up. I know I have
everything configured properly with regards to my printer and the
printcap file (checkpc(8) told me so), but when I try to stat or
start/stop the printer, i get the following error messages:
*--------
# lpc status
.common:
queuing is enabled
printing is enabled
cannot examine spool directory
lp:
queuing is enabled
printing is enabled
cannot examine spool directory
# lpc start lp
lp:
connect: No such file or directory
couldn't start daemon
*--------
Here are what the permissions for the spool dir look like:
*--------
# ls -l /var/spool/lpd
total 1
drwx------ 2 daemon daemon 512 Sep 9 11:45 lp
# ls -l /var/spool/lpd/lp/
total 24
-rw------- 1 daemon daemon 0 Sep 9 10:13 acct
-rw------- 1 daemon daemon 0 Sep 9 10:13 control.lp
-rw------- 1 daemon daemon 24576 Sep 10 08:31 db.lp
-rw------- 1 daemon daemon 0 Sep 9 10:13 log
-rw------- 1 daemon daemon 0 Sep 9 10:13 status.lp
*--------
So who should own the directory? checkpc(8) seems to thing that uid 1
and gid 1 should own them. When I run the checkpc with a -f (fix)
option that is what it is set to.
Any help you could offer would be extremly appreciated. I am trying
to set up an old hp laser jet to do some high quality printing without
the ink(jets).
If you need to know more about my config, here is my print cap file
(short)
*--------
# cat /etc/printcap
.common:
:sd=/var/spool/lpd/%P:
:sh:sf:mx=0:mc=0
lp:tc=.common:lp=/dev/lpt0
:filter=/usr/local/sbin/lpdomatic
:filter_options= --lprng $Z /usr/local/lib/hplj2Desc.txt
*--------
Thanks in advance to anyone who can help