resetpasswd java exception

Unanswered Question
Feb 13th, 2007

Hi to all!

I tried to reset admin password, after restorebackup procedure from LMS 2.2 to LMS 2.6 on solaris 8.

After password changed, the prompt gave me the following error:


# ./resetpasswd -f admin

*** CiscoWorks user password recovery utility ***

The user passwords entered have the following restrictions:

1) All printable characters are allowed.

2) Password length must be within 5 to 256 characters.

Enter new password for admin (CNTRL+C to Quit):

Re-enter new password for admin (CNTRL+C to Quit):

Backing up existing cwpass to directory:


/opt/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet/cwpass --> /opt/CSCOpx/conf/backup/AAATra47m_Ciscobak/cwpass

Updating /opt/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet/cwpass

Password Update SUCCESSFUL.

Original cwpass file has been backed up in:


Could not load corelogger library, attempting to load debug version

Loading coreloggerd

Exception in thread "main" java.lang.UnsatisfiedLinkError: no coreloggerd in java.library.path

at java.lang.ClassLoader.loadLibrary(

at java.lang.Runtime.loadLibrary0(

at java.lang.System.loadLibrary(

at JavaLogger.<clinit>(




Does anybody know what kind of error is it?

Tahnks to all


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Tue, 02/13/2007 - 11:40

When running this command on Solaris, you need to adjust your LD_LIBRARY_PATH environment variable. Something like this should work:

env LD_LIBRARY_PATH=/opt/CSCOpx/lib:/opt/CSCOpx/MDC/lib /opt/CSCOpx/bin/resetpasswd -f admin

Leonardo Roberto Wed, 02/14/2007 - 02:00

ok.. so Joe,

I found also other java exception in various log files.

Which other environment variables I've to set for the correct running of LMS 2.6?


HP Open View NNM has an executable file which set all environment variable needed.



Joe Clarke Wed, 02/14/2007 - 09:32

Not all Java exceptions are the same. For normal operation of LMS, all you need to do is start dmgtd. A few of the CLI commands do require LD_LIBRARY_PATH (to the value I listed previously) to be set, but the important ones are documented on


This Discussion