cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
758
Views
5
Helpful
2
Replies

Restore error in CCM Disaster Recovery System

drazik
Level 1
Level 1

I managed two CCM PUB & SUB.

One CCM(PUB) occured to fail booting, CCM(SUB) was ok.

Now CCM(SUB) is working IPT service.

For recover this, I reinstall CCM(PUB).

I Backup CCM database & config with Disaster Recovery System from CCM(SUB).

And I restore DATA to new-installed CCM(PUB).

But restore failed with following log.

============== error log message =========

Log File: 2007-10-02-23-25-43_r_ccm1_ccm_ccmdb.log ==========

Server : CCM1

Feature : CCM

Component : CCMDB

Time Completed: 2007-10-02-23-34-37

Result Code : 1

Result String : ERROR

=====================================================

Dropping DB ccm0500v0000

Setting DB to multi user mode

Restoring DB...

CCMDB Restore failed, installdb failed

----> BEGIN Standard Output

Inside getdbnameFromodbc...

Line Matched:

Database=ccm0500v0000

csv file validation in progress...

Validate CSV complete.

Stopping DbMon

Service Manager is running

Cisco Database Layer Monitor[STOPPING]

Cisco Database Layer Monitor[STOPPING]

Component is not running

Cisco Database Layer Monitor[NOTRUNNIG]

Shutting down Replication -- replutil.py teardowndrf

Setting DB to single user mode

Dropping DB ccm0500v0000

Setting DB to multi user mode

Restoring DB...

Create database failed, check .../createdb.log

Failure 1

CCMDB Restore failed, installdb failed, error:

1

Restore failed.

----> END Standard Output

----> BEGIN Standard Error

+ '[' 3 -lt 3 ']'

+ sudo -u root /usr/local/cm/bin/do_db_restore.sh /common/drf/restore.log

/common/drf/status.txt /common/drf/2007-10-

02-21-55-50/ccm1_ccm_ccmdb.tar

command failed -- Enterprise Replication not active (62)

Database selected.

425: Database is currently opened by another user.

107: ISAM error: record is locked.

Error in line 1

Near character position 26

Database closed.

+ res=1

+ '[' 1 == 0 ']'

+ echo 'Restore failed.'

+ exit 1

----> END Standard Error

2 Replies 2

mchandak
Level 7
Level 7

You cannot take a Backup from the Subscriber and install it on the Publisher. Backup should always be taken from the Publisher and then restored.

Incase you dont have a valid backup of the Publisher, I dont think you can do a DRS Restore.

hut982010
Level 1
Level 1

Hi Drazik,

I also have the same error. I only turn on the  Publisher, I stop Cisco Database Layer Monitor, but I still get the error.

If you have resolved the error, please help me to fix it.

Thanks you so much,

Hut982010