From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dermot Paikkos Newsgroups: gmane.os.tru64.managers Subject: [SUMMARY] lpr problem: Connect: no such file Date: Tue, 07 May 2002 11:59:30 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3CD7C1A2.6490.1DE5B014@localhost> Reply-To: dermot@sciencephoto.com NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1020769219 10627 127.0.0.1 (7 May 2002 11:00:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 May 2002 11:00:19 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 1752he-0002lI-00 for ; Tue, 07 May 2002 13:00:18 +0200 Original-Received: (qmail 8921 invoked by uid 5); 7 May 2002 11:00:14 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 8870 invoked from network); 7 May 2002 11:00:13 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 7 May 2002 11:00:13 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GVQ0076PMK9JI@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 07 May 2002 07:00:13 -0400 (EDT) Original-Received: from helios.sciencephoto.co.uk (helios.sciencephoto.co.uk [194.200.237.129]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GVQ00FERMK384@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 07 May 2002 07:00:04 -0400 (EDT) Original-Received: from dione.sciencephoto.co.uk ([194.200.237.140] helo=dione) by helios.sciencephoto.co.uk with esmtp (Exim 3.16 #3) id 1752hC-00034e-00 for tru64-unix-managers@ornl.gov; Tue, 07 May 2002 11:59:50 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Pegasus Mail for Windows (v4.01) Content-description: Mail message body Priority: normal Xref: main.gmane.org gmane.os.tru64.managers:73 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:73 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