Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

LMS 3.0 CiscoWorks Assistant

Hi,

I performed a local WIndows server upgrade from LMS 2.6 to 3.0. So far everything seems normal except for CiscoWorks Assistant.

I can launch the CiscoWorks Assistant home page from the LMS Portal page just fine, but if I try to select anything under Workflows such as Server Setup I get error message --- CWA14: "No HTTP response from ........

Either:1.The server may be down. Or2.The protocol, port number or the user credentials may be wrong."

Documentation states that this error means cannot connect to server?

Any thoughts? Perhaps the upgrade proceedure leaves somthing out that a fresh install wouldn't?

Thanks

26 REPLIES
Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

Was your server integrated with any other CiscoWorks server when running LMS 2.6? Please post the logs under NMSROOT\objects\wfengine\program\logs. If these logs contain sensitive information, then open a TAC service request with this information.

New Member

Re: LMS 3.0 CiscoWorks Assistant

It's a standalone server.

The only log files at the path you requested are the OPSXML.log and Datastore.log. Nothing much in those either.

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

Right, Windows is a pain in this regard. Enable CWA debugging if you can under CiscoWorks Assistant > Administration > Loglevel Settings, then reproduce the error, and get the NMSROOT\log\CWA.log. The output of pdshow may also be helpful.

New Member

Re: LMS 3.0 CiscoWorks Assistant

OK, Thanks

Here are the attachments.

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

According to the log, CWA is trying to make an HTTPS connection to https://MS-TATOOINE:443/cwhp/psu.swUpdate.do and it's not getting a valid reply back. I assume MS-TATOOINE is the name of your server (excellent choice, by the way), and that the CiscoWorks SSL port is 443, and that you are choosing to operate in SSL mode?

The NMSROOT\MDC\etc\regdaemon.xml file will clear up all of these questions definitively.

New Member

Re: LMS 3.0 CiscoWorks Assistant

Yes my CSACS server is Yavin4...

Yes we're using SSL, all other LMS aps launch just fine.

Thanks

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

From the server itself, after authenticating with LMS, try going to https://MS-TATOOINE:443/cwhp/psu.swUpdate.do . Use that URL EXACTLY. What happens?

New Member

Re: LMS 3.0 CiscoWorks Assistant

It brings me to the Common Services-->Software Center-->Software Updates tab, which appears to function normally.

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

Please post the NMSROOT\MDC\Apache\logs\error.log and the NMSROOT\MDC\tomcat\logs\stdout.log. At what time did you last reproduce this problem?

New Member

Re: LMS 3.0 CiscoWorks Assistant

I last tried it at 11:12 local. I see some possible clues in the error log concerning http vs. https?

Thanks

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

Is the IP address of your server 192.168.12.201? What is your System Identity User?

New Member

Re: LMS 3.0 CiscoWorks Assistant

Correct on the IP and admin is the System Identity User .

Thanks

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

I still can't reproduce. Exactly when do you get this error? Please post screenshots showing exactly what you're doing.

New Member

Re: LMS 3.0 CiscoWorks Assistant

Sure here you go.

Thanks

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

Are you using an external login module?

New Member

Re: LMS 3.0 CiscoWorks Assistant

Not that I know of. What is it?

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

I was FINALLY able to reproduce this. I had to mess with my System Identity User setup to get it to happen, though. Since you said your SIU is admin, let's regenerate this from scratch.

To do this, shutdown dmgtd. Then delete NMSROOT\lib\classpath\comUser.dat. Next, run the following command as a local Administrator:

NMSROOT\bin\cwjava -cw NMSROOT com.cisco.nm.cmf.security.SecretTool NMSROOT\lib\classpath\comUser.dat -add USER PASS

For example:

C:\PROGRA~1\CSCOpx\bin\cwjava -cw C:\PROGRA~1\CSCOpx com.cisco.nm.cmf.security.SecretTool c:\PROGRA~1\CSCOpx\lib\classpath\comUser.dat -add admin admin

That will set the System Identity User to admin with a password of admin.

Then, check the permissions on the resulting comUser.dat to make sure casusers has Full Control.

Finally, restart dmgtd, and see if the problem persists.

New Member

Re: LMS 3.0 CiscoWorks Assistant

Sorry, No go.

Ran the command line twice , it did exicute both times, rebooted server and tested. Exact same output.

I'm thinking I may have to reinstall LMS 3.0 from scratch.

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

I just saw something in the stdout.log that caught my eye. What is PSALM101 (besides the obvious)?

New Member

Re: LMS 3.0 CiscoWorks Assistant

I don't know. I checked that log file and it looks like a password? I don't remember using it and I'm the one who original installed LMS 2.6 and the 3.0 upgrade. I tried to login to CiscoWorks using it but it didn't authenticate.

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

It is a password: your System Identity User password. Took me a while slogging through the code, but I think I've figured this out. Please send me the output of:

dir NMSROOT\lib\classpath\com\cisco\nm\cmf\servlet

New Member

Re: LMS 3.0 CiscoWorks Assistant

Which file. This path ends in a folder?

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

I want the list of contents for the whole directory.

New Member

Re: LMS 3.0 CiscoWorks Assistant

Here you go.

Thanks

Cisco Employee

Re: LMS 3.0 CiscoWorks Assistant

This looks good. Try this. Shutdown dmgtd, backup then delete NMSROOT\www\classpath\com\cisco\nm\cmf\security\secret.dat. Then run:

cwjava -cw NMSROOT com.cisco.nm.cmf.security.SecretTool NMSROOT\www\classpath\com\cisco\nm\cmf\security\secret.dat -add USER PASS

Where USER and PASS are the same values you used to create the System Identity User in comUser.dat. Then check permissions on secret.dat, and restart dmgtd.

New Member

Re: LMS 3.0 CiscoWorks Assistant

Joe, that was it, amazing!

All seems to be working fine now. Hats off to you!

Thanks

184
Views
5
Helpful
26
Replies
CreatePlease to create content