From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Markus Waldorf Newsgroups: gmane.os.tru64.managers Subject: LPR output filter died 5.1A pk4 Date: Mon, 30 Jun 2003 18:37:18 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1056991042 27808 80.91.224.249 (30 Jun 2003 16:37:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2003 16:37:22 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jun 30 18:37:19 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19X1eY-0007EI-00 for ; Mon, 30 Jun 2003 18:37:19 +0200 Original-Received: (qmail 20885 invoked by uid 5); 30 Jun 2003 16:37:36 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20876 invoked by uid 49493); 30 Jun 2003 16:37:36 -0000 Original-Received: from waldorfm@rferl.org by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.0/5.0):. Processed in 1.190293 secs); 30 Jun 2003 16:37:36 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 30 Jun 2003 16:37:35 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHA001JUZIK0F@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 30 Jun 2003 12:37:34 -0400 (EDT) Original-Received: from rferl.org (praguegate.rferl.org [193.111.134.14]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHA00J37ZIGJS@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 30 Jun 2003 12:37:28 -0400 (EDT) Original-Received: from prglnmail01.rferl.org (193.111.134.21) by rferl.org with ESMTP (Eudora Internet Mail Server 3.0.3) for ; Mon, 30 Jun 2003 18:37:22 +0200 Original-Received: from [172.16.8.25] ([172.16.8.25]) by prglnmail01.rferl.org (Lotus Domino Release 6.0.1CF1) with ESMTP id 2003063018363218-46490 ; Mon, 30 Jun 2003 18:36:32 +0200 Original-To: Unix Managers X-MIMETrack: Itemize by SMTP Server on PRGLNMail01/CZ/RFERL(Release 6.0.1CF1 | March 06, 2003) at 06/30/2003 06:36:32 PM, Serialize by Router on PRGLNMail01/CZ/RFERL(Release 6.0.1CF1 | March 06, 2003) at 06/30/2003 06:36:33 PM, Serialize complete at 06/30/2003 06:36:33 PM User-Agent: Microsoft-Entourage/10.1.1.2418 Xref: main.gmane.org gmane.os.tru64.managers:4700 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4700 Since I upgraded the system 5.1A to pk4, lpr printing has stopped showing some problem in conjunction with the output filter. lpc status shows everthing is started and enabled, but the printjob cannot be processed. In order to troubleshoot this issue I copied over a working /etc/printcap file from another machine and modified file permissions according to a working configuration, but it did not make any difference. I noticed that there is no sticky bit on lpd0 directory, and also the permissions of files within the /etc/lpd0 directory are different compared to 5.1 pk5. However, the problem also remains after deleting /var/spool/lpd0 directory and /etc/printcap and setting up printing from scratch. The problem is also with any other output filter, such as HP4000 or generic_text. lpr.debug in /etc/syslog.conf and see the following in lpr.log: Any ideas? Jun 26 12:10:48 photon02 lpd[1380]: DEBUG -- lpr/mktemps: waiting for flock on .seq file Jun 26 12:10:48 photon02 lpd[1380]: DEBUG -- lpr/mktemps: got flock on .seq file Jun 26 12:10:48 photon02 lpd[1380]: DEBUG -- startdaemon: entered startdaemon(), printer room102d Jun 26 12:10:48 photon02 lpd[1380]: DEBUG -- startdaemon: initial write to socket ok, printer room102d Jun 26 12:10:48 photon02 lpd[1001]: DEBUG -- return from select(), read local socket Jun 26 12:10:48 photon02 lpd[1001]: DEBUG -- lpd: accept on local socket Jun 26 12:10:48 photon02 lpd[1001]: DEBUG -- fork_with_retries: child pid: 1381 Jun 26 12:10:48 photon02 lpd[1001]: DEBUG -- parent lpd: max_fds: 7, readset before select: 60, selectTimeoutPtr: 0 Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- entering doit() Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- lpd/doit: got PRINTJOB request for printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- printjob: entered printjob, printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- Entering init() Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- printjob: sent ACK, printer room102d Jun 26 12:10:48 photon02 lpd[1380]: DEBUG -- startdaemon: got ACK that daemon started, printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- STB CHECK, sd_stb.st_mode: 40755, after stat of SD Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- STB CHECK, lo_stb.st_mode: 100600, after stat of LO Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- lock file created, lfd: 4 Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- printjob: got lock on file 'lock', printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- printjob: created file /usr/spool/lpd0/.daemon_running_on_photon02.rferl.org, printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- about to check reset queue flag, lo_stb.st_mode: 100600 Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- STB CHECK, q_stb.st_mode: 100660, after stat of q->q_name Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- openpr: entered openpr(), printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- openpr: in /etc/printcap LP is @room102d.ad.rferl.org/9100, printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- openpr: opening TCP connection, printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- Entering tcp_open() Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- Entering tcp_conn() Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- writeStatus: status file update, printer room102d: Thu Jun 26 12:10:48 2003: room102d is ready and printing Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- openpr: before pipe output filter, printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- about to leave dofork() as pid: 1381 Jun 26 12:10:48 photon02 lpd[1382]: DEBUG -- about to leave dofork() as pid: 1382 Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- Entering printit(cfA001photon02.rferl.org) Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- Entering banner(root, sysconfigtab) Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- writeStatus: status file update, printer room102d: Thu Jun 26 12:10:48 2003: Attempting to print dfA001photon02.rferl.org Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- entering print(f, dfA001photon02.rferl.org) Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- child_wait: start wait for child 1382 Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- child_wait: finished wait for child 1382 Jun 26 12:10:48 photon02 lpd[1381]: WARNING -- print: output filter 1382 died (err=2), printer room102d Jun 26 12:10:48 photon02 lpd[1381]: ERROR -- room102d: reprint error for dfA001photon02.rferl.org Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- STB CHECK, lo_stb.st_mode: 100600, after stat of lfd Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- printjob: restarting to print cfA001photon02.rferl.org, printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- child_wait: start wait for child 1382 Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- child_wait: no more children to wait for Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- child_wait: finished wait for child 1382 Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- close_pfd: closing LP, pfd 6 Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- openpr: entered openpr(), printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- openpr: in /etc/printcap LP is @room102d.ad.rferl.org/9100, printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- openpr: opening TCP connection, printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- Entering tcp_open() Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- Entering tcp_conn() Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- writeStatus: status file update, printer room102d: Thu Jun 26 12:10:48 2003: room102d is ready and printing Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- openpr: before pipe output filter, printer room102d Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- about to leave dofork() as pid: 1381 Jun 26 12:10:48 photon02 lpd[1383]: DEBUG -- about to leave dofork() as pid: 1383 Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- Entering printit(cfA001photon02.rferl.org) Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- Entering banner(root, sysconfigtab) Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- writeStatus: status file update, printer room102d: Thu Jun 26 12:10:48 2003: Attempting to print dfA001photon02.rferl.org Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- entering print(f, dfA001photon02.rferl.org) Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- child_wait: start wait for child 1383 Jun 26 12:10:48 photon02 lpd[1381]: DEBUG -- child_wait: finished wait for child