From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Robert Mulley Newsgroups: gmane.os.tru64.managers Subject: class_admin process stuck Date: Wed, 08 May 2002 13:15:33 +1000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <2DF13F0033C2D3119F60009027DCDB390147096B@mail.tracon.com.au> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1020827934 27348 127.0.0.1 (8 May 2002 03:18:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 May 2002 03:18:54 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 175Hyg-00076z-00 for ; Wed, 08 May 2002 05:18:54 +0200 Original-Received: (qmail 23169 invoked by uid 5); 8 May 2002 03:18:53 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23161 invoked from network); 8 May 2002 03:18:53 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (134.167.3.110) by 0 with SMTP; 8 May 2002 03:18:53 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GVR004VIVVHL5@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 07 May 2002 23:18:53 -0400 (EDT) Original-Received: from auttcis02.travelcorporation.com.au (mail.travelcorporation.com.au [202.139.104.74]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GVR00A8WVULCM@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 07 May 2002 23:18:23 -0400 (EDT) Original-Received: (from uucp@localhost) by auttcis02.travelcorporation.com.au (8.11.0/8.11.0) id g483F4W12857 for ; Wed, 08 May 2002 13:15:04 +1000 Original-Received: from mail1.travelcorporation.com.au(10.192.16.200), claiming to be "mail.travelcorporation.com.au" via SMTP by auttcis02, id smtpdFe3pD3; Wed May 8 13:13:32 2002 Original-Received: by mail.tracon.com.au with Internet Mail Service (5.5.2650.21) id ; Wed, 08 May 2002 13:15:34 +1000 Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2650.21) Xref: main.gmane.org gmane.os.tru64.managers:91 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:91 Hello, We've got some problems with class_admin being run from sys_check. Machine: 2xGS320 Cluster/Tru64 5.1 PK4. We are running BMC Patrol which allocates some semaphores. The problem seems to be that it gets allocated semaphores starting 2. However for some reason "class_admin stats" always tries to do semop on semID 2, as shown in this truss I ran against it: execve("/usr/sbin/class_admin", 0x000000011FFFC020, 0x000000011FFFC038) argc = 2 getpagesize() = 8192 brk(0x0000000140020C90) = 0 getuid() = 0 [ 0 ] getuid() = 0 [ 0 ] mkdir("/etc/class", 0600) Err#17 File exists brk(0x0000000140030C90) = 0 stat("/etc/class/part.default", 0x000000011FFFBE00) = 0 shmget(1640565271, 57776, IPC_CREAT|IPC_EXCL) Err#17 File exists shmget(1640565271, 57776, IPC_EXCL) = 7 shmat(7, 0x00000000, SHM_RND) = 0x0000000000012000 getuid() = 0 [ 0 ] getuid() = 0 [ 0 ] getgid() = 1 [ 1 ] getgroups(32, 0x000000011FFFB180) = 6 open("/usr/lib/nls/msg/C/class_admin.cat", O_RDONLY, 00) Err#2 No such file or directory getuid() = 0 [ 0 ] open("/usr/share/.msg_conv-C", O_RDONLY, 04000003630) Err#2 No such file or directory semop(2, 0x000000011FFF8608, 1) (sleeping...) It then sits there forever and never returns. When that semaphore ID is free, then it gets errors and continues as it should. We are not running any class scheduling etc... so why is this process trying to connect to this semaphore. Any ideas, or just a bug. Robert Mulley System Administrator The Travel Corporation Pty Ltd Travel House 35 Grafton Street Woollahra NSW 2025 (02) 9028 5585