cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2752
Views
0
Helpful
4
Replies

ANIServer Failed to run

Ram Kumar
Level 1
Level 1

Hello

I am unable to start the ANIServer process which has been working fine until Nov 2010. Below are the details for all the parts of LMS3.1

NameVersionLicense StatusSize
CiscoWorks Common Services3.2.0LicensedNot applicable
Campus Manager5.1.4Purchased1500
CiscoView6.1.8LicensedNot applicable
CiscoWorks Assistant1.1.0LicensedNot applicable
Device Fault Manager3.1.3Purchased1500
Internetwork Performance Monitor4.1.0Purchased1500
Integration Utility1.8.0LicensedNot applicable
LMS Portal1.1.0LicensedNot applicable
Resource Manager Essentials4.2.0Purchased1500
Health and Utilization Monitor1.1.0Purchased300

I have done lot of hanges as per the cisco blogs but still  not wroking .

I have done below changes but no luck

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

CSCsb52873

#ANI Server fails to start

#This problem occurs when you:

#Start ANI Server, the server is up for sometime and shuts down with RC as -2 and Info as ANI Server failed to load from the database.

#Workaround:

#Stop the Daemon Manager. Re-initialize ANI database and start the daemons.

#Enter the following command to reinitialize ANI database:

#/opt/CSCOpx/bin/perl /opt/CSCOpx/bin/dbRestoreOrig.pl dsn=ani dmprefix=ANI

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

We have done reinitializing:

1. Delete NMSROOT\databases\ani\ani.log

NMSROOT\objects\db\win32\dbsrv10 -f NMSROOT\databases\ani\ani.d

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

Here is the output of the pdshow ANIServer command:

Process= ANIServer
State  = Failed to run
Pid    = 0
RC     = -2
Signo  = 1073741822
Start  = N/A
Stop   = 5/12/2011 1:08:00 PM
Core   = Not applicable
Info   = Application failed or was registered incorrectly.

Pls find the atatched ANIServer.properties and ani.log file

Can somebody help me please?
Thanks in advance,

Ram

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

Your NMSROOT/campus/etc/cwsi/ANIServer.properties file is corrupt.  Post this file.

View solution in original post

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

Your NMSROOT/campus/etc/cwsi/ANIServer.properties file is corrupt.  Post this file.

Hi,

Thanks for your help.

Yes thats correct . ANIServer.properties was corrupted . I replaced file now with below setting  and this is working now.

1) AniName=ANIServer6.0- gbise0basnie12

2) DEVICESROOT=D:\\PROGRA~1\\CSCOpx\\campus\\lib\\classpath

3) DEVICESPACKAGE=com.cisco.nm.ani.server.devices

4) LogMsg.logfile=D:/PROGRA~1/CSCOpx/log\\ani.log

Regards,

Ram

Hello

I did all what you mentioned but the ANIServer is still not working

Process= ANIServer

State  = Failed to run

Pid    = 0

RC     = -2

Signo  = 1073741822

Start  = N/A

Stop   = 3/8/2011 1:12:00 PM

Core   = Not applicable

Info   = Application failed or was registered incorrectly.

How can I solve this issue ?

Please start a new thread for your issue.