From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: mark.hickey@talk21.com Newsgroups: gmane.os.tru64.managers Subject: Printer Queues hanging using TCP/IP Date: Wed, 14 Aug 2002 17:43:44 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20020814165039.IRJJ28576.wmpmta03-app.mail-store.com@wmpmtavirtual> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029344224 27648 127.0.0.1 (14 Aug 2002 16:57:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2002 16:57:04 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17f1S9-0007BZ-00 for ; Wed, 14 Aug 2002 18:57:01 +0200 Original-Received: (qmail 454 invoked by uid 5); 14 Aug 2002 16:51:19 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 446 invoked from network); 14 Aug 2002 16:51:19 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (134.167.3.110) by 0 with SMTP; 14 Aug 2002 16:51:19 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H0U000W7ETGKS@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 14 Aug 2002 12:51:18 -0400 (EDT) Original-Received: from wmpmta03-app.mail-store.com ([194.73.242.5]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H0U002ABET4G3@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 14 Aug 2002 12:51:06 -0400 (EDT) Original-Received: from wmpmtavirtual ([10.216.84.20]) by wmpmta03-app.mail-store.com with SMTP id <20020814165039.IRJJ28576.wmpmta03-app.mail-store.com@wmpmtavirtual> for ; Wed, 14 Aug 2002 17:50:39 +0100 Original-Received: from 195.171.4.61 by t21web10-lrs ([10.216.84.20]); Wed, 14 Aug 2002 17:43:44 +0000 Original-To: tru64-unix-managers@ornl.gov X-Mailer: talk21 v1.26 - http://talk21.btopenworld.com X-Talk21Ref: none Xref: main.gmane.org gmane.os.tru64.managers:1359 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1359 I have a number of sites across the UK, printing is via a Wide Area Network and Decserver 90TL terminal servers using TCP/IP, the problem seems to be random across different sites. Typically what I see when a queue hangs is that the user reports that the printer is online and I see the following output; europa ->lpc status glaprint7 glaprint7: printer is on device '@gla11/port1' speed -1 queuing is enabled printing is enabled 17 entries in spool area Tue Aug 6 14:25:33 2002: Attempting to print dfA824europa europa ->cat /var/spool/lpd42/lock 6408 cfA824europa europa ->ps -ef | grep 6408 root 6408 3036 0.0 14:23:58 ?? 0:00.18 /usr/lbin/lpd daemon 32492 6408 0.0 14:23:58 ?? 0:00.01 la280of -w132 -l66 hickeym 26779 5313 0.2 15:26:17 ttyq3 0:00.01 grep 6408 europa ->ps -ef | grep 32492 daemon 32492 6408 0.0 14:23:58 ?? 0:00.01 la280of -w132 -l66 hickeym 29469 5313 0.4 15:26:32 ttyq3 0:00.02 grep 32492 europa ->netstat | grep gla11 tcp 15 0 europa.1080 gla11.port1 ESTABLISHED europa ->telnet gla11 Trying 10.11.4.11... Connected to gla11. Escape character is '^]'. # DECserver 90TL Communications Server V1.1C (BL46A-13) - LAT V5.1 (c) Copyright 1996, Digital Equipment Corporation - All Rights Reserved Please type HELP if you need assistance Enter username> mfh Local> sh port all Port Access Status Services Offered 1 Remote Connected Listener 2001 2 Remote Idle Listener 2002 3 Remote Idle Listener 2003 4 Remote Idle Listener 2004 5 Remote Idle Listener 2005 6 Remote Idle Listener 2006 7 Remote Idle Listener 2007 8 Remote Idle Listener 2008 A cutdown version of the lpr.log shows the following; Aug 6 14:25:23 europa lpd[6408]: DEBUG -- writeStatus: status file update, printer glaprint7: Tue Aug 6 14:25:23 2002: Attempting to print dfA823europa Aug 6 14:25:23 europa lpd[6408]: DEBUG -- child_wait: start wait for child 32492 Aug 6 14:25:23 europa lpd[6408]: DEBUG -- child_wait: finished wait for child 32492 Aug 6 14:25:23 europa lpd[6408]: DEBUG -- about to leave dofork() as pid: 6408 Aug 6 14:25:23 europa lpd[6408]: DEBUG -- child_wait: start wait for child 27909 Aug 6 14:25:33 europa lpd[6408]: DEBUG -- child_wait: finished wait for child 27909 Aug 6 14:25:33 europa lpd[6408]: DEBUG -- writeStatus: status file update, printer glaprint7: Tue Aug 6 14:25:33 2002: Notifying user... Aug 6 14:25:33 europa lpd[6408]: DEBUG -- writeStatus: status file update, printer glaprint7: Tue Aug 6 14:25:33 2002: glaprint7 is ready and printing Aug 6 14:25:33 europa lpd[6408]: DEBUG -- Entering printit(cfA824europa) Aug 6 14:25:33 europa lpd[6408]: DEBUG -- writeStatus: status file update, printer glaprint7: Tue Aug 6 14:25:33 2002: Attempting to print dfA824europa Aug 6 14:25:33 europa lpd[6408]: DEBUG -- child_wait: start wait for child 32492 Then ran an lpc restart glaprint7 Aug 6 15:42:11 europa lpd[6408]: INFO -- abort_signal: received signal 15, aborting current job Aug 6 15:42:16 europa lpd[6408]: DEBUG -- writeStatus: status file update, printer glaprint7: Tue Aug 6 15:42:16 2002: Aug 6 15:42:16 europa lpd[6408]: INFO -- abort_signal: exiting... Aug 6 15:42:16 europa lpd[6408]: INFO -- printjob_exit: breaking promise to process all queued print jobs since this daemon was asked to exit now, printer glaprint7 If anyone has any tips or advice, please drop me a line. Regards Mark Hickey Systems Administrator Mark Hickey Tel. 01440-710677 -------------------- talk21 your FREE portable and private address on the net at http://www.talk21.com