08-18-2011 11:49 PM
Hello All
i have big trouble with me LMS 4.0 installation. I did an Upgrade from LMS 3.2 to LMS 4.0. After that the Works was running without any problems. After some days i´d tried to login on the LMS and it told me something like my lincens where corrupt or so. I´d tried to start the CiscoWorks Demon Manger but he didn´t start. OK after some investigation at the i-net i decided to perform a clean installation of the Server an Cisco Works.
So after i do thes i´d perform a restore of my old Data from LMS 3.2. Now i investicated that my ANI Server Falied to start. OK than i tried to restart the Works Demon ... f... and what will happend ?!?!?! The demon doesn´t start. Can someone help me ?!?! Please i will not perform a new istallation again.
C:\Windows\system32>net start crmdmgtd
The CiscoWorks Daemon Manager service is starting.
The CiscoWorks Daemon Manager service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
Thanks
Mario
Hi i have an update for this issues ... After i´d tried to start all Works- Services be hand ... all Services will start execpt the deamon ... When i loged in i get messages "License Server/Deamon Manager is down. Please check license.log for more information."
Thats the same situtaion befor the new installation.
Solved! Go to Solution.
08-21-2011 11:04 PM
Hi Mario,
KindlyReinitialize the ANI Database to fix the issue..
NMSROOT\bin\perl.exe NMSROOT\bin\dbRestoreOrig.pl dsn=ani dmprefix=ANI
I hope this will fix the issue..
Thanks
Afroj
08-19-2011 01:36 AM
Hi Mario,
Try the below steps:
First of all add the Casusers in the Administrators Group ( or you can say Casusers should be a memeber of Administrator group)
--Now Execute the below command:
NMSROOT\CSCOpx\setup\support>resetCasuser.exe
Now try to start the daemon Manager
Thanks
Afroj
08-19-2011 02:26 AM
Hi Afroj
ok first is ok the Demon is now running thanks for that. but now i have the problem that the ANIServer does not start See Screenshot.
Any idea
Thanks
Mario
08-19-2011 03:09 AM
Hi,
Kindly send me the below 2 files:
ANIServer.properties
ANIServer.properties.ORIG
Location: NMSROOT\CSCOpx\campus\etc\cwsi\
Thanks
Afroj
08-19-2011 04:43 AM
08-19-2011 06:07 AM
Hi,
Thanks for the files. what is the NMSROOT ? ( i mean the directory where the cisco works is Installed )
like :c:\program files\CSCOpx...
Also try this :
pdterm ANIServer
pdexec ANIServer
now check the ANIServer status: pdshow ANIServer
Thanks
Afroj
08-19-2011 06:22 AM
Hi Afroj
the NMSRoot is D:\CiscoWorks\CSCOpx
and here the outbut of ANIServer status
C:\Windows\system32>pdshow ANIServer
Process= ANIServer
State = Failed to run
Pid = 0
RC = -2
Signo = 1073741822
Start = N/A
Stop = 8/19/2011 3:19:17 PM
Core = Not applicable
Info = Application failed or was registered incorrectly. C:\Windows\system32>pdshow ANIServer
Process= ANIServer
State = Failed to run
Pid = 0
RC = -2
Signo = 1073741822
Start = N/A
Stop = 8/19/2011 3:19:17 PM
Core = Not applicable
Info = Application failed or was registered incorrectly.´
Thanks
Mario
08-19-2011 08:06 AM
Hi Mario,
Please replace the ANIServer.properties file with the attached file.
--Make sure you backup the Original file
--Also make sure we have all the required premission on the new file
then try to start the ANIServer..
Thanks
Afroj
08-21-2011 10:23 PM
Hi Afroj
first thanks for the file ... but
After i replaced the file and checked the permission i´d tried to start the ANIServer.
It starts for ca 1 minute with busy flag and than the service stoped wirh the same error. Sorry any idea ?!?!?!
Help please i need Works very often ...
Thank
Mario
C:\Users\liebm-a>pdshow ANIServer
Process= ANIServer
State = Running with busy flag set
Pid = 18092
RC = 0
Signo = 0
Start = 8/22/2011 7:10:38 AM
Stop = Not applicable
Core = Not applicable
Info = ANIServer started.
C:\Users\liebm-a>pdshow ANIServer
Process= ANIServer
State = Failed to run
Pid = 0
RC = -2
Signo = 1073741822
Start = N/A
Stop = 8/22/2011 7:11:06 AM
Core = Not applicable
Info = Application failed or was registered incorrectly.
08-21-2011 11:04 PM
Hi Mario,
KindlyReinitialize the ANI Database to fix the issue..
NMSROOT\bin\perl.exe NMSROOT\bin\dbRestoreOrig.pl dsn=ani dmprefix=ANI
I hope this will fix the issue..
Thanks
Afroj
08-21-2011 11:53 PM
Hi Afroj
f.... this also doesn´t work ... see outbut
After i´d tried to Restore the DB
D:\CiscoWorks\CSCOpx\bin>perl.exe dbRestoreOrig.pl dsn=ani dmprefix=ANI
WARNING: Existing contents of ani database will be lost.
Do you want to continue [y/n]?y
WARNING: Could not delete file D:\CISCOW~1\CSCOpx\databases\ani\ani.db
WARNING: Could not delete file D:\CISCOW~1\CSCOpx\databases\ani\ani.log
ERROR: Service - 'ANIDbEngine' is not stopped
ani registration failed
INFO: Company=Cisco Systems;Application=NMTG;Signature=010fa55157edb8e14d818eb4f
e3db41447146f1571g32125eb777a87cbf8b29a954f559d4221b792ff8
INFO: Preparing AUTH cmd
INFO: AUTH Executed
INFO: AUTH cmd finished
INFO: Stopping the Database engine ani
INFO: Database [ani] authenticated successfully.
ani database initialization failed.
Then i´d tried to start the ANIServer
D:\CiscoWorks\CSCOpx\bin>pdshow ANIServer
Process= ANIServer
State = Failed to run
Pid = 0
RC = -2
Signo = 1073741822
Start = N/A
Stop = 8/22/2011 8:42:27 AM
Core = Not applicable
Info = Application failed or was registered incorrectly. D:\CiscoWorks\CSCOpx\bin>pdshow ANIServer
Process= ANIServer
State = Failed to run
Pid = 0
RC = -2
Signo = 1073741822
Start = N/A
Stop = 8/22/2011 8:42:27 AM
Core = Not applicable
Info = Application failed or was registered incorrectly.
What the hell is happend ?!?!?!?!?
Thanks Mario
08-22-2011 12:11 AM
Hi Mario,
For some reson Database was not Re-Intialized ..
D:\CiscoWorks\CSCOpx\bin>perl.exe dbRestoreOrig.pl dsn=ani dmprefix=ANI
WARNING: Existing contents of ani database will be lost.
Do you want to continue [y/n]?y
WARNING: Could not delete file D:\CISCOW~1\CSCOpx\databases\ani\ani.db
WARNING: Could not delete file D:\CISCOW~1\CSCOpx\databases\ani\ani.log
ERROR: Service - 'ANIDbEngine' is not stopped
ani registration failed
INFO: Company=Cisco Systems;Application=NMTG;Signature=010fa55157edb8e14d818eb4f
e3db41447146f1571g32125eb777a87cbf8b29a954f559d4221b792ff8
INFO: Preparing AUTH cmd
INFO: AUTH Executed
INFO: AUTH cmd finished
INFO: Stopping the Database engine ani
INFO: Database [ani] authenticated successfully.
ani database initialization failed.
--Are you logged in as a LOCAL ADMIN ?
--Is your server under Domain ?
try to Re-Init again with LOCAL ADMIN and see how it works !!!
Thanks
Afroj
08-22-2011 01:03 AM
Hi Afroj
the Server is in a domain. The server is running under win2008r2 SP1 standard.
I´d tried to re-initialized the database with a local admin and the same error accour.
Then i´d tried to move the databasefile y hand and then i get an error message that told me the file is in use by another process ... See screenshot
thx
mario
08-22-2011 01:35 AM
Hi Mario,
As you are running win2008r2 SP1 standard. Have you applied this Patch ? Please check the below link :
Thanks
Afroj
08-22-2011 03:55 AM
Hi Afroj
yes i did ....
I got a mail which says that Martin Ermel did response this post but i cann´t see the post. Here the answers for his questions. Maybe it will help.
created by
in
Network Management
-
before doing anything with database files (e.g. re-init, copy) you have to stop LMS;
re-init of a database is more than just copying a file, so be careful what you are doing...
When you did the new installation of LMS,
- was it on the same server?
- if yes, how did you do the uninstallation
- have you changed NMSROOT from LMS 3.2 to LMS 4.0 ?
- please provide the ani.log
----------------------------------------------------------------
- i stoped the LMS with net stop crmdmgtd
- no i´d install LMS 4.0 on a new Server Windows 2008 Standart 64 BIT (Old Server LMS 3.2 Windows 2003 Standart Server 32BIT)
- no i don´t change the NMSROOT
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