02-13-2007 02:35 AM
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
02-13-2007 11:40 AM
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
02-14-2007 02:00 AM
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
02-14-2007 09:32 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide