I'm facing a problem with my LMS 4.0.1...when I tried to access anything under "Admin> Collection Settings> Data Collection>" I received the following message:
"Error while loading. ANI Server may be down. Please check for ANI Server Status in Admin -> System -> Server Monitoring -> Processes"
And then, all fields are blank in:
SNMP Timeouts and Retries
Data Collection Schedule
Data Collection Critical Devices Poller
But everything is OK, the process is running (with busy flag set) on pdshow...I tried to restart ANIServer with "pdterm ANIServer/pdexec ANIServer" and other actions mentioned in other posts but no luck at all...
Maybe It's related to another problem, where my shadow directory is not being updated, after change any configuration...in any device...
Could you please help me?
Is this a new installation?
Has it ever worked?
We can try restarting the entire application (net stop crmdmgtd / net start crmdmgtd) and see if that helps.
Also, your LMS 4.0(1) is a pretty old version. There are a lot of bug fixes addressed by upgrading to the current 4.2(5) release.
No, It's not...It was working perfectly (for a year)..
I tried restarting crmdmgtd a lot of times, but didn't work...
I'm considering upgrade option, but It involves costs...
Since you're on Windows did the server perhaps install Windows Updates (or Java Update) around the time the failure started?
If so, you might try rolling those back.
Sorry my delay Marvin...
I didn't have any java update since the problem started (I uninstalled Java to test)...the only thing that happend was a McAfee Antivirus update, that is configured to exclude entire NMSROOT from any action.
Anyway, tomorrow I'll ask to my Security team to uninstall that update (and the complete AntiVirus if not work).
Share the Aniserver.properties and Aniserver.properties.Orig file from <NMSROOT>\campus\etc\cwsi\
Hi Vicente ,
Properties files are fine.
share the aniserver.log and ani.log (NMSROOT/CSCOpx/log)
Found some errors and exception in the log..
We need to follow the below steps to fix the issue::
-we need to re-initialize the ANIdatabase ::
1.stop the daemon manager :
net stop crmdmgtd
2.Go to : /opt/CSCOpx/bin/ and issue the command :
Run the below command: /opt/CSCOpx/bin/perl dbRestoreOrig.pl dsn=ani dmprefix=ANI
NMSROOT\bin\perl.exe NMSROOT\bin\dbRestoreOrig.pl dsn=ani dmprefix=ANI
3.Start the Daemon manager ::
net start crmdmgtd
***IMP*** Re-initialize the ANI database will not lose any of the history information of the device. Also ANI database does not contain any historical information as soon as the above steps are complete you need to run and new DATA COLLECTION followed by User tracking Acquisition and then check the issue.
Data collection:: Go to Admin > Collection Settings > Data Collection > Data Collection Schedule under "start Data Collection" > For "All Device" >> click "START"
User tracking :: Inventory > User Tracking Settings > Acquisition Actions
hope it will help
***Ratings Encourages Contributors ****
thank you my friend!
I've just done this procedure...but I have the same error message ("Error while loading. ANI Server may be down)...
now when I try to run a new Data Collection I receive from server "You are not authorized user to run Data collection." however I'm a full authorized user...I also tried with admin user...and no luck.
If I try to create a schedule for data collection, I'm redirected to an Apache/Tomcat error page (see attached). I found some articles about install a patch (lms40x-win-CSCto46927-0.zip)...that I already installed, but didn't work.
As you are planning to planning to exclude the anti-virus ,it is nice idea. hope it will work
share Aniserver.properties , Aniserver.properties.Orig and ANIServer.log once again.
This is a windows server ?
share the output of " PATH" from the server command prompt
Try these steps as well::
Stop the Daemon (net stop crmdmgtd)
-Check in task manager if you have dbsrv10 , kill the service
- Go to C:\progra~2\CSCOpx\objects\setup\support>resetCasuser.exe
a) Goto regedit
b) HKEY_LOCAL_MACHINE -> SOFTWARE -> Cisco -> Resource Manager -> CurrentVersion -> Daemons
c) select ANIServer process
d) Right click on Args for this process and click Modify.
e) There change the valur for Xmx parameter. For example if the current value is 1280m then decrease it to 1024m.
and check whether the ANI process coming up properly or not.
***Ratings Encourages Contributors ***
Hi my friend, thanks!
i've done all the steps mentioned above...but I see the same error message ("Error while loading. ANI Server may be down).
Yes, It is a Windows Server.
See bellow the path output:
I really don't see a reason of ANI failure in the log...
can you change the heap size of the ANIServer back to original from " Registry" and Reboot the server once and check the status of the issue
It's very strange...if I check on Server Processes, it is running (with a busy flag). only in this screen show me that error message.
about heap size...you mean roll back configurations under those a, b, c, d, e options on your last post?
Change the heap size back to 1280m and Reboot the server.
-share the screen shot of services.msc window showing the cisco work services especially ANIserver
If chaninging the heap size and rebooting does not work , do the reinitialize ANIDB once again and capture the screen shit while doing the reinitialize DB
some things to check: is the server's name in the local hostfile? ; check if the local firewall isn't blocking those important ANI server TCP ports ( 43242 and 42342 ).
You could also try " perl NMSROOT\campus\bin\reinitdb.pl "
is this a new install ?
No It's not...should it be there? Like:
example (in Windows\System32\drivers\etc)
there is no blocking, I checked those TCP ports and it's ok...I also disabled the firewall to test.
will that perl command erase some data? or something similar?
No, It was working before...