10-13-2010 01:28 PM
I'm running LMS3.2 but never installed DFM before, I ran LMS3.2 DVD and installed DFM today but after the intall It retured with the following error.
It asked me to choose a db password and I chose a password but of course it was not the password that I chose when I install LMS3.2. I don't even remember the old db password. Please advise.
Daemon Management 3.9 starting. Log=(syslog) /var/adm/CSCOpx/log/dmgtd.log
=================================================================
Finished: Wed Oct 13 15:52:55 EDT 2010
=================================================================
===============- Software Installation Tool Completed -==============
=================================================================
===================- Possible Warnings/Errors Encountered -===================
WARNING: Ensure that you have installed the recommended Solaris 10 cluster patches released
WARNING: on Apr/17/07, in this server.
WARNING: If these cluster patches are not installed, please download and install them
WARNING: from http://www.sun.com/.
WARNING: Otherwise, some features of the CiscoWorks applications will not function properly.
WARNING: Exiting installation beyond this point might result in system instability.
WARNING: Stale lock installed for pkgadd, pkg CSCOdfmdb quit in postinstall state.
ERROR: Failed to Start Database 'dfmInv' because: Could not connect to engine 'dfmInvEng' on 'dfmInvDb' in Bulk mode. Check user id and passwords
ERROR: Failed to connect to database 'dfmInv' with current password.
ERROR: Failed to update new userinfo into database.
ERROR: Failed to stop the database engine with old password: .
ERROR: Failed change password for database 'dfmInv'.
ERROR: Unable to Change password for DSN dfmInv
WARNING: Neither HP-OpenView or NetView is installed.
WARNING: To ensure that you have up-to-date device support,
WARNING: install the latest Service Pack (SP) from Cisco.com, at
WARNING: http://www.cisco.com/cgi-bin/tablebuild.pl/cw2000-dfm.
WARNING: Please refer to the Installation and Setup Guide for details.
10-13-2010 09:36 PM
Run the following to reset your password for the databases and then try to run update again.
bash-3.00# ./perl dbpasswd.pl all
Usage:
Format1: dbpasswd.pl all
Change all database passwords.
Format2: dbpasswd.pl listdsn
List all available data sources in the product.
Format3: dbpasswd.pl dsn=odbc_datasource
Change the database password.
Format4: dbpasswd.pl dsn=odbc_datasource npwd=new_password
Change the database password to new_password.
Format5: dbpasswd.pl dsn=odbc_datasource encryption=yes
Encrypt the database password.
Format6: dbpasswd.pl dsn=odbc_datasource encryption=yes npwd=new_password
Change the database password and encrypt the database password.
10-18-2010 07:43 AM
10-18-2010 03:30 PM
1. Login as ROOT and stop the services.
2. Reinit the db and update the password using the steps below from CSCOpx/bin directory.
perl dbRestoreOrig.pl dsn=dfmInv dmprefix=INV npwd=cisco
perl dbRestoreOrig.pl dsn=dfmFh dmprefix=FH npwd=cisco perl dbRestoreOrig.pl dsn=dfmEpm dmprefix=EPM npwd=cisco
3. Run installation, verify it completed, and let us know results. If that does not work, check your permissions on the /opt/CSCOpx directory, sub-directory, and ensure its "casuser:casusers" owned.
drwxrwxr-x 32 casuser casusers 37 Oct 18 12:01 CSCOpx
10-19-2010 06:00 AM
Permission looks right to me, please see this. I'm doing the rest you asked and will report you shortly.
drwxrwxr-x 33 casuser casusers 43 Oct 19 08:13 CSCOpx
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