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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

CiscoWorks ANI database engine failed to start

The ANIDb engine is failing to start with a couple of errors in the event log which states there is a share violation.

24 REPLIES
New Member

Re: CiscoWorks ANI database engine failed to start

The ANIDb engine is failing to start with a couple of errors in the event log which states there is a share violation.

I am attaching the screenshots of the errors from the Event Viewer and while I start the service manually.

Pls help.....

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

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

New Member

Re: CiscoWorks ANI database engine failed to start

Clarke,

It have been attached with the file name ANI Service Start_Error.jpg. Pls let me know if you need a fresh one.

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

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

New Member

Re: CiscoWorks ANI database engine failed to start

thanks Clarke. ANI started.

but now, I have a strange problem. I am not able to start the portal. I mean the login screen comes. but after giving the id and password, everything becomes white. the screen becomes blank. attached is the screen shot.

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

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

New Member

Re: CiscoWorks ANI database engine failed to start

I did not change anything except the daemon manager. But that too was restored as you instructed. attached is the latest pdshow output.

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

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

New Member

Re: CiscoWorks ANI database engine failed to start

ya i noticed that. attached below are the files.

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

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

New Member

Re: CiscoWorks ANI database engine failed to start

yes. correct.

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

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

New Member

Re: CiscoWorks ANI database engine failed to start

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

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

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

New Member

Re: CiscoWorks ANI database engine failed to start

posted the file below

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

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.

New Member

Re: CiscoWorks ANI database engine failed to start

I have a backup taken some days back with the command backup.pl.

if i restore the backup, will it solve my problem???

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

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

New Member

Re: CiscoWorks ANI database engine failed to start

i searched the backup folder. in my case the latest generation is 9. but i could not find any xml file within. can you please explain this?

guess, i have to opt for restorebackup.pl right?

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

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

New Member

Re: CiscoWorks ANI database engine failed to start

can u please check if this file is good one.

Cisco Employee

Re: CiscoWorks ANI database engine failed to start

Yes, this file is good.

New Member

Re: CiscoWorks ANI database engine failed to start

i extracted the file using a tar utility. then did as instructed by you and now I am able to login and the CW server is running great.

Thanks for your help. three cheers to you. bye and take care.

New Member

Re: CiscoWorks ANI database engine failed to start

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

1651
Views
0
Helpful
24
Replies