cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1090
Views
0
Helpful
3
Replies

resetpasswd java exception

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/conf/backup/AAATra47m_Ciscobak

/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:

/opt/CSCOpx/conf/backup/AAATra47m_Ciscobak

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(ClassLoader.java:1491)

at java.lang.Runtime.loadLibrary0(Runtime.java:788)

at java.lang.System.loadLibrary(System.java:834)

at JavaLogger.<clinit>(JavaLogger.java:26)

at com.cisco.core.nm.util.Auditlog.audit(Auditlog.java:32)

at com.cisco.core.nm.util.Auditlog.main(Auditlog.java:58)

--------------------------------------

Does anybody know what kind of error is it?

Tahnks to all

Leonardo

3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

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

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?

EX:

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

Thanks.

Leonardo

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 Cisco.com.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: