Problems with LMS 2.6 backup (error 1226)

Answered Question
Jun 17th, 2010

Hi.

I am tryinng to take a backup from LMS 2.6 in a Windows 2003 system. The backup appears to finish, and some files are generated in the backup directory, including one named filebackup.tar, wich seems to be the RME database backup, but the log file states an error: ERROR(1226): Database rmengdb backup failed. I can't find out what is causing this. I am taking this backup for migration purposes.

Thanks in advance.

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 6 years 5 months ago

This is not good.  Your RME database has become corrupted.  If you have a known good backup of LMS, you should restore it.  If not, you will need to follow the instructions in that same document to reinitialize your RME database.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Fri, 06/18/2010 - 14:48

This is a line number in the code, and not an error code.  Post the dbbackup.log from the server.

rodrigopitta Mon, 06/21/2010 - 06:09

Thank you for your reply.

Here goes the log for the latest backup attempt.

************************************************************

Backup to 'W:/backup_new2' started at: [Fri Jun 18 15:14:30 2010]

Archiving the contents of the following directories into W:/backup_new2\0\campus\filebackup.tar

W:/PROGRA~1/CSCOpx/campus/etc/cwsi\DeviceDiscovery.properties

W:/PROGRA~1/CSCOpx/campus/etc/cwsi\ANIServer.properties

W:/PROGRA~1/CSCOpx/campus/etc/cwsi\discoverysnmp.conf

W:/PROGRA~1/CSCOpx/campus/etc/cwsi\datacollectionsnmp.conf

W:/PROGRA~1/CSCOpx/campus/etc/cwsi\Snmpv3EngineParam.txt

W:/PROGRA~1/CSCOpx/campus/etc/cwsi\UTSnmpv3EngineParam.txt

W:/PROGRA~1/CSCOpx/campus/etc/cwsi/users

W:/PROGRA~1/CSCOpx/campus/etc/cwsi/archives

W:/PROGRA~1/CSCOpx/campus/etc/users

W:/PROGRA~1/CSCOpx/campus/etc/cwsi/ReportArchives

W:/PROGRA~1/CSCOpx/htdocs/campus/maps

/cygdrive/w/PROGRA~1/CSCOpx/bin/tar: Removing leading `/' from member names

Archiving the contents of the following directories into W:/backup_new2\0\cmf\filebackup.tar

W:/PROGRA~1/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet\cwpass

W:/PROGRA~1/CSCOpx/lib/classpath\sso.properties

W:/PROGRA~1/CSCOpx/lib/classpath/com/cisco/nm/dcr\dcr.ini

W:/PROGRA~1/CSCOpx/MDC/Apache/conf/ssl

W:/PROGRA~1/CSCOpx/www/classpath/com/cisco/nm/cmf/security\secret.dat

W:/PROGRA~1/CSCOpx/www/classpath/com/cisco/nm/cmf/security/jaas\JaasConfig.xml

W:/PROGRA~1/CSCOpx/www/classpath/com/cisco/nm/cmf/security/jaas\JaasConfigModule

W:/PROGRA~1/CSCOpx/www/classpath/com/cisco/nm/xms/psu/maps

W:/PROGRA~1/CSCOpx/objects/data/cmf/cmic/registered-templates

W:/PROGRA~1/CSCOpx/objects/data/cmf/cmic\cmic.xsd

W:/PROGRA~1/CSCOpx/conf\logstat.conf

W:/PROGRA~1/CSCOpx/etc/licenses

W:/PROGRA~1/CSCOpx/MDC/etc\regdaemon.xml

W:/PROGRA~1/CSCOpx/lib/classpath\comUser.dat

W:/PROGRA~1/CSCOpx/lib/classpath\ccoUser.dat

W:/PROGRA~1/CSCOpx/lib/classpath\proxy.properties

/cygdrive/w/PROGRA~1/CSCOpx/bin/tar: Removing leading `/' from member names

Archiving the contents of the following directories into W:/backup_new2\0\dfm\filebackup.tar

W:/PROGRA~1/CSCOpx/objects/smarts/conf

W:/PROGRA~1/CSCOpx/objects/smarts/local/conf

W:/PROGRA~1/CSCOpx/objects/smarts/local/repos

W:/PROGRA~1/CSCOpx/objects/smarts/local/logs

W:/PROGRA~1/CSCOpx/setup\dfm.info

