12-30-2008 06:25 AM
Hello
I am running Ciscoworks and am getting below error when running a Selftest. Can anyone explain how I resolve these issues:
FAIL Self Test Fail to query rmeng.DbVersion, Error: Database server not found (DBD: login failed) Self Test
Fail to query rmeng.SYSTABLE, Error: Database server not found (DBD: login failed)
12-30-2008 09:18 AM
This looks like the RME database server is down. Please post the output of the pdshow command.
12-31-2008 12:26 AM
12-31-2008 09:29 AM
You either have a corrupt database transaction log, or a corrupt database itself. First, shutdown Daemon Manager. If you have an NMSROOT/databases/rmeng/rmeng.log, delete it. Then run:
NMSROOT\objects\db\win32\dbsrv9 -f NMSROOT\databases\rmeng\rmeng.db
Then restart Daemon Manager. That should get the database server to start. If not, then you have a corrupt RME database, and you will need to reinitialize:
NMSROOT\bin\perl NMSROOT\bin\dbRestoreOrig.pl dsn=rmeng dmprefix=RME
01-02-2009 01:15 AM
Hello
Deleting the RMENG.DB file with a stop\start of the deamon service did not work. On point to add is that the deamon service could not stop correctly. I am running the Ciscoworks application on a Windows 2003 Server and got the below message when stopping the deamon service:
Could not stop the ciscoworks daemon manager service on local computer. Error 1053: The service did not respond to the start or control request in a timely fashion.
01-02-2009 09:54 AM
Deleting the rmeng.db file was not what I told you to do. You've now completely destroyed your RME database.
To recover, do this. Set the Daemon Manager service to Manual in the Services control panel. Reboot the server. When it comes backup, run the following command:
NMSROOT\bin\perl NMSROOT\bin\dbRestoreOrig.pl dsn=rmeng dmprefix=RME
Then set the Daemon Manager service back to Automatic, and reboot again. Your daemons should all come back up.
01-04-2009 11:40 PM
Hello
I did not delete the rmeng.db file, but move it to another folder. In the event that it was required again. I will copy the file back to the original directory, and restart the server.
Is there anything else I should do?
01-05-2009 09:16 AM
You need to do what I outlined in my previous post:
You either have a corrupt database transaction log, or a corrupt database itself. First, shutdown Daemon Manager. If you have an NMSROOT/databases/rmeng/rmeng.log (note: rmeng.LOG NOT rmeng.DB), delete it. Then run:
NMSROOT\objects\db\win32\dbsrv9 -f NMSROOT\databases\rmeng\rmeng.db
Then restart Daemon Manager. That should get the database server to start. If not, then you have a corrupt RME database, and you will need to reinitialize:
NMSROOT\bin\perl NMSROOT\bin\dbRestoreOrig.pl dsn=rmeng dmprefix=RME
01-06-2009 04:56 AM
I have now sucessfully created a new db file. This has resolved the errors being recieved.
However I would like to know if there is anyway of ascertaining previous saved configurations from the server. The ciscoworks server has full data backup conducted succesfully two weeks ago. Without rebuilding the entire server from that particular backed up image, is there any other way of retreiving the device configurations for previous months?
01-06-2009 08:27 AM
No. You will either need to restore the full LMS backup, or start repopulating your RME database manually.
12-31-2008 01:01 AM
I have also done the below commands but this has not rectified the issue.
net stop crmdmgtd
net start crmdmgtd
01-05-2009 02:55 AM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: