cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
199
Views
0
Helpful
3
Replies
khgrant
Cisco Employee

database inconsistency/database locked

 

Hello All,

 

 

Seems one of our VMs has a inconsistent database.  Any help to fix this would be greatly appreciated.

 

 

admin@ncs% load override config3.cfg

 

[ok][2015-11-03 18:41:16]

 

 

--- WARNING ------------------------------------------------------

 

Running db may be inconsistent. Enter configuration mode and

 

load a saved configuration.

 

------------------------------------------------------------------

 

 

[edit]

 

admin@ncs% commit

 

Aborted: the configuration database is locked

 

[error][2015-11-03 18:41:37]

 

 

--- WARNING ------------------------------------------------------

 

Running db may be inconsistent. Enter configuration mode and

 

load a saved configuration.

 

------------------------------------------------------------------

 

 

Thanks,

Aqueel

 

3 REPLIES 3
khgrant
Cisco Employee

 

Hi Aqueel,

 

I had this issue a few days ago on a slave server in a master/slave environment, fixed by restoring a backup from the master server.

 

SYNOPSIS

ncs-backup [--install-dir InstallDir] [--non-interactive]  

ncs-backup --restore [Backup] [--install-dir InstallDir] [--non-interactive]

 

Thanks!

Michel Papiashvili

 

khgrant
Cisco Employee

 

Thanks that did the trick.  Does anyone have a description of why this happens?  Incase it happens in front of a customer I want to be able to explain it.

 

khgrant
Cisco Employee

 

Hello all,

 

 

In my lab I also had the Aqueel’s issue.

 

 

I was doing “HA failover“ with CDB change over and over.

 

Does anyone know the reason why this happens?

 

 

Kind regards,

 

Keisuke.

 

Content for Community-Ad

This widget could not be displayed.