/cygdrive/w/PROGRA~1/CSCOpx/bin/tar: Removing leading `/' from member names

Archiving the contents of the following directories into W:/backup_new2\0\rmeng\filebackup.tar

W:/PROGRA~1/CSCOpx/files/rme/jobs/swim

W:/PROGRA~1/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/conf/swim/kb

W:/PROGRA~1/CSCOpx/files/rme/swim/advdistinput

W:/PROGRA~1/CSCOpx/files/rme/jobs/syslog

W:/PROGRA~1/CSCOpx/files/scripts/syslog

W:/PROGRA~1/CSCOpx/files/rme/syslog

W:/PROGRA~1/CSCOpx/files/rme/jobs/cda

W:/PROGRA~1/CSCOpx/files/rme/jobs/cctool/jobs

W:/PROGRA~1/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/cctool/scase\SmartCase.properties

W:/PROGRA~1/CSCOpx/files/rme/jobs/bugtool/jobs

W:/PROGRA~1/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/bugtool\Bugtool.properties

W:/PROGRA~1/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/csc/data\Collector.properties

W:/PROGRA~1/CSCOpx/files/rme/cfgedit

W:/PROGRA~1/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/config/cfgedit\ConfigEditor.properties

W:/PROGRA~1/CSCOpx/setup\rme.info

W:/PROGRA~1/CSCOpx/files/rme/repository

W:/PROGRA~1/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/repository/common\repository.properties

W:/PROGRA~1/CSCOpx/files/rme/jobs/NetShow

W:/PROGRA~1/CSCOpx/files/rme/NetShow/ShowCommandArchive

W:/PROGRA~1/CSCOpx/files/rme/jobs/inventory/reports/archives

W:/PROGRA~1/CSCOpx/files/rme/jobs/inventory/reports/jobs

W:/PROGRA~1/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/fcss/data\TimeZone.lst

W:/PROGRA~1/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/util/logger\rmelog.cfg

W:/PROGRA~1/CSCOpx/files/rme/dcma

W:/PROGRA~1/CSCOpx/files/rme/jobs/ArchiveMgmt

W:/PROGRA~1/CSCOpx/files/rme/jobs/ArchivePoller

W:/PROGRA~1/CSCOpx/files/rme/jobs/ArchivePurge

W:/PROGRA~1/CSCOpx/files/rme/jobs/ArchiveUpdate

W:/PROGRA~1/CSCOpx/files/rme/jobs/cas

W:/PROGRA~1/CSCOpx/files/rme/changeaudit

W:/PROGRA~1/CSCOpx/files/scripts/changeaudit

W:/PROGRA~1/CSCOpx/files/rme/jobs/NetConfigJob

W:/PROGRA~1/CSCOpx/files/rme/jobs/cri/purgejobs

W:/PROGRA~1/CSCOpx/files/rme/cri/archives

/cygdrive/w/PROGRA~1/CSCOpx/bin/tar: Removing leading `/' from member names

Backing up database aniDb:Adaptive Server Anywhere Command File Hiding Utility Version 9.0.0.1383

Adaptive Server Anywhere Backup Utility Version 9.0.0.1383

(68183 of 68183 pages, 100% complete)

(2 of 2 pages, 100% complete)

Database backup completed

Command file created using Adaptive Server Anywhere Command File Hiding Utility.

Adaptive Server Anywhere Command File Hiding Utility Version 9.0.0.1383

Adaptive Server Anywhere Validation Utility Version 9.0.0.1383

No errors reported

Command file created using Adaptive Server Anywhere Command File Hiding Utility.

Backing up database rmengdb:Adaptive Server Anywhere Command File Hiding Utility Version 9.0.0.1383

Adaptive Server Anywhere Backup Utility Version 9.0.0.1383

Database backup failed

Database backup not started

Adaptive Server Anywhere Backup Utility Version 9.0.0.1383

Database backup failed

Database backup not started

Backup rmeng to W:/backup_new2\0\rmeng\database\rmeng.db failed. Retry backup database rmeng

Adaptive Server Anywhere Command File Hiding Utility Version 9.0.0.1383

Adaptive Server Anywhere Backup Utility Version 9.0.0.1383

Database backup failed

Database backup not started

Adaptive Server Anywhere Backup Utility Version 9.0.0.1383

Database backup failed

Database backup not started

Backup rmeng to W:/backup_new2\0\rmeng\database\rmeng.db failed second time.

ERROR(1226): Database rmengdb backup failed and . Check the log file for information.

Backup failed: 2010/06/18 20:25:28

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

************************************************************

rodrigopitta Mon, 06/21/2010 - 10:32

The validation command includes configureDB.pl, wich does not exist in my client's server. I think it is because the doccument reffers to LMS 3.1 and 3.2, but I'm working on a LMS 2.6. Is there any other way to run the validation or to retrieve the configureDB.pl?

Joe Clarke Mon, 06/21/2010 - 11:50

The script is called configureDb.pl, and it does exist in LMS 2.6.  It can be found in NMSROOT/objects/db/conf/configureDb.pl.  It will work the same way as under LMS 3.1 and 3.2.

rodrigopitta Mon, 06/21/2010 - 13:10

Thank you.

The output was:

Adaptive Server Anywhere Validation Utility Version 9.0.0.1383
2 errors reported
Dbspace for table 'SYSLOG_20090415' not found
Dbspace for table 'SYSLOG_20090418' not found
ERROR: [StandardDbUpgrade] Validation of rmeng database failed

Correct Answer
Joe Clarke Mon, 06/21/2010 - 14:42

This is not good.  Your RME database has become corrupted.  If you have a known good backup of LMS, you should restore it.  If not, you will need to follow the instructions in that same document to reinitialize your RME database.

Actions

This Discussion

Related Content