cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1729
Views
0
Helpful
12
Replies

ciscoworks LMS show license error

thetnaing00
Level 1
Level 1

hi

i am using LMS 2.5 and i did the fresh installation. after a few days running, LMS started showing license server error and i can't go into any of the module and they are all saying that cannot communicate with license server/service. but the license service is starting normally when i look at CS > admin > processes. any help? thank.

12 Replies 12

Joe Clarke
Cisco Employee
Cisco Employee

The license.log and Tomcat stdout.log might have additional errors. What happened on the server around the time this stopped working?

the server is running normally before happening this. one morning, we tried to open up RME and generate the syslog report and the error came up just like that.

hi

please see the attachment. it is saying that JVMunable to launch for license server. any problem with JAVA? thanks.

What is the output of pdreg -l LicenseServer?

please see the following for the output.

C:\>pdreg -l LicenseServer

Process = LicenseServer

Path = d:\PROGRA~1\CSCOpx\bin\cwjava.exe

Flags = -DNMSROOT=d:\PROGRA~1\CSCOpx -cp:p lib\classpath,objects

\log4j\1.1.3\log4j.jar,lib\classpath\License.jar -cw:jre MDC\jre com.cisco.nm.li

cense.server.LicenseServer

Startup = Started automatically at boot.

Dependencies = Not applicable

hi guys,

any update for this or there is no solution for this. thanks.

This looks correct, but there appears to be an issue starting this VM. Try running this command from a DOS prompt:

D:\progra~1\cscopx\bin\cwjava -cw d:\progra~1\cscopx -DNMSROOT=d:\PROGRA~1\CSCOpx -cp:p lib\classpath;objects\log4j\1.1.3\log4j.jar;lib\classpath\License.jar -cw:jre MDC\jre com.cisco.nm.license.server.LicenseServer

The command should be run all on one line. NOTE: There is a space between "MDC\jre" and "com.cisco.nm.license.server.LicenseServer".

hi,

the following is the result of the command.

[Tue May 06 10:39:13 SGT 2008] Property file d:/PROGRA~1/CSCOpx\objects\licenses

\log4j-license.properties

i also attach the properties file. thanks,

If running it manually works, then this could mean an issue with the environment. Try running these commands:

set NMSROOT=D:\progra~1\cscopx

D:\progra~1\cscopx\bin\cwjava -DNMSROOT=d:\PROGRA~1\CSCOpx -cp:p lib\classpath;objects\log4j\1.1.3\log4j.jar;lib\classpath\License.jar -cw:jre MDC\jre com.cisco.nm.license.server.LicenseServer

hi,

the following is the result when i run the command.

C:\>set NMSROOT=D:\progra~1\cscopx

C:\>D:\progra~1\cscopx\bin\cwjava -DNMSROOT=d:\PROGRA~1\CSCOpx -cp:p lib\classpa

th;objects\log4j\1.1.3\log4j.jar;lib\classpath\License.jar -cw:jre MDC\jre com.c

isco.nm.license.server.LicenseServer

Unable to launch JVM

C:\>

thanks.

hi,

is it a JAVA problem? what is the workaround? thanks.

This could point to a problem with your installation. Looking at the code, I can't see how this situation could happen given that running with the -cw option works. I suggest you open a TAC service request so more analysis can be done.

Review Cisco Networking for a $25 gift card