LMS Backups are failing

Answered Question

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

Correct Answer by Joe Clarke about 8 years 1 month ago

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.

Correct Answer by Joe Clarke about 8 years 1 month ago

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.

Correct Answer by Joe Clarke about 8 years 1 month ago

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

Correct Answer by Joe Clarke about 8 years 1 month ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (5 ratings)
Loading.
Joe Clarke Wed, 05/13/2009 - 08:43
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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

Correct Answer
Joe Clarke Wed, 05/13/2009 - 11:52
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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

Correct Answer
Joe Clarke Thu, 05/14/2009 - 09:02
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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

Correct Answer
Joe Clarke Thu, 05/14/2009 - 09:16
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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.

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



Correct Answer
Joe Clarke Thu, 05/14/2009 - 10:24
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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.

Actions

This Discussion