tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* class_admin process stuck
@ 2002-05-08  3:15 Robert Mulley
  0 siblings, 0 replies; only message in thread
From: Robert Mulley @ 2002-05-08  3:15 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-08  3:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-08  3:15 class_admin process stuck Robert Mulley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox