Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

LMS Backups are failing

I am running CW LMS 3.1 on Windows.

My backups are failing due to a validation error on DFNINVDB. I have attached the section of the d:\cscopx\backup\BackupInfo.txt file. Any assistance appreciated!

Thanks,

Rob

<strong>Attachment Keywords : </strong>

1) CiscoWorks_Backup_Error.txt

4 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

Re: LMS Backups are failing

You need to use the NMSROOT/bin/restorebackup.pl command. For example, to restore generation 10:

NMSROOT/bin/perl NMSROOT/bin/restorebackup.pl -d D:\backup -gen 10

Cisco Employee

Re: LMS Backups are failing

This log just confirms that CTMJrmServer is down. Where are you seeing the OutOfMemory errors?

Cisco Employee

Re: LMS Backups are failing

That's a command argument, not an error. Post the CTMJrmServer.log, the output of pdreg -l CTMJrmServer, the jrm.log, and the output of pdshow.

Cisco Employee

Re: LMS Backups are failing

Jrm is unable to properly authorize itself. your current system identity user is admin. If you are integrated with ACS, and admin is not a user configured in ACS with full access to all of the LMS devices, applications, and tasks, you will need to define such a user in ACS, then go to Common Services > Server > Security > System Identity Setup, and define that user in LMS.

Once the System Identity User is corrected, restart Daemon Manager, and LMS should be working for you.

11 REPLIES
Cisco Employee

Re: LMS Backups are failing

It appears your dfmInv database is corrupt. You will either need to restore from a known good backup, or reinitialize your DFM Inv database. to reinitialize the database, run:

NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=dfmInv dmprefix=INV

New Member

Re: LMS Backups are failing

How do I actually Restore from an iteration in my backup location?

Cisco Employee

Re: LMS Backups are failing

You need to use the NMSROOT/bin/restorebackup.pl command. For example, to restore generation 10:

NMSROOT/bin/perl NMSROOT/bin/restorebackup.pl -d D:\backup -gen 10

New Member

Re: LMS Backups are failing

Won't that command restore ALL of my databases from that restore generation? Do I HAVE TO restore them all or can I just do the DFM DB? Am I missing something?

New Member

Re: LMS Backups are failing

We did a restore as suggested. Still have one issue: The JRM Service will not start. I am seein HeaDumpOutofMemory erros and have attached my ISeververUI.log.

Rob

Cisco Employee

Re: LMS Backups are failing

This log just confirms that CTMJrmServer is down. Where are you seeing the OutOfMemory errors?

New Member

Re: LMS Backups are failing

I am seeing that error in Sysinternals Process Explorer....

Screenshot attached.....

Cisco Employee

Re: LMS Backups are failing

That's a command argument, not an error. Post the CTMJrmServer.log, the output of pdreg -l CTMJrmServer, the jrm.log, and the output of pdshow.

New Member

Re: LMS Backups are failing

Output from pdreg:

D:\>pdreg -l CTMJrmServer

Process = CTMJrmServer

Path = D:\CSCOpx\bin\cwjava.exe

Flags = -cw D:\CSCOpx -cw:jre lib/jre -XX:+HeapDumpOnOutOfMemoryE

rror -cp:p MDC/tomcat/webapps/rme/WEB-INF/classes,MDC/tomcat/webapps/rme/WEB-INF

/lib/ctm.jar,MDC/tomcat/webapps/rme/WEB-INF/lib/log4j.jar com.cisco.nm.rmeng.jrm

wrapper.server.CTMJobManagerServer ATLAP05

Startup = Started automatically at boot.

Dependencies = jrm TomcatMonitor EssentialsDM

** NOTE **

Only the last pices of the jrm.log is attached due to the size of the log fine (160MB)

Rob

Cisco Employee

Re: LMS Backups are failing

Jrm is unable to properly authorize itself. your current system identity user is admin. If you are integrated with ACS, and admin is not a user configured in ACS with full access to all of the LMS devices, applications, and tasks, you will need to define such a user in ACS, then go to Common Services > Server > Security > System Identity Setup, and define that user in LMS.

Once the System Identity User is corrected, restart Daemon Manager, and LMS should be working for you.

New Member

Re: LMS Backups are failing

Your gentle prodding led me to that exact resolution. Thanks for your paitince and training!

Rob

201
Views
5
Helpful
11
Replies
CreatePlease login to create content