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. And see here for current known issues.

New Member

Ciscoworks cannot connect to server: Exception in connectToAni()

When i log in to Ciscoworks and try acessing administration. I get an error message 2 below.

"Can not connect to server: Exception in connectToAni()"

"Unable to load properties from server. Please try after sometime."

Kindly assist on what i nned to do to restorethe connection to my ANI database.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Ciscoworks cannot connect to server: Exception in connectToA

The command to shutdown dmgtd is:

net stop crmdmgtd

Before you do that, I need the output of:

pdreg -l RmeOrb

When you get the new netstat -a -n -o, I also need a full process list including PID from this machine.

18 REPLIES
Silver

Re: Ciscoworks cannot connect to server: Exception in connectToA

From the command line can you do a pdshow and see if the database is running ?

If you have restarted the server and you have a large network, you will have to wait up to half an hour before the Campus ANI database will respond to requests.

New Member

Re: Ciscoworks cannot connect to server: Exception in connectToA

ANIDbEngine is running but ANIserver is not. Even when i start the process it doesn't start.

Cisco Employee

Re: Ciscoworks cannot connect to server: Exception in connectToA

Please provide the full pdshow output.

New Member

Re: Ciscoworks cannot connect to server: Exception in connectToA

Attached is the full pdshow output.

New Member

Re: Ciscoworks cannot connect to server: Exception in connectToA

I started Aniserver process and is now Running with busy flag set, but still can't connect.

Cisco Employee

Re: Ciscoworks cannot connect to server: Exception in connectToA

It may take a while for ANIServer to fully initialize. After about 10 minutes, if you still can't connect, post the ani.log.

New Member

Re: Ciscoworks cannot connect to server: Exception in connectToA

Attached is the ANI.log

Cisco Employee

Re: Ciscoworks cannot connect to server: Exception in connectToA

There is a problem with EDS. Please post the EDS.log. Was the IP address or hostname changed on this server recently?

New Member

Re: Ciscoworks cannot connect to server: Exception in connectToA

Hi,

We haven't changed the hostname or the IP address attached is the EDS.log and the latest PDShow.

Winnie.

Cisco Employee

Re: Ciscoworks cannot connect to server: Exception in connectToA

Does the file NMSROOT/www/classpath/com/cisco/nm/cmf/eds/loader/EDSClassLoader.class exist?

New Member

Re: Ciscoworks cannot connect to server: Exception in connectToA

Yes the file exists.

Cisco Employee

Re: Ciscoworks cannot connect to server: Exception in connectToA

It looks like things were working fine for a while up until September 14. What happened on the 14th? Have you tried a reboot of the server since then?

New Member

Re: Ciscoworks cannot connect to server: Exception in connectToA

I was trying to run the logrot script to resize my log file which was so big. I stopped the syslog service, deleted the syslog.log file and restarted the server. from then it hasn't worked.

Cisco Employee

Re: Ciscoworks cannot connect to server: Exception in connectToA

Shutdown dmgtd, then post the output of "netstat -a -n -o -b". If that doesn't work, try "netstat -a -n -o". If that doesn't work, "netstat -a -n".

New Member

Re: Ciscoworks cannot connect to server: Exception in connectToA

What is the syntax for the shutdown command?netstat -a -n -o -b is not giving any output

Attached is the output for netstat -a -n and netstat -a -n -o.

I have also seen in your previous discussions asking someone to check instances of the server's hostname in a dmgtd.conf file in the path /opt/CSCOpx/objects/dmgt, when i check on my server i only have F:\Program Files\CSCOpx\objects\dmgt\ready\jrm i don't have the dmgtd.conf file, could this be the cause of the problem.

Cisco Employee

Re: Ciscoworks cannot connect to server: Exception in connectToA

The command to shutdown dmgtd is:

net stop crmdmgtd

Before you do that, I need the output of:

pdreg -l RmeOrb

When you get the new netstat -a -n -o, I also need a full process list including PID from this machine.

New Member

Re: Ciscoworks cannot connect to server: Exception in connectToA

Apparently before i shutdown dmgtd, i decided to open my topology and administration and it connected to the database very fast. I now can see all my devices.

From your previous discussions i saw something to do with DNS. I just restarted my DNS service which was actually deactivated.

Thank you very much.

I think that i have a maintenace problem, what material of best practices can you advice me to read or access so as to maintain the server properly.

Currently the server just runs and uses it for only configuration achieving. For example i would like to remove all the old unreachable devices and use other modules like the DFM.

Kindly advice and Thanks once again.

Cisco Employee

Re: Ciscoworks cannot connect to server: Exception in connectToA

You should read through the various product and bundle users guides on Cisco.com (start from http://www.cisco.com/en/US/partner/products/sw/netmgtsw/tsd_products_support_category_home.html).

333
Views
20
Helpful
18
Replies