CiscoWorks 2.2 and 2.5 on Solaris 10

Mar 03, 2006 4 Replies

CiscoWorks trying to start dmgtd daemon fails with:



# /opt/CSCOpx/objects/dmgt/dmgtd.sol ERROR: open file dmgtd failedERROR >>>>>>>>>>>>> open msg catalog failed. NLSPATH incorrect or objects/share/nls/C/dmgtd.cat is missing.



NLSPATH is set, ldd finds all libs.



# ldd /opt/CSCOpx/objects/dmgt/dmgtd.sol libadm.so.1 => /usr/lib/libadm.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libposix4.so.1 => /usr/lib/libposix4.so.1 libc.so.1 => /usr/lib/libc.so.1 libdmgt.so => /opt/CSCOpx/lib/libdmgt.so libCrun.so.1 => /usr/lib/libCrun.so.1 libm.so.1 => /usr/lib/libm.so.1 libw.so.1 => /usr/lib/libw.so.1 libthread.so.1 => /usr/lib/libthread.so.1 libmp.so.2 => /lib/libmp.so.2 libmd5.so.1 => /lib/libmd5.so.1 libscf.so.1 => /lib/libscf.so.1 libaio.so.1 => /lib/libaio.so.1 libdoor.so.1 => /lib/libdoor.so.1 libuutil.so.1 => /lib/libuutil.so.1 libgen.so.1 => /lib/libgen.so.1 libm.so.2 => /lib/libm.so.2 /platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1 /platform/SUNW,Sun-Fire-V240/lib/libmd5_psr.so.1



Here's the end of truss output where it errors:


17671: close(3) = 0
17671: sysconfig(_CONFIG_SEM_VALUE_MAX) = 2147483647
17671: sysconfig(_CONFIG_STACK_PROT) = 7
17671: brk(0x0005DC58) = 0
17671: brk(0x0005FC58) = 0
17671: brk(0x0005FC58) = 0
17671: brk(0x00061C58) = 0
17671: issetugid() = 0
17671: schedctl() = 0xFEDE4000
17671: fork1() = 17672
17671: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
17672: fork1() (returning as child ...) = 17671
17672: getpid() = 17672 [17671]
17672: lwp_self() = 1
17672: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
17672: setsid() = 17672
17672: open("/opt/CSCOpx/objects/share/nls/C/dmgtd.cat", O_RDONLY) = 3
17672: fstat64(3, 0xFFBFF588) = 0
17672: issetugid() = 0
17672: mmap(0x00000000, 11076, PROT_READ, MAP_SHARED, 3, 0) =
0xFEDE0000
17672: close(3) = 0
17671: llseek(0, 0, SEEK_CUR) = 1711302
17672: fstat64(2, 0xFFBFEC08) = 0
17671: _exit(0) ERROR: open file 17672: write(2, " E R R O R : o p e n ".., 17) = 17 dmgtd17672: write(2, " d m g t d", 5) = 5 failed17672: write(2, " f a i l e d", 7) = 7
17672: sysconfig(_CONFIG_OPEN_FILES) = 256 ERROR >>>>>>>>>>>>> open msg catalog failed. NLSPATH incorrect or
17672: write(2, " E R R O R > > > > > >".., 66) = 66 objects/share/nls/C/dmgtd.cat17672: write(2, " o b j e c t s / s h a r".., 29) = 29 is missing.
17672: write(2, " i s m i s s i n g .".., 13) = 13
17672: llseek(0, 0, SEEK_CUR) = 1711979
17672: _exit(1)

Has anyone else seen this problem on CiscoWorks? Any help would be much appreciated.



Did you have a fresh installation of the CiscoWorks on the Solaris 10, or you upgraded your existing system? I believe, Cisco officially supports CiscoWorks on Solaris 8 only. I installed the CiscoWorks LMS 2.2 on the Solaris 9, but I had (and still have) some problems. It works, but from time to time it stops responding, and I have to reboot the box. I tried to install it once on the Solaris 10 (when it was just released), but installation failed and I reinstalled Solaris 9.

Good luck,

Mike

formatting link

Did you check if the file "objects/share/nls/C/dmgtd.cat" exist and has RW access for everybody? If it exists, change its permissions (chmod 666 dmgtd.cat", if it does not exist, try to seach for it on the box first, then try to search for it in the CiscoWorks distributive, and then, if not found anywhere, try to create a empty file.

Good luck,

Mike

formatting link

If you read my first post, truss indicates that the file is there and it is opening the file for reading but somehow not liking the file. Perms are correct on the file.

17672: open("/opt/CSCOpx/objects/share/nls/C/dmgtd.cat", O_RDONLY) = 3

CiscoHeadsetAdapter.com wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required