I found the solution on Compaq's website:
Error:"lpc: connect: No such file or directory couldn't start daemon"
Last Updated:
2001-06-20
Solution-id:
260.0.4613290.2984716
Environment:
(Embedded image moved to file: pic04827.gif)
Tru64 Unix
(Embedded image moved to file: pic05436.gif)
lpc
Problem Description:
(Embedded image moved to file: pic32391.gif)
Error:"lpc: connect: No such file or directory couldn't start daemon"
Solution:
(Embedded image moved to file: pic14604.gif)
1. First make sure that lpd is running and note the pid(s):
ps -ef | grep lpd
2. Check the syslog.dated lpr log:
cd /var/adm/syslog.dated/latestlog
more lpr.log
3. If the following error is received:
usr/spool/lpd.lock: locking failed: Operation would block
Then
kill the lpd daemon. (kill -9 the pids listed above)
4.
mv /usr/spool/lpd.lock /usr/spool/lpdsave.lock
cd /sbin/init.d
./lpd start
lpc restart
Cause:
(Embedded image moved to file: pic03902.gif)
The problem occurs if 'something' has gone wrong with the queues and
spooling areas. The lpd.lock file is a file that contains the pid
of lpd. Sometimes it may have the wrong pid and not have been reset.
I am running version 5.1 and I am having printer problems. I have read and
tried everything in the System Administrators Guide and nothing works!!
Nothing will print out - when I try to print - I receive this error:
Job Number is: 71
lpr: connect: No such file or directory
jobs queued, but cannot start daemon.
I did an lpc status:
# lpc status
hpcolor_text:
printer is on remote host feahpc with name text
queuing is enabled
printing is enabled
no entries
no daemon present
hpcolor_grp:
printer is on remote host feahpc with name raw
queuing is enabled
printing is enabled
1 entry in spool area
no daemon present
this is what the lpstat -t looks like:
lpstat -t
System default destination: lp
Scheduler is running
Output for printer hpcolor_text is sent to remote printer text on feahpc
Output for printer hpcolor_grp is sent to remote printer raw on feahpc
hpcolor_text:
printer is on remote host feahpc with name text
queuing is enabled
printing is enabled
no entries
no daemon present
hpcolor_grp:
printer is on remote host feahpc with name raw
queuing is enabled
printing is enabled
1 entry in spool area
no daemon present
Requests on hpcolor_text:
vrdfeasrv.danavictor.com: Tue Apr 30 08:27:15 2002:
No entries
Requests on hpcolor_grp:
vrdfeasrv.danavictor.com: Warning: no daemon present
vrdfeasrv.danavictor.com: Tue Apr 30 08:36:33 2002:
Rank Pri Owner Job Files Total Size
1st 0 root 71 lisa.txt 32 bytes
No entries
Since it said it could not start the daemon - I started it:
# /sbin/init.d/lpd start
Printer service started
Still nothing - it just sits in the queue. I hope I gave everyone enough
information. This is not a new printer setup - everyone has been printing
okay for years. Not sure what happened or what I can do to fix the problem
- but any help would be appreciated.
Lisa Morris
Received on Tue Apr 30 2002 - 14:26:05 NZST