×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Prime LMS Login Fail

Answered Question
Feb 25th, 2014
User Badges:

We installed a fresh prime LMS 4.2 successfully, we were able to login to the GUI, later we restored a backup taken from ciscoworks lms 4.0.1 but we were unable to login using any of the new created admin password or the old one as well.


We reset the password using the resetpasswd.exe utility but still we are unable to login, it gives a wrong credetials error.


If any one can assist in this case, thanks

Correct Answer by AFROJ AHMAD about 3 years 5 months ago

Hi,


Stop the LMS service then.


Go to the servers command prompt and go to the following directory:
 
C:/Program Files/CSCOpx/bin>
 
Here type the following command:
 
perl ResetLoginModule.pl 

Example:- C:/Program Files/CSCOpx/bin>perl ResetLoginModule.pl 

 




Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
AFROJ AHMAD Tue, 02/25/2014 - 06:50
User Badges:
  • Cisco Employee,

Hi Anas,


Was this previously Integrated with ACS ?


Did you tried login with different Browser ?


Can you try to reser the Password once again following the below link:

http://www.cisco.com/c/en/us/td/docs/net_mgmt/ciscoworks_lan_management_solution/4-2/user/guide/admin/admin/appendixcli.html#wp1016039


Share the output of pdshow  and stdout.log (NMSROOT/CSCOpx/MDC/tomcat/logs)


Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Vinod Arya Tue, 02/25/2014 - 06:50
User Badges:
  • Cisco Employee,

Please make sure of following :


-The old LMS was not configured for AAA auth.

- The username and password of old LMS 4.0.1 should work, try it.


In case it doesnt work, try following :


1. Stop the Daemon Manager by typing on DOS: net stop crmdmgtd.

2. Go to this location:


Windows: C:\Program Files\CSCOpx\lib\classpath\com\cisco\nm\cmf\servlet\cwpass

Solaris: /opt/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet/cwpass


3. Rename cwpass to cwpass.oldbackup.

4. Now go to:


Windows: C:\Program Files\CSCOpx\lib\classpath\com\cisco\nm\cmf\servlet\orig\cwpass.

Solaris: /opt/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet/orig/cwpass


5. Copy the \CSCOpx\lib\classpath\com\cisco\nm\cmf\servlet\orig\cwpass to

\CSCOpx\lib\classpath\com\cisco\nm\cmf\servlet\.  Be careful NOT to delete the \orig\cwpass or you will loose the ability to reset the admin password.


6. Restart the Daemon Manager: net start crmdmgtd.


-Thanks
Vinod
**Encourage Contributors. RATE them. **

Anas Hijjawi Tue, 02/25/2014 - 06:56
User Badges:

Yes it was integrated with ACS, so in this case what should we do, is it the same solution you provided

Correct Answer
AFROJ AHMAD Tue, 02/25/2014 - 06:58
User Badges:
  • Cisco Employee,

Hi,


Stop the LMS service then.


Go to the servers command prompt and go to the following directory:
 
C:/Program Files/CSCOpx/bin>
 
Here type the following command:
 
perl ResetLoginModule.pl 

Example:- C:/Program Files/CSCOpx/bin>perl ResetLoginModule.pl 

 




Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

AFROJ AHMAD Tue, 02/25/2014 - 07:00
User Badges:
  • Cisco Employee,

You might need to reset the password again with passwd command. aftre running the last post command.


Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Anas Hijjawi Tue, 02/25/2014 - 07:02
User Badges:

Looks Greate, I will try this tomorrow and update you, many thanks

AFROJ AHMAD Fri, 02/28/2014 - 05:11
User Badges:
  • Cisco Employee,

I am glad that it helped you



Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Actions

This Discussion

Related Content