10 Replies Latest reply: Aug 20, 2009 6:38 PM by 799875 RSS

    Solaris Management Console hangs indefinitely

    807557
      Hi,

      We have two t5240 servers on which Solaris 10 update 7 was fresh installed. Apparently some patches were applied by the guys who did the initial installation as well.

      My problem is as follows:
      1) I try to start SMC from a terminal (either using X11 forwarding or on local X server)
      2) SMC splash screen appears
      3) SMC shows up (and shows "Configuring the Management Server")
      4) At the bottom left "Starting console","loading toolbox...." and "toolbox successfully loaded..." messages are printed (no error messages either on the console or on the SMC screen)
      5) Following that phase, SMC hangs up indefinitely, progress bar goes left and right showing signs of activity but nothing happens. No login screen shows up.

      Regarding the troubleshooting documents, i have already checked output of /etc/init.d/init.wbem status command.Server just runs fine. But I still feel like I am missing something important. Maybe something related with login services etc.

      I would be glad if anybody could suggest a solution

      Thanks,

      Onur
        • 1. Re: Solaris Management Console hangs indefinitely
          799875
          Check this thread:

          http://forums.sun.com/thread.jspa?threadID=5288297
          • 2. Re: Solaris Management Console hangs indefinitely
            807557
            Hi,

            I've already checked that thread out, but I don't believe it's relevant. In our case, even the login screen does not show up and there are no errors thrown on the terminal screen either.

            Thanks,

            Onur
            • 3. Re: Solaris Management Console hangs indefinitely
              799875
              What do you get with ldd /usr/sadm/lib/smc/bin/smcboot? Are all the lib files there? Have you tried to execute smc under truss? Perhaps there is a file or library that it cannot find and that's why it hangs. There is no login screen on smc, it should just open up and you begin - if you want to change or view something that requires root access, a box will open asking for the root password, but there is no login screen per se.
              • 4. Re: Solaris Management Console hangs indefinitely
                807557
                Hi,

                I've double checked with ldd command to see all the .lib files exist. (symbolic links and actual files).

                Running SMC under truss did not work either, hangs at the exact same point, without any error messages generated.

                You might be right about the login screen, I definitely remember being asked for the root pw, but apparently SMC asks for it, when it requires it, as you already mentioned.

                I agree it should be missing something important, however smc -edit rather than emc -open lets me edit the toolboxes etc.. But smc -open just hangs. No luck.

                Onur
                • 5. Re: Solaris Management Console hangs indefinitely
                  799875
                  If you could, post the output under truss, I'd like to compare it to my system to see what's different. Perhaps all the library files are there, but if the paths aren't quite right, maybe something is timing out. Are you running the SMC under root, or a regular user su'd to root? Just wondering if there's a permissions problem somewhere. Did you check to see if there is anything in the wbem service log (get log name from svcs -l wbem). The fact that it does start up and load up the toolboxes is good, it must be something simple that's preventing it from going that last step.
                  • 6. Re: Solaris Management Console hangs indefinitely
                    807557
                    Hi,
                    I ve tried running smc directly from root, no sudo. I ve checked the wbem log for errors as well, everything seems fine
                    Posting the Truss output below, it just hangs after printing the last line of output

                    root@vtysun # truss smc

                    execve("/usr/bin/ksh", 0xFFBFFD14, 0xFFBFFD20) argc = 2

                    resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12

                    resolvepath("/usr/bin/ksh", "/usr/bin/ksh", 1023) = 12

                    stat("/usr/bin/ksh", 0xFFBFFAF0) = 0

                    open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT

                    stat("/usr/openwin/lib/libc.so.1", 0xFFBFF5A8) Err#2 ENOENT

                    stat("/lib/libc.so.1", 0xFFBFF5A8) = 0

                    resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14

                    open("/lib/libc.so.1", O_RDONLY) = 3

                    mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF 3A0000

                    mmap(0x00010000, 1294336, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIG N, -1, 0) = 0xFF200000

                    mmap(0xFF200000, 1237013, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3 , 0) = 0xFF200000

                    mmap(0xFF330000, 35645, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MA P_INITDATA, 3, 1245184) = 0xFF330000

                    mmap(0xFF33A000, 1416, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP _ANON, -1, 0) = 0xFF33A000

                    memcntl(0xFF200000, 144992, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0

                    close(3) = 0

                    mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP _ALIGN, -1, 0) = 0xFF390000

                    munmap(0xFF3A0000, 32768) = 0

                    getcontext(0xFFBFF7E0)

                    getrlimit(RLIMIT_STACK, 0xFFBFF7C0) = 0

                    getpid() = 3390 [3389]

                    setustack(0xFF392A88)

                    sigfillset(0xFF3392F0) = 0

                    getuid() = 0 [0]

                    getuid() = 0 [0]

                    getgid() = 0 [0]

                    getgid() = 0 [0]

                    time() = 1250669910

                    brk(0x000542B0) = 0

                    brk(0x000562B0) = 0

                    stat("/platform/SUNW,T5240/lib/libc_psr.so.1", 0xFFBFF3C8) = 0

                    resolvepath("/platform/SUNW,T5240/lib/libc_psr.so.1", "/platform/sun4v/lib/libc_ psr.so.1", 1023) = 33

                    mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3F0000

                    open("/platform/SUNW,T5240/lib/libc_psr.so.1", O_RDONLY) = 3

                    mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF 3A0000

                    munmap(0xFF3A2000, 24576) = 0

                    close(3) = 0

                    time() = 1250669910

                    brk(0x000562B0) = 0

                    brk(0x000582B0) = 0

                    stat64("/", 0xFFBFFA20) = 0

                    stat64(".", 0xFFBFF988) = 0

                    schedctl() = 0xFF382000

                    lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                    sigaction(SIGABRT, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGALRM, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGBUS, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGCLD, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGEMT, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGFPE, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGHUP, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGILL, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGINT, 0xFFBFF9C8, 0xFFBFFA68) = 0

                    sigaction(SIGABRT, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGPIPE, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGQUIT, 0xFFBFF9C8, 0xFFBFFA68) = 0

                    sigaction(SIGSYS, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGTERM, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGTRAP, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGUSR1, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGUSR2, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGXCPU, 0xFFBFFA28, 0xFFBFFAC8) = 0

                    sigaction(SIGXFSZ, 0xFFBFF9C8, 0xFFBFFA68) = 0

                    readlink("/", 0xFFBFF318, 1024) Err#22 EINVAL

                    getpid() = 3390 [3389]

                    getpid() = 3390 [3389]

                    stat64("/", 0xFFBFFA80) = 0

                    stat64(".", 0xFFBFF9E8) = 0

                    stat64("/", 0xFFBFFA80) = 0

                    stat64(".", 0xFFBFF9E8) = 0

                    brk(0x000582B0) = 0

                    brk(0x0005A2B0) = 0

                    lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                    stat64("/usr/sbin/smc", 0xFFBFFA70) = 0

                    lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                    open64("/usr/sbin/smc", O_RDONLY) = 3

                    fcntl(3, F_DUPFD, 0x0000000A) = 10

                    close(3) = 0

                    close(62) Err#9 EBADF

                    fcntl(10, F_DUPFD, 0x0000003E) = 62

                    close(10) = 0

                    fcntl(62, F_SETFD, 0x00000001) = 0

                    fcntl(62, F_GETFL) = 8192

                    llseek(62, 0, SEEK_CUR) = 0

                    ioctl(62, TCGETS, 0x00052CF0) Err#25 ENOTTY

                    read(62, " # ! / b i n / k s h\n #".., 1024) = 440

                    pipe() = 3 [4]

                    fcntl(3, F_DUPFD, 0x0000000A) = 10

                    close(3) = 0

                    fcntl(4, F_DUPFD, 0x0000000A) = 11

                    close(4) = 0

                    fork1() = 3391

                    lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                    close(11) = 0

                    fcntl(10, F_GETFL) = 2

                    llseek(10, 0, SEEK_CUR) Err#29 ESPIPE

                    ioctl(10, TCGETS, 0x00052CF0) Err#22 EINVAL

                    sigaction(SIGCLD, 0xFFBFE908, 0xFFBFE9A8) = 0

                    waitid(P_ALL, 0, 0xFFBFE908, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0

                    waitid(P_ALL, 0, 0xFFBFE908, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) Err#1 0 ECHILD

                    sigaction(SIGCLD, 0xFFBFE908, 0xFFBFE9A8) = 0

                    read(10, " / u s r\n", 1024) = 5

                    sigaction(SIGCLD, 0xFFBFE908, 0xFFBFE9A8) = 0

                    waitid(P_ALL, 0, 0xFFBFE908, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) Err#1 0 ECHILD

                    sigaction(SIGCLD, 0xFFBFE908, 0xFFBFE9A8) = 0

                    read(10, 0xFFBFF1B8, 1024) = 0

                    ioctl(10, TCGETA, 0xFFBFEA7C) Err#22 EINVAL

                    sigaction(SIGCLD, 0xFFBFEEE0, 0xFFBFEF80) = 0

                    sigaction(SIGCLD, 0xFFBFEEE0, 0xFFBFEF80) = 0

                    close(10) = 0

                    pipe() = 3 [4]
                    • 7. Re: Solaris Management Console hangs indefinitely
                      807557
                      fcntl(3, F_DUPFD, 0x0000000A) = 10

                      close(3) = 0

                      fcntl(4, F_DUPFD, 0x0000000A) = 11

                      close(4) = 0

                      fork1() = 3393

                      lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                      close(11) = 0

                      fcntl(10, F_GETFL) = 2

                      llseek(10, 0, SEEK_CUR) Err#29 ESPIPE

                      ioctl(10, TCGETS, 0x00052CF0) Err#22 EINVAL

                      sigaction(SIGCLD, 0xFFBFE900, 0xFFBFE9A0) = 0

                      waitid(P_ALL, 0, 0xFFBFE900, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0

                      sigaction(SIGCLD, 0xFFBFE900, 0xFFBFE9A0) = 0

                      read(10, " s m c\n", 1024) = 4

                      sigaction(SIGCLD, 0xFFBFE900, 0xFFBFE9A0) = 0

                      waitid(P_ALL, 0, 0xFFBFE900, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0

                      waitid(P_ALL, 0, 0xFFBFE900, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) Err#1 0 ECHILD

                      sigaction(SIGCLD, 0xFFBFE900, 0xFFBFE9A0) = 0

                      read(10, 0xFFBFF1B0, 1024) = 0

                      ioctl(10, TCGETA, 0xFFBFEA74) Err#22 EINVAL

                      sigaction(SIGCLD, 0xFFBFEED8, 0xFFBFEF78) = 0

                      sigaction(SIGCLD, 0xFFBFEED8, 0xFFBFEF78) = 0

                      close(10) = 0

                      sigaction(SIGXFSZ, 0xFFBFF640, 0xFFBFF6E0) = 0

                      sigaction(SIGQUIT, 0xFFBFF640, 0xFFBFF6E0) = 0

                      execve("/bin/ksh", 0x00057448, 0x00057458) argc = 2

                      resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12

                      resolvepath("/usr/bin/ksh", "/usr/bin/ksh", 1023) = 12

                      stat("/usr/bin/ksh", 0xFFBFFA98) = 0

                      open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT

                      stat("/usr/openwin/lib/libc.so.1", 0xFFBFF550) Err#2 ENOENT

                      stat("/lib/libc.so.1", 0xFFBFF550) = 0

                      resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14

                      open("/lib/libc.so.1", O_RDONLY) = 3

                      mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF 3A0000

                      mmap(0x00010000, 1294336, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIG N, -1, 0) = 0xFF200000

                      mmap(0xFF200000, 1237013, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3 , 0) = 0xFF200000

                      mmap(0xFF330000, 35645, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MA P_INITDATA, 3, 1245184) = 0xFF330000

                      mmap(0xFF33A000, 1416, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP _ANON, -1, 0) = 0xFF33A000

                      memcntl(0xFF200000, 144992, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0

                      close(3) = 0

                      mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP _ALIGN, -1, 0) = 0xFF390000

                      munmap(0xFF3A0000, 32768) = 0

                      getcontext(0xFFBFF788)

                      getrlimit(RLIMIT_STACK, 0xFFBFF768) = 0

                      getpid() = 3390 [3389]

                      setustack(0xFF392A88)

                      sigfillset(0xFF3392F0) = 0

                      getuid() = 0 [0]

                      getuid() = 0 [0]

                      getgid() = 0 [0]

                      getgid() = 0 [0]

                      time() = 1250669910

                      brk(0x000542B0) = 0

                      brk(0x000562B0) = 0

                      stat("/platform/SUNW,T5240/lib/libc_psr.so.1", 0xFFBFF370) = 0

                      resolvepath("/platform/SUNW,T5240/lib/libc_psr.so.1", "/platform/sun4v/lib/libc_ psr.so.1", 1023) = 33

                      mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3F0000

                      open("/platform/SUNW,T5240/lib/libc_psr.so.1", O_RDONLY) = 3

                      mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF 3A0000

                      munmap(0xFF3A2000, 24576) = 0

                      close(3) = 0

                      time() = 1250669910

                      brk(0x000562B0) = 0

                      brk(0x000582B0) = 0

                      stat64("/", 0xFFBFF9C8) = 0

                      stat64(".", 0xFFBFF930) = 0

                      schedctl() = 0xFF382000

                      lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                      sigaction(SIGABRT, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGALRM, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGBUS, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGCLD, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGEMT, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGFPE, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGHUP, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGILL, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGINT, 0xFFBFF970, 0xFFBFFA10) = 0

                      sigaction(SIGABRT, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGPIPE, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGQUIT, 0xFFBFF970, 0xFFBFFA10) = 0

                      sigaction(SIGSYS, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGTERM, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGTRAP, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGUSR1, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGUSR2, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGXCPU, 0xFFBFF9D0, 0xFFBFFA70) = 0

                      sigaction(SIGXFSZ, 0xFFBFF970, 0xFFBFFA10) = 0

                      readlink("/", 0xFFBFF2C0, 1024) Err#22 EINVAL

                      getpid() = 3390 [3389]

                      getpid() = 3390 [3389]

                      stat64("/", 0xFFBFFA28) = 0

                      stat64(".", 0xFFBFF990) = 0

                      stat64("/", 0xFFBFFA28) = 0

                      stat64(".", 0xFFBFF990) = 0

                      brk(0x000582B0) = 0

                      brk(0x0005A2B0) = 0

                      lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                      stat64("/usr/sadm/lib/smc/bin/smc", 0xFFBFFA18) = 0

                      lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                      open64("/usr/sadm/lib/smc/bin/smc", O_RDONLY) = 3

                      fcntl(3, F_DUPFD, 0x0000000A) = 10

                      close(3) = 0

                      close(62) Err#9 EBADF

                      fcntl(10, F_DUPFD, 0x0000003E) = 62

                      close(10) = 0

                      fcntl(62, F_SETFD, 0x00000001) = 0

                      fcntl(62, F_GETFL) = 8192

                      llseek(62, 0, SEEK_CUR) = 0

                      ioctl(62, TCGETS, 0x00052CF0) Err#25 ENOTTY

                      read(62, " # ! / b i n / k s h\n #".., 1024) = 1014

                      lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                      open64("/usr/sadm/lib/smc/lib/functions", O_RDONLY) = 3

                      fstat64(3, 0xFFBFF6F0) = 0

                      lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                      fcntl(3, F_DUPFD, 0x0000000A) = 10

                      close(3) = 0

                      fcntl(10, F_GETFL) = 8192
                      • 8. Re: Solaris Management Console hangs indefinitely
                        807557
                        llseek(10, 0, SEEK_CUR) = 0

                        ioctl(10, TCGETS, 0x00052CF0) Err#25 ENOTTY

                        read(10, " # ! / b i n / k s h\n #".., 1024) = 1024

                        read(10, " r e a k ; ;\n\t ".., 1024) = 1024

                        read(10, " W B E M = $ { V I P E R".., 1024) = 1024

                        read(10, " n j a r g = $ { a r g #".., 1024) = 225

                        read(10, 0xFFBFF35C, 1024) = 0

                        close(10) = 0

                        open64("/tmp/sh3390.1", O_RDWR|O_CREAT|O_EXCL, 0600) = 3

                        fcntl(3, F_DUPFD, 0x0000000A) = 10

                        close(3) = 0

                        close(61) Err#9 EBADF

                        fcntl(10, F_DUPFD, 0x0000003D) = 61

                        close(10) = 0

                        fcntl(61, F_SETFD, 0x00000001) = 0

                        unlink("/tmp/sh3390.1") = 0

                        brk(0x0005A2B0) = 0

                        brk(0x0005C2B0) = 0

                        lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                        stat64("/usr/sbin/java", 0xFFBFD7B0) Err#2 ENOENT

                        lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                        lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                        stat64("/usr/bin/java", 0xFFBFD7B0) = 0

                        lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                        pipe() = 3 [4]

                        fcntl(3, F_DUPFD, 0x0000000A) = 10

                        close(3) = 0

                        fcntl(4, F_DUPFD, 0x0000000A) = 11

                        close(4) = 0

                        fork1() = 3394

                        lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                        close(11) = 0

                        fcntl(10, F_GETFL) = 2

                        llseek(10, 0, SEEK_CUR) Err#29 ESPIPE

                        ioctl(10, TCGETS, 0x00052CF0) Err#22 EINVAL

                        sigaction(SIGCLD, 0xFFBFDA40, 0xFFBFDAE0) = 0

                        waitid(P_ALL, 0, 0xFFBFDA40, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0

                        sigaction(SIGCLD, 0xFFBFDA40, 0xFFBFDAE0) = 0

                        read(10, " / u s r / j a v a / b i".., 1024) = 19

                        sigaction(SIGCLD, 0xFFBFDA40, 0xFFBFDAE0) = 0

                        waitid(P_ALL, 0, 0xFFBFDA40, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0

                        waitid(P_ALL, 0, 0xFFBFDA40, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) Err#1 0 ECHILD

                        sigaction(SIGCLD, 0xFFBFDA40, 0xFFBFDAE0) = 0

                        read(10, 0xFFBFE2F0, 1024) = 0

                        ioctl(10, TCGETA, 0xFFBFDBB4) Err#22 EINVAL

                        sigaction(SIGCLD, 0xFFBFE018, 0xFFBFE0B8) = 0

                        sigaction(SIGCLD, 0xFFBFE018, 0xFFBFE0B8) = 0

                        close(10) = 0

                        stat64("/usr/java", 0x00052F30) = 0

                        stat64("/usr/java/jre", 0x00052F30) = 0

                        stat64("/usr/java/bin/java", 0x00052F30) = 0

                        pipe() = 3 [4]

                        fcntl(3, F_DUPFD, 0x0000000A) = 10

                        close(3) = 0

                        fcntl(4, F_DUPFD, 0x0000000A) = 11

                        close(4) = 0

                        fork1() = 3396

                        lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                        close(11) = 0

                        fcntl(10, F_GETFL) = 2

                        llseek(10, 0, SEEK_CUR) Err#29 ESPIPE

                        ioctl(10, TCGETS, 0x00052CF0) Err#22 EINVAL

                        sigaction(SIGCLD, 0xFFBFD5B0, 0xFFBFD650) = 0

                        waitid(P_ALL, 0, 0xFFBFD5B0, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0

                        sigaction(SIGCLD, 0xFFBFD5B0, 0xFFBFD650) = 0

                        read(10, " j a v a v e r s i o n".., 1024) = 24

                        sigaction(SIGCLD, 0xFFBFD5B0, 0xFFBFD650) = 0

                        waitid(P_ALL, 0, 0xFFBFD5B0, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0

                        sigaction(SIGCLD, 0xFFBFD5B0, 0xFFBFD650) = 0

                        read(10, 0xFFBFDE60, 1024) = 0

                        Received signal #18, SIGCLD [caught]

                        siginfo: SIGCLD CLD_EXITED pid=3396 status=0x0000

                        lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                        setcontext(0xFFBFD100)

                        ioctl(10, TCGETA, 0xFFBFD724) Err#22 EINVAL

                        sigaction(SIGCLD, 0xFFBFDB88, 0xFFBFDC28) = 0

                        waitid(P_ALL, 0, 0xFFBFDB88, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0

                        sigaction(SIGCLD, 0xFFBFDB88, 0xFFBFDC28) = 0

                        close(10) = 0

                        fork1() = 3398

                        lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                        sigaction(SIGCLD, 0xFFBFEA98, 0xFFBFEB38) = 0

                        waitid(P_ALL, 0, 0xFFBFEA98, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0

                        sigaction(SIGCLD, 0xFFBFEA98, 0xFFBFEB38) = 0

                        openat(-3041965, "/usr/sadm/lib/smc/lib/preload", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3

                        fcntl(3, F_SETFD, 0x00000001) = 0

                        fstat64(3, 0xFFBFEB28) = 0

                        getdents64(3, 0xFF394000, 8192) = 312

                        getdents64(3, 0xFF394000, 8192) = 0

                        close(3) = 0

                        openat(-3041965, "/usr/sadm/lib/smc/lib/preload", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3

                        fcntl(3, F_SETFD, 0x00000001) = 0
                        • 9. Re: Solaris Management Console hangs indefinitely
                          807557
                          fstat64(3, 0xFFBFEB28) = 0

                          getdents64(3, 0xFF394000, 8192) = 312

                          getdents64(3, 0xFF394000, 8192) = 0

                          close(3) = 0

                          stat64("/usr/sadm/lib/smc/lib/preload/cimapi.jar", 0x00052F30) = 0

                          stat64("/usr/sadm/lib/smc/lib/preload/cimom.jar", 0x00052F30) = 0

                          stat64("/usr/sadm/lib/smc/lib/preload/jh.jar", 0x00052F30) = 0

                          stat64("/usr/sadm/lib/smc/lib/preload/jsdk21.jar", 0x00052F30) = 0

                          stat64("/usr/sadm/lib/smc/lib/preload/providerutility.jar", 0x00052F30) = 0

                          stat64("/usr/sadm/lib/smc/lib/preload/sunwbem.jar", 0x00052F30) = 0

                          stat64("/usr/sadm/lib/smc/lib/preload/wbem.jar", 0x00052F30) = 0

                          stat64("/usr/sadm/lib/smc/lib/preload/xml.jar", 0x00052F30) = 0

                          stat64("/usr/sadm/lib/smc/lib/preload/*.zip", 0x00052F30) Err#2 ENOENT

                          openat(-3041965, "/usr/sadm/lib/smc/lib/preload", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3

                          fcntl(3, F_SETFD, 0x00000001) = 0

                          fstat64(3, 0xFFBFF508) = 0

                          getdents64(3, 0xFF394000, 8192) = 312

                          getdents64(3, 0xFF394000, 8192) = 0

                          close(3) = 0

                          openat(-3041965, "/usr/sadm/lib/smc/lib/preload", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3

                          fcntl(3, F_SETFD, 0x00000001) = 0

                          fstat64(3, 0xFFBFF508) = 0

                          getdents64(3, 0xFF394000, 8192) = 312

                          getdents64(3, 0xFF394000, 8192) = 0

                          close(3) = 0

                          openat(-3041965, "/usr/sadm/lib/smc/lib/preload", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3

                          fcntl(3, F_SETFD, 0x00000001) = 0

                          fstat64(3, 0xFFBFF508) = 0

                          getdents64(3, 0xFF394000, 8192) = 312

                          getdents64(3, 0xFF394000, 8192) = 0

                          close(3) = 0

                          stat64("/usr/sadm/lib/smc/lib/preload/console_rt_*.jar", 0x00052F30) Err#2 ENOEN T

                          stat64("/usr/sadm/lib/smc/lib/preload/UserGuide_*.jar", 0x00052F30) Err#2 ENOENT

                          stat64("/usr/sadm/lib/smc/lib/preload/smcapi_*.jar", 0x00052F30) Err#2 ENOENT

                          fork1() = 3399

                          lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]

                          sigaction(SIGCLD, 0xFFBFF6C0, 0xFFBFF760) = 0

                          waitid(P_ALL, 0, 0xFFBFF6C0, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) (sleeping...)

                          Received signal #20, SIGWINCH, in waitid() [default]

                          Java Accessibility Bridge for GNOME loaded.



                          waitid(P_ALL, 0, 0xFFBFF6C0, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) (sleeping...)
                          • 10. Re: Solaris Management Console hangs indefinitely
                            799875
                            At the very end of this truss there is a fork process, with pid 3399. Run it again, find the pid assigned on this last fork, and do a pfiles <pidnumber>. I'd like to see what it has open, whether its referring to the smc policy settings and what ports it has open.