05-13-2009 07:32 AM
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
Solved! Go to Solution.
05-13-2009 11:52 AM
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
05-14-2009 09:02 AM
This log just confirms that CTMJrmServer is down. Where are you seeing the OutOfMemory errors?
05-14-2009 09:16 AM
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.
05-14-2009 10:24 AM
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.
05-13-2009 08:43 AM
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
05-13-2009 11:50 AM
How do I actually Restore from an iteration in my backup location?
05-13-2009 11:52 AM
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
05-13-2009 11:57 AM
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?
05-14-2009 08:58 AM
05-14-2009 09:02 AM
This log just confirms that CTMJrmServer is down. Where are you seeing the OutOfMemory errors?
05-14-2009 09:11 AM
05-14-2009 09:16 AM
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.
05-14-2009 09:54 AM
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
05-14-2009 10:24 AM
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.
05-14-2009 11:16 AM
Your gentle prodding led me to that exact resolution. Thanks for your paitince and training!
Rob
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide