cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3060
Views
0
Helpful
15
Replies

Login to LMS4 failed with HTTP Status 500

IP-Services
Level 1
Level 1

Hello,

I've done an upgrade from LMS 3.1 to LMS 4.01. I installed all updates and I changed the logon security to https.

Evrything was working fine until the last deviceupdate and restart of the deamon manager.

Now I can insert usernam and password and then I get an HTTP Status error 500:

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
     org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
     com.cisco.nm.uii.UIIController.processActionForward(UIIController.java:380)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
     org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
     com.cisco.nm.cmf.util.AjaxAccessFilter.doFilter(AjaxAccessFilter.java:189)
     com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)

root cause

java.lang.NoClassDefFoundError: Could not initialize class com.cisco.nm.gs.ui.helper.GSHelper
     com.cisco.nm.gs.ui.actions.GSInterceptor.perform(GSInterceptor.java:112)
     org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
     org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
     org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1758)
     com.cisco.nm.uii.UIIController.processActionForward(UIIController.java:380)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
     org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
     com.cisco.nm.cmf.util.AjaxAccessFilter.doFilter(AjaxAccessFilter.java:189)
     com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.29 logs.

What can I do to solve the problem?

Kind regards

Ludwig

1 Accepted Solution

Accepted Solutions

Hi Ludwig,

Kindly download the below Patch from Cisco.com

lms40x-win-CSCto46927-0.zip  ( For Windows only)

Apply the Patch and let me know the Results , I hope this will fix the issue.

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

View solution in original post

15 Replies 15

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi ,

Please attached the stdout.log (NMSROOT\MDC\TOMCAT\LOGS)

and

output of pdshow along with screen shot of the services.msc window

Thanks--

Afroj

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

Hi,

I've posted the logs and so on

Kind regards

Ludwig

Hi Ludwing,

Please try the below steps and let me know how it works:

1. Stop the daemon Manager

for windows( net stop crmdmgtd )   for Solaris ( /etc/init.d/dmgtd stop)

2. Remove the following certificate files from (NMSROOT/MDC/Apache/conf/ssl)

a. server.crt

b. server.key

c. server.pk8

3. Disable SSL: NMSROOT/bin/perl  "NMSROOT/MDC/Apache/ConfigSSL.pl" -disable

4. Enable SSL to generate certificate: NMSROOT/bin/perl

"NMSROOT/MDC/Apache/ConfigSSL.pl" -enable

5. Start Daemon Manager

for windows:net start crmdmgtd

for solaris : /etc/init.d/dmgtd start.

--now try to login and see if it works if not then try to Re-register the Apache as below

Go to the Command Prompt :

Unregistered Apache service with the below commad

pdreg -u Apache

Now Register Apache with the below command:

Browse to

NMSROOT\CSCOpx\MDC\Apache\bin

Now run this commad :

pdreg -r Apache -e "NMSROOT\CSCOpx\MDC\Apache\Apache.exe" -f "-d NMSROOT\CSCOpx\MDC\Apache -D SSL" -d TomcatMonitor

OR

pdreg -r Apache -e "d:\CSCOpx\MDC\Apache\bin\Apache.exe" -f "-d d:\CSCOpx\MDC\Apache -D SSL" -d TomcatMonitor

AlsoRun the following command to Reset the Casuser as below

    NMSROOT\CSCOpx\setup\support\resetcasuser.exe

Now Start the Daemon Manager  and check the issue ..

Thanks

Afroj

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

Hello Afroj,

I do every step but it doesn't work. In the new installation of my lms 4 I have only the user admin. The system do have an other hostname and IP adress and is running on the partition c:\. On the old system the lms 3.1 is installed on the partition d:\.

Is this the problem?

I have uploaded the new logs, and pdshow

Kind regards

Ludwig

Hi ,

Yes , this is the Problem . You can not have 2 version of cisco works running on the same Machine.

Please Un-Installed 3.1 and check the issue again.

Thanks

Afroj

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

Hello Afroj,

the lms 3.1 and lms 4.0 are running on different machines. I only take the backup of the lms 3.1 and have restored this backup in my lms 4.0.

The lms 3.1 is shut down and only the lms 4.0 should be run.

Kind regards

Ludwig

Hi Ludwig,

Thanks for the information.

Please follow the below steps:

1. Stop the daemon Manager

2. Disable SSL: NMSROOT/bin/perl  "NMSROOT/MDC/Apache/ConfigSSL.pl" -disable

3. Start Daemon Manager

--now check the issue..

Is LMS integated with ACS ?

If yes use the below command to break the Integartion:

NMSROOT/bin>perl ResetLoginModule.pl

Thanks

Afroj

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

Hi Ludwig,

In case above did not help , send me the below information:

ouput of the below command:

1.. hostname

2. ipconfig  /all

Also stdout.log and stderr.log.

Thanks

Afroj

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

Hello Afroj,

now I get the error

503 Service Unavailable

Failed to connect to server

192.168.168.29

The deamonmanager is started and the services ar running. I've tested to logon with ip:1741 and https://ip but I get alway the sam error message.

I upload the files.

Kind regards Ludwig

Hi Ludwig,

Kindly Enable the SSL as below :

1. Stop the daemon Manager

for windows( net stop crmdmgtd )   for Solaris ( /etc/init.d/dmgtd stop)

2. Enable SSL to generate certificate: NMSROOT/bin/perl

"NMSROOT/MDC/Apache/ConfigSSL.pl" -enable

Enter all the information...

before starting the Daemon Manager

--Delete NMSROOT/MDC/tomcat/webapps/cwportal/db/portal*

Copy NMSROOT/MDC/tomcat/webapps/cwportal/db/orig/* to

NMSROOT/MDC/tomcat/webapps/cwportal/db

5. Start Daemon Manager

for windows:net start crmdmgtd

Now try to login and chek the issue.

Thanks

Afroj

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

Hello Afroj,

I do the steps, but I can't login. I get the erorr http status 500

Kind regards

Ludwig

Hi Ludwig,

Ttry to login to the cisco work as below:

https:\\ip address:443\cwhp\cshome.do

where Ip address is the Ipaddress of your LMS serevr.

Try this and let me know how it works..

Thanks

Afroj

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

Hi Afroj,

it didn't work.

Error HTTP status 500

But the error text is shorter:


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
     com.cisco.nm.cmf.util.AjaxAccessFilter.doFilter(AjaxAccessFilter.java:189)
     com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)

root cause

java.lang.NoClassDefFoundError: Could not initialize class com.cisco.nm.xms.psu.conf.Conf
     com.cisco.nm.xms.psu.util.PsuLibrary.getCurrentVersion(PsuLibrary.java:513)
     com.cisco.nm.cmf.home.util.CSHPUtil.getCSVersion(CSHPUtil.java:534)
     com.cisco.nm.cmf.home.uii.action.CSHPAction.perform(CSHPAction.java:63)
     org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
     org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
     com.cisco.nm.cmf.util.AjaxAccessFilter.doFilter(AjaxAccessFilter.java:189)
     com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.29 logs.


Apache Tomcat/5.5.29

Kind regards Ludwig

Hi Ludwig,

Kindly download the below Patch from Cisco.com

lms40x-win-CSCto46927-0.zip  ( For Windows only)

Apply the Patch and let me know the Results , I hope this will fix the issue.

Thanks
Afroj
Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
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: