I'm helping out a colleague with a Sun Ray Server 3.1 install on a
Solaris 9 machine that has been patched. I'm getting a hang when the utconfig command attempts to
add the additional users it needs:
Adding
user account for 'utwww' (ut admin web server cgi user) ...
I can see the command it's trying to execute:
# ptree 7470
555 /usr/sbin/inetd -s
978 in.telnetd
1011 -sh
1059 tcsh
7285 /bin/ksh -p ./utconfig
7346 /bin/ksh -p ./utconfig
7418 /bin/ksh -p /opt/SUNWut/lib/utwsadm update -i
/var/opt/SUNWut/tmp/http.conf
7470 useradd -c ut admin web server cgi user -d /tmp -g
utadmin utwww
I truss'd the process, and it appears to be in an infinite loop doing
this:
getpid()
= 7470 [7418]
fstat(4, 0xFFBFF700) = 0
fstat(4, 0xFFBFF470) = 0
putmsg(4, 0xFFBFF60C, 0xFFBFF72C, 0) = 0
poll(0x0003DB14, 1, 15000) = 1
fstat(4, 0xFFBFF468) = 0
getmsg(4, 0xFFBFF608, 0x0002D0A8, 0xFFBFF634) = 0
getpid() = 7470 [7418]
fstat(4, 0xFFBFF700) = 0
fstat(4, 0xFFBFF470) = 0
putmsg(4, 0xFFBFF60C, 0xFFBFF72C, 0) = 0
poll(0x0003DB14, 1, 15000) = 1
fstat(4, 0xFFBFF468) = 0
getmsg(4, 0xFFBFF608, 0x0002D0A8, 0xFFBFF634) = 0
getpid() = 7470 [7418]
fstat(4, 0xFFBFF700) = 0
fstat(4, 0xFFBFF470) = 0
putmsg(4, 0xFFBFF60C, 0xFFBFF72C, 0) = 0
poll(0x0003DB14, 1, 15000) = 1
fstat(4, 0xFFBFF468) = 0
getmsg(4, 0xFFBFF608, 0x0002D0A8, 0xFFBFF634) = 0
I tried to see what file it's trying to fstat():
# pfiles 7470
7470: useradd -c ut admin web server cgi user -d /tmp -g utadmin utwww
Current rlimit: 256 file descriptors
0: S_IFCHR mode:0620 dev:136,0 ino:4873 uid:0 gid:7 rdev:24,1
O_RDWR
1: S_IFIFO mode:0000 dev:311,0 ino:4965 uid:0 gid:1 size:0
O_RDWR
2: S_IFIFO mode:0000 dev:311,0 ino:4965 uid:0 gid:1 size:0
O_RDWR
3: S_IFDOOR mode:0444 dev:316,0 ino:37 uid:0 gid:0 size:0
O_RDONLY|O_LARGEFILE FD_CLOEXEC door to nscd[3839]
4: S_IFCHR mode:0000 dev:136,0 ino:12152 uid:0 gid:0 rdev:41,189
O_RDWR FD_CLOEXEC
but file descriptor 4 is not a normal file. I've searched through the
archives, and Google, and the docs, and cannot see any solutions. Does
anyone know what's going on and how I can fix this?
Thanks,
Pat
|