LMS error

Unanswered Question
Aug 21st, 2007

I am having a issue with LMS. I recieve this error when I go to netconfig.

URN_NOT_FOUND : urn "JRM" : Not found

This happens when I go to look at the jobs I have already created in netconfig. I am not able to view those jobs although they do still run as it the jobs set to reboot my routers still work.

Thanks

Dave

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Tue, 08/21/2007 - 13:51

Please provide the output of the NMSROOT/bin/pdshow command as well as the OS on which LMS is installed.

DavidPeter Wed, 08/22/2007 - 06:42

The OS is server 2003 I am not sure how to aquire the output from the NMSROOT/bin/pdshow

Where do I get that from?

Joe Clarke Wed, 08/22/2007 - 09:02

Run the command, "pdshow" and get the output. Also, include the jrm.log.

Joe Clarke Wed, 08/22/2007 - 13:22

I have never seen this message before. Please provide your NMSROOT\lib\classpath\md.properties file and the output of:

ping 127.0.0.1

DavidPeter Thu, 08/23/2007 - 06:16

Not sure how to get this for you either.

NMSROOT\lib\classpath\md.properties ?

Also when I open anything in even outside of RME like to use'netshow' I get the same errorwhen opening it. Do I have a JAVA problem maybe?

Joe Clarke Thu, 08/23/2007 - 07:26

NMSROOT\lib\classpath\md.properties is a file on the file system. Attach that file to this thread. NMSROOT is the path into which you installed CiscoWorks.

Joe Clarke Thu, 08/23/2007 - 07:42

Okay, given this file, jrm will attempt to create a connection to localhost on TCP port 42340 to register with dmgtd. Therefore, I need the output of the following command:

C:\progra~1\cscopx\bin\perl C:\progra~1\cscopx\bin\resolver.pl localhost

I also need the output of the ping 127.0.0.1 command I requested previously.

DavidPeter Thu, 08/23/2007 - 08:16

The ping on 127.0.0.1 came back 100% I have added the text from the resolve file. I do not see a local host file in that location or the 'perl' file I have a 'perl.exe' and a 'perl.dll' ?

#!/opt/CSCOpx/bin/perl

# Copyright (c) 2001-2002 Cisco Systems Inc.

# All rights reserved

use CRM;

BEGIN {

require lib;

import lib "$ENV{'NMSROOT'}/objects/perl/install/";

}

# check for number of arguments

if ( @ARGV < 1 ) {

print "Usage : perl resolver.pl addr1 [addr2] ...\n";

exit(1);

}

$CLASSPATH = "$ENV{'NMSROOT'}/www/classpath/com/cisco/nm/cmf/desktop";

#print $CLASSPATH . "\n";

my $i = 0;

my $s = "";

# construct a string of hostnames separated by space

while ( $i < @ARGV ) {

$s = $s . " " . $ARGV[$i];

$i++;

}

#execute java class file

system ( "$ENV{'NMSROOT'}/bin/cwjava -cp:p $CLASSPATH TestRes $s");

Joe Clarke Thu, 08/23/2007 - 08:28

You were supposed to run the command:

C:\progra~1\cscopx\bin\perl C:\progra~1\cscopx\bin\resolver.pl localhost

Then capture the output and attach it.

DavidPeter Thu, 08/23/2007 - 08:31

Also when I excecute perl in a command prompt it just goes to a curser. I do not get any output.

Thanks

Dave

Joe Clarke Thu, 08/23/2007 - 08:34

Please provide the list of contents of C:\progra~1\cscopx\bin (i.e. the output of "dir C:\progra~1\cscopx\bin").

Joe Clarke Thu, 08/23/2007 - 08:55

If you execute:

pdexec jrm

Does the jrm process come up? That is, if after running the pdexec command, run the command "pdshow jrm". What is the output?

Joe Clarke Thu, 08/23/2007 - 10:08

Good, this may have just been a transient error, then. Restart dmgtd from the command line:

net stop crmdmgtd

net start crmdmgtd

You should be up and running. If you still have problems, one thing that could cause processes not to initialize property is a server that does not meet minimum requirements. Given the apps you have installed, your server must have at least two physical CPUs (or cores) and have at least 2 GB of memory with 4 GB of page file.

Joe Clarke Thu, 08/23/2007 - 10:57

That's the problem. You do not have enough memory to start LMS. You need to add another 1 GB of physical RAM just to get the suite of applications to start.

DavidPeter Thu, 08/23/2007 - 11:02

hmmm... I have been using this suite for 3 years now. I wonder why it would have the problem now? Could it have been struggling along and then just not had enaugh to do it anymore?

Joe Clarke Thu, 08/23/2007 - 11:04

I know for a fact that entire bundle (LMS 2.5 and higher) cannot start on 1 GB of RAM. It must have 2 GB with 4 GB of backing swap. Without this, processes will fail. These requirements were not as high under LMS 2.2 which could explain how you were running LMS successfully for so long.

DavidPeter Thu, 08/23/2007 - 11:24

Thanks

I have some RAM here that I am tring to work.

I will respond as soon as I do. That makes perfect sense about being on 2.5 and up.

Thanks

Dave Peter

DavidPeter Thu, 08/23/2007 - 11:38

OK I put in 2GIG and I still have the error. I do have 4GIG swap also I thought for sure that was going to work. I am sending you a screen shot of the error.

Attachment: 
Joe Clarke Thu, 08/23/2007 - 11:53

Send the output of "set" from a DOS command prompt as well as the C:\progra~1\cscopx\MDC\etc\regdaemon.xml file and the current jrm.log. Note: if the data in regdaemon.xml is too sensitive to post, open a TAC service request, and include all of this information.

DavidPeter Thu, 08/23/2007 - 12:59

Wow you are not going to believe this. I went through all the JRM files XML and html and some other ones. I just opened them and read them to see what they did. Then I went back and logged into Cisco Works and went to the netconfig jobs and netshow jobs and everything works! Not sure what happened? I made it recognize the files again after I opened them?

Dave

Joe Clarke Thu, 08/23/2007 - 13:48

Given this new log, you just were not waiting long enough before. jrm is up and functioning now. In the future, you need to wait at least 30 minutes after restarting dmgtd for all the daemons to fully initialize.

DavidPeter Fri, 08/24/2007 - 12:20

I just wanted to thank you for your time and your help. everything is working fine now.

Dave

Actions

This Discussion