From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Speakman, John H./Epidemiology-Biostatistics" Newsgroups: gmane.os.tru64.managers Subject: [SUMMARY] Drowning in "lpd[nnnnnn]: ERROR -- lp: cannot lock file lock: No such file or directory" messages Date: Thu, 02 Oct 2003 11:14:09 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <893E3B3E52B57844ADBC49B46B8008BD192260@smskpexmbx4.mskcc.root.mskcc.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1065107687 31695 80.91.224.253 (2 Oct 2003 15:14:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2003 15:14:47 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Oct 02 17:14:46 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 1A55AD-000347-00 for ; Thu, 02 Oct 2003 17:14:45 +0200 Original-Received: (qmail 23925 invoked by uid 5); 2 Oct 2003 15:14:36 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23910 invoked by uid 49493); 2 Oct 2003 15:14:36 -0000 Original-Received: from speakmaj@MSKCC.ORG 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.7/5.0):. Processed in 0.76181 secs); 02 Oct 2003 15:14:36 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 2 Oct 2003 15:14:35 -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 <0HM400E63YC4QH@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 02 Oct 2003 11:14:34 -0400 (EDT) Original-Received: from smispmsgtw1.MSKCC.ROOT.MSKCC.ORG (mskresolve-1.mskcc.org [140.163.53.249]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HM400CH0YBYCR@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 02 Oct 2003 11:14:23 -0400 (EDT) Original-Received: from 140.163.141.236 by smispmsgtw1.MSKCC.ROOT.MSKCC.ORG with ESMTP (ESMTP Relay (MMS v5.5.3)); Thu, 02 Oct 2003 11:14:09 -0400 Original-Received: from smskpexmbx4.MSKCC.ROOT.MSKCC.ORG ([140.163.141.251]) by smskpexsmtp1.MSKCC.ROOT.MSKCC.ORG with Microsoft SMTPSVC(5.0.2195.5329) ; Thu, 02 Oct 2003 11:14:09 -0400 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Topic: [SUMMARY] Drowning in "lpd[nnnnnn]: ERROR -- lp: cannot lock file lock: No such file or directory" messages Thread-Index: AcOGz2crT3/gTO8BS4WY89X+Y2u5pgAfEAaAAGqlglA= content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-WSS-ID: 13629F4B479618-01-01 X-OriginalArrivalTime: 02 Oct 2003 15:14:09.0389 (UTC) FILETIME=[D42351D0:01C388F7] Xref: main.gmane.org gmane.os.tru64.managers:5485 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5485 Thanks to Kris and Barbara; the consensus was that there was "something funny" with lpd configuration, either in printcap or the spool directories. Kris also mentioned the 'lpdcheck' utility, which I couldn't find anywhere either on the system on the internet. I was planning to remove printcap and start adding all the printers from scratch (what Kris ended up doing) but I spent a couple of minutes peering at printcap first. I noticed something about the "on" symbol. This symbol is new to us (i.e., wasn't in 4.0) and its value is a comma-separated list of the host(s) in the cluster that the printer is "on". I noticed that all the errors in syslog were coming from printers which had no space between the commas ("host1,host2") in printcap and the ones with a space ("host1, host2") were okay. So I just edited the printcap to add spaces after the commas in the "on" lines, stopped are restarted lpd (/sbin/init.d/lpd stop then /sbin/init.d/lpd start) and since then (10 hours or so) have had no "cannot lock file lock" messages whereas before we were averaging, I guess, at least one every few seconds, all the time. Sounds a little absurd (or of course a bug), and of course it's possible that there was something wacky about printing that a simple restart of lpd fixed. But it certainly won't hurt for us to add the space in printcap, if only out of superstition. Thanks all John -----Original Message----- From: Speakman, John H./Epidemiology-Biostatistics [mailto:speakmaj@MSKCC.ORG] Sent: Monday, September 29, 2003 5:21 PM To: tru64-unix-managers@ornl.gov Cc: Speakman, John H./Epidemiology-Biostatistics Subject: Drowning in "lpd[nnnnnn]: ERROR -- lp: cannot lock file lock: No such file or directory" messages Hi all Two node cluster of GS80s running 5.1apk3. Ever since we set up a couple of printers, using lpr, we have gotten a lot of "lpd[nnnnnn]: ERROR -- lp: cannot lock file lock: No such file or directory" messages. Sometimes lp is another printer, seems to be always what was printed on last. The funny thing is we don't do much printing; maybe two or three jobs a day. But the jobs we do print come out fine. This first started happening months ago; I first noticed because we got a few "high event activity" e-mails and it turned out to be zillions of these messages. Printing seems to work just fine, so foolishly I just thought "dumb machine, bothering me with this stuff" and put a little filter in the sysman EVM viewer to filter them out, then went back to sleep. Then last week /var filled up all the way and I realize it's these wretched messages. I deleted the lpr logs from the subdirectories within syslog.dated to give us some breathing space, but I need a more permanent solution. There are 2500 files in the evmlog directory, mainly consisting of billions of these messages. There are now so many I can't even run EVM from sysman, or even an evmget for the last five seconds, without filling up the /tmp directory, i.e., the root partition, with a jumbo temporary file. Any ideas? Thanks in advance; I will summarize. John John Speakman Manager, Clinical Research Systems Memorial Sloan-Kettering Cancer Center New York, NY, USA 646 735 8187 / speakman@biost.mskcc.org =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 Please note that this e-mail and any files transmitted with it may be=20 privileged, confidential, and protected from disclosure under=20 applicable law. If the reader of this message is not the intended=20 recipient, or an employee or agent responsible for delivering this=20 message to the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this communication or any of its attachments is strictly prohibited. If you have received this communication in error, please notify the=20 sender immediately by replying to this message and deleting this=20 message, any attachments, and all copies and backups from your=20 computer.