06-30-2005 09:42 AM
Weve just installed CiscoWorks LMS 2.5 on a single server. Were in the process of setting the parameters of each application to get it ready for production.
The following message often appears while working in Campus Manager:
ERROR (2)
X Can not connect to server :
Exception in connect to Ani()
X Unable to load properties from server.
Please try after some time.
Does anybody know what would be the cause of this message ?
Thanks !
07-06-2005 11:10 AM
We see the above messages when the system just recently restarted, due to Ani haven't fully initialized. Was there any power outage due to which the system was restarted. The resolution for this is to restart the daemons.
09-07-2005 12:43 AM
I have just installed LMS2.5 and get the same Campus Manager message. I restart the daemons and wait but still get the message. I reboot the server and wait and still get the message. I can wait 24 hours and still it occurs.
anyone have any ideas as to what is wrong?
thanks
09-13-2005 02:30 PM
I am having the same problem that has been described twice in this thread. In fact, I was preparing a new computer. Installed OS and updates. Installed LMS 2.5 and updates. Try to open the Administration page of the Campus Manager application and receive the error.
My ani.log file shows the following error: [Tue Sep 13 16:30:00 CDT 2005] ERROR: CORBAREGISTRY:Unable to connect to ManagerControl object. Reason: org.omg.CORBA.OBJECT_NOT_EXIST:
Could not locate the following Object:
repository id : IDL:manager/ManagerControl:1.0
object name : ManagerControl
host name : acslanmgmt
minor code: 0 completed: No
1126647000062 September 13, 2005 4:30:00 PM ES_acslanmgmt__1126644062609 acslanmgmt Error EDSSY0012: Cannot connect to EDS.
Anyone resolved this one yet?
09-13-2005 08:11 PM
Hai ,
I had this error earlier before.
There are 2 ways you can work around.
1. First check your java settings. Then clear your java cache files from IE->Sunjava console-> clear.
This will extract all the java files from the jar package again.
2. If you have not populated more number of devices and adding the devices in ANI database is not a problem for me.
Do this in command prompt for ANI database to get initialised as a fresh one.
go to Cscopx\campus\bin
execute the command perl reinitdb.pl
I resolved my problem with the second.
For all those who facing problem in Campus manager can try this. It should work if there is problem with ANI server.
Hope this information is useful to you all.
If so dont forget to rate it :)
Regards
09-14-2005 07:05 AM
Thanks very much for your suggestions. They got me on the right track and now I've resolved the problem. What I ended up doing was running the reinitdb.pl command with the -restore option to delete the existing ANI database (not just the contents). Then, I checked the ani.log file and noticed that all the services were running properly but a ManagerControl object was still being reported as missing. So, I reinstalled Campus Manager 4.0 SP 2 and the missing object seems to have been replaced. Campus Manager Administration is now working correctly for me.
09-14-2005 08:30 PM
Hai happy to see that u resolved the problem.
If it actullay helped for that can u please mark it as problem resolved :) ???
Thanks
02-02-2006 02:42 AM
Hi Viswanathan,
Its regarding eror " Cant connect to ANI server" on Cisco web site it says that it will delete all the database if we run the command perl "reinitdb.pl" with a statement which says " not just the contents". What does it mean by not just the contents? i am getting error in my present office but i am getting dicy to execute this command. further how can i take the backup of this database and how do i restore ? Please do answer
regards
Abhishek
02-04-2006 08:36 AM
Hi Abhishek,
With the "-restore" option, the ani.db is replaced with a fresh ani.db, meaning, the "old" ani database is purged. The "new" ani.db then needs to be filled with data by doing ani discovery. Think of an "old" building imploded to the ground and a "new" building constructed in its place.
Without the "-restore", you are just purging the contents of the old db. Think of an "old" building just being renovated inside with furniture as opposed to blasting it to kingdom come. :)
Doing reinitdb with the "-restore" is especially helpful if the ani database contain corrupt entries that are beyond recovery.
Andrei
02-05-2006 11:51 PM
Thanks for the explanation :)
02-03-2006 04:38 AM
I think you should wait about 2-4 hours and try again :) Sometimes it helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide