From: Dermot Paikkos <dermot@sciencephoto.com>
Subject: [SUMMARY] lpr problem: Connect: no such file
Date: Tue, 07 May 2002 11:59:30 +0100 [thread overview]
Message-ID: <3CD7C1A2.6490.1DE5B014@localhost> (raw)
HI Managers,
Sorry it's taken me a while to summerise this. I had a few replies,
thanx to Stan Horwitz, Phil Bladwin and Lisa Morris. I supply the
latter's reply as it came from Compaq's site. I didn't find a answer on
the mailing list archive. Basically the daemon was running. This hasn't
completely resolved my problem but that's the subject of another
mail.
----------------- Original Message -------------
I am getting the following error message:
lpr: connect: No such file or directory
jobs queued, but cannot start daemon.
I am pretty sure that this is a path problem as this system is a replica
of another but with one small but significant change in the program
path.
The file in question is in the same directory so I don't think the file to
print is the one not found. I can print as root but not as this user. Does
anyone know what this message means? I can't see anything in the
man page
about it.
-------------------- Resolution ------------------
Error:"lpc: connect: No such file or directory couldn't start daemon"
Problem Description:
Error:"lpc: connect: No such file or directory couldn't start daemon"
Solution:
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:
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
~~
Dermot Paikkos * dermot@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668
reply other threads:[~2002-05-07 10:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox