From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653755322676.tru64-unix-managers.marc@archive.invalid> From: Lisa.Morris () victorreinz ! com Date: Tue, 30 Apr 2002 14:25:45 +0000 To: tru64-unix-managers Subject: SUMMARY: Printer Problems X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653755322676 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D" --0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D Content-type: text/plain; charset=us-ascii 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 --0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D Content-type: image/gif; name="pic04827.gif" Content-Disposition: attachment; filename="pic04827.gif" Content-transfer-encoding: base64 R0lGODlhCAAIAKL/AP///+Xl6n9/mSoqVQAAMwAAAMDAwAAAACH5BAEAAAYALAAAAAAIAAgAAAMX CLobMkMEJYglQo1LhuYeUF0Z4EASoyYAOw== --0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D Content-type: image/gif; name="pic05436.gif" Content-Disposition: attachment; filename="pic05436.gif" Content-transfer-encoding: base64 R0lGODlhCAAIAKL/AP///+Xl6n9/mSoqVQAAMwAAAMDAwAAAACH5BAEAAAYALAAAAAAIAAgAAAMX CLobMkMEJYglQo1LhuYeUF0Z4EASoyYAOw== --0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D Content-type: image/gif; name="pic32391.gif" Content-Disposition: attachment; filename="pic32391.gif" Content-transfer-encoding: base64 R0lGODlhCAAIAKL/AP///+Xl6n9/mSoqVQAAMwAAAMDAwAAAACH5BAEAAAYALAAAAAAIAAgAAAMX CLobMkMEJYglQo1LhuYeUF0Z4EASoyYAOw== --0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D Content-type: image/gif; name="pic14604.gif" Content-Disposition: attachment; filename="pic14604.gif" Content-transfer-encoding: base64 R0lGODlhCAAIAKL/AP///+Xl6n9/mSoqVQAAMwAAAMDAwAAAACH5BAEAAAYALAAAAAAIAAgAAAMX CLobMkMEJYglQo1LhuYeUF0Z4EASoyYAOw== --0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D Content-type: image/gif; name="pic03902.gif" Content-Disposition: attachment; filename="pic03902.gif" Content-transfer-encoding: base64 R0lGODlhCAAIAKL/AP///+Xl6n9/mSoqVQAAMwAAAMDAwAAAACH5BAEAAAYALAAAAAAIAAgAAAMX CLobMkMEJYglQo1LhuYeUF0Z4EASoyYAOw== --0__=86256BAB004F2E7D8f9e8a93df938690918c86256BAB004F2E7D--