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

Problems with LMS 2.6 backup (error 1226)

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.

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Problems with LMS 2.6 backup (error 1226)

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.

8 REPLIES
Cisco Employee

Re: Problems with LMS 2.6 backup (error 1226)

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

New Member

Re: Problems with LMS 2.6 backup (error 1226)

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

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

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

Cisco Employee

Re: Problems with LMS 2.6 backup (error 1226)

See this document: https://supportforums.cisco.com/docs/DOC-8796 .  Run the database validation command against the rmeng DSN.  What output do you get?

New Member

Re: Problems with LMS 2.6 backup (error 1226)

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?

Cisco Employee

Re: Problems with LMS 2.6 backup (error 1226)

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.

New Member

Re: Problems with LMS 2.6 backup (error 1226)

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

Cisco Employee

Re: Problems with LMS 2.6 backup (error 1226)

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.

New Member

Re: Problems with LMS 2.6 backup (error 1226)

Ok, no way out, I'll have to reinitialize.

Thank you for your help.

720
Views
0
Helpful
8
Replies