CiscoWorks ANI database engine failed to start

Unanswered Question
Joe Clarke Thu, 01/22/2009 - 07:43

Please post a screenshot of the Services control panel showing all of the CiscoWorks services.

Joe Clarke Thu, 01/22/2009 - 08:16

You should not be using this interface to start any CiscoWorks services. Your statup parameters look okay. Either your ANI database is corrupt, or your transaction log is corrupt.

First, set the CiscoWorks Daemon Manager service to Manual, and reboot the server. When the server reboots, delete NMSROOT\databases\ani\ani.log if it exists. Then run:

NMSROOT\objects\db\win32\dbsrv9 -f NMSROOT\databases\ani\ani.db

After that, set the Daemon Manager service back to Automatic, and reboot again. See if the ANI database engine starts. If not, you will need to reinitialize your ANI database with the command:

NMSROOT\bin\perl NMSROOT\bin\dbRestoreOrig.pl dsn=ani dmprefix=ANI

Joe Clarke Thu, 01/22/2009 - 08:57

Please post the output of the pdshow command. Did you change any of the other service startup parameters besides Daemon Manager?

Joe Clarke Thu, 01/22/2009 - 09:05

Your DCRServer is down. Please post the DCRServer.log and dcr.log along with the NMSROOT/MDC/tomcat/logs/stdout.log.

Joe Clarke Thu, 01/22/2009 - 09:27

It looks like this LMS server is integrated with ACS. Is that correct?

Joe Clarke Thu, 01/22/2009 - 09:30

It appears this integration is currently broken. Try resetting to local authentication and authorization, and see if the portal (and DCR) work. To do this, run:

NMSROOT\bin\perl NMSROOT\bin\ResetLoginModule.pl

could not reset. gave an error

E:\Program Files\CSCOpx\bin>E:\Progra~1\CSCOpx\bin\perl E:\Progra~1\CSCOpx\bin\R

esetLoginModule.pl

Changing mode from ACS to CMF....

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 >= 0

at java.util.Vector.elementAt(Vector.java:432)

at com.cisco.nm.cmf.security.ResetLoginModule.getCCREntry(Unknown Source

)

at com.cisco.nm.cmf.security.ResetLoginModule.changeAdminCCR(Unknown Sou

rce)

at com.cisco.nm.cmf.security.ResetLoginModule.main(Unknown Source)

Can not change the Login Module: Error in executing the ResetLoginModule

Joe Clarke Thu, 01/22/2009 - 09:42

I was afraid of this. It looks like your regdaemon.xml file may be corrupt. Please post NMSROOT\MDC\etc\regdaemon.xml.

Joe Clarke Thu, 01/22/2009 - 09:49

The file is definitely corrupt. It looks like your server ran out of disk space, or has a bad disk. That would explain both this problem, and your ANI database problem.

Your only recourse at this point is to restore LMS from a known good backup (which will restore a good regdaemon.xml) or reinstall all of LMS from scratch.

Joe Clarke Thu, 01/22/2009 - 09:54

If the backup is a good one, yes. If it was taken after the disk/file corruption, then no.

Joe Clarke Thu, 01/22/2009 - 09:58

You need to restore the whole backup. The regdaemon.xml file is stored within one of the tar files in the backup.

dinesh joshi Thu, 07/01/2010 - 06:51

Hi Friends,

I am facing problem with cisco works lms 3.1. The server is showing page can not be displayed. While check the services

ANI database engine not getting started. Error is attached. I have only 298 mb space is remaining in the server. Can this be the one reson for the problem.

our syslog file size 253 gb is occuping all the space and the syslog file size is still increasing. Can we remove this file after taking backup, will the Ciscoworks create this file again automatically.

I have restrated all the services and server as well.

I have found the below solution with the same problem but i am not getting NMSROOT directory in my folders to run the command.

" First, set the CiscoWorks Daemon Manager service to Manual, and reboot the server.  When the server reboots, delete NMSROOT\databases\ani\ani.log if it exists.  Then run:


NMSROOT\objects\db\win32\dbsrv9 -f NMSROOT\databases\ani\ani.db


After that, set the Daemon Manager service back to Automatic, and reboot again.  See if the ANI database engine starts.  If not, you will need to reinitialize your ANI database with the command:


NMSROOT\bin\perl NMSROOT\bin\dbRestoreOrig.pl dsn=ani dmprefix=ANI"

Please help.

Regards,

Dinesh Joshi

Actions

This Discussion