From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Shaun.Racine@intier.com Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Unix Printing - No lpd daemon running Date: Tue, 14 Oct 2003 08:21:56 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066119848 8990 80.91.224.253 (14 Oct 2003 08:24:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2003 08:24:08 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Oct 14 10:24:06 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1A9KTN-0000tr-00 for ; Tue, 14 Oct 2003 10:24:06 +0200 Original-Received: (qmail 6186 invoked by uid 5); 14 Oct 2003 08:23:52 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 6171 invoked by uid 49493); 14 Oct 2003 08:23:52 -0000 Original-Received: from Shaun.Racine@intier.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.0/5.0):. Processed in 1.6672 secs); 14 Oct 2003 08:23:52 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 14 Oct 2003 08:23:50 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HMQ00M7YNBPG3@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 14 Oct 2003 04:23:50 -0400 (EDT) Original-Received: from smtp2.msi-it.com (smtp2.msi-it.com [213.150.229.10]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HMQ0010UNAZT9@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 14 Oct 2003 04:23:25 -0400 (EDT) Original-Received: from frahub01ds.fradominosmtp.msi.intranet ([213.150.229.253]) by smtp2.msi-it.com (8.11.6/8.11.6) with ESMTP id h9E7Tsw16352 for ; Tue, 14 Oct 2003 09:29:55 +0200 Original-Received: from mail.MIS.Magna-Europa.com ([172.28.32.9]) by frahub01ds.fradominosmtp.msi.intranet (Lotus Domino Release 5.0.12) with ESMTP id 2003101410225859:52083 ; Tue, 14 Oct 2003 10:22:58 +0200 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 X-MIMETrack: Serialize by Router on MISGROUP01DS/SVR/MISGroup(Release 5.0.5 |September 22, 2000) at 10/14/2003 09:21:56 AM, Itemize by SMTP Server on MSIFRAHUB01DS/SVR/MSI-HUB(Release 5.0.12 |February 13, 2003) at 10/14/2003 10:22:58 AM, Serialize by Router on MSIFRAHUB01DS/SVR/MSI-HUB(Release 5.0.12 |February 13, 2003) at 10/14/2003 10:23:05 AM, Serialize complete at 10/14/2003 10:23:05 AM Xref: main.gmane.org gmane.os.tru64.managers:5568 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5568 Sort of summary - sorry for delay. I got one response, from Mark Sornson, much appreciated. He suggested applying PK 5, which fixes some printing issues. Original question and Mark's interspersed replies below. Our local IT at site will apply a patch over the Christmas period. It was the first time we had this problem, and it has not recurred (yet). If it does occur again we will have to decide whether to switch on lpr.debug :( Regards, Shaun Racine ---------------- Mark Sornson: Someone (from another group at work) forwarded your query to me. > To: tru64-unix-managers@ornl.gov > CC: > Subj: Unix Printing - No lpd daemon running > [snips on header info] > Hi Managers, > > Tru64 v5.1A, patch kit 3 (T64V51AB03AS0003-20020827). ES40 / HSG80 LSM & > AdvFS. Patch Kit 5 exists that has some printing fixes you might want to pick up, unless your site is very sensitive to upgrades. > > One of our sites had a problem with printing after a reboot. The server is > scheduled to reboot at the same time each week, with no previous problems > in this area. Is it correct to assume that this is the first time you've seen this problem (and that it hasn't returned)? > > All printing in a queued state. > Tried to restart specific printer queues but no joy. > > lpc> restart r5_cp_2 > r5_cp_2: > no daemon to abort > r5_cp_2: > lpc: connect: No such file or directory > couldn't start daemon > lpc> quit > > No lpd daemon running. > Ended up starting the lpd deamon manually. > > root> /usr/sbin/rc3.d/S65lpd start > > All printing sprung into life again and remained stable. > No errors in startup logs, typical message (and "NOTICE" when manually > started) from lpr.log; > Sep 14 19:48:34 rimmer lpd[59924]: ERROR -- startdaemon: connect failed to > socket /dev/printer, printer r5_cp_2, error: No suc > h file or directory > Sep 14 19:51:43 rimmer lpd[60121]: NOTICE -- lpd: MASTER DAEMON STARTED Hm ... are the above entries all that were in lpr.log? That clearly suggests that the parent daemon either didn't start at reboot or crashed early on. I hate to suggest it, but setting lpr logging to "lpr.debug" in /etc/syslog.conf may reveal more information. But you shouldn't bother to do it until just before you reboot, and you should probably set it back to its original value after you reboot (after printing starts), so you don't eat up disk space with unnecessary logging messages. > > Does anyone know what may have caused this? Or where to look for more > information? The lpr.log file with "lpr.debug" set is your best bet for additional information. Or look in / for a core file (from lpd), or in any of your printing spool directories for core files. You say you started lpd by hand (/sbin/init.d/lpd start). When no jobs are running, you don't have a problem getting printing to restart if you bounce it by hand, do you (/sbin/init.d/lpd stop and then start)? -mark.