CiscoWorks LMS 2.6

Answered Question
Jun 22nd, 2010

When opening RME i get an error: Could not get database connection. Make sure that RME DB server is running. Check RMEHome.log for more details.

I also get the error "JRM Service could be down. Check whether JRM services are running." None of my devices are showing up.I have attached the RMEHome.log. Any help troubleshooting this would be appreciated. I have stopped and started the crmdmgtd service... nothing changes. I also have included the out output of pdshow.

Correct Answer by Joel Monge about 6 years 8 months ago

This is a likely indication of a corrupted database or transaction log.  Try these steps:


1. Shutdown daemons:


net stop crmdmgtd


2. Delete NMSROOT\databases\cmf.log if still exists.  NMSROOT is your installation path, by default C:\Program Files\CSCOpx.


3. In DOS on the server go to NMSROOT\databases\cmf and run the below command:


dbsrv9.exe -f cmf.db 


4. Restart daemons:


net start crmdmgtd
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joel Monge Tue, 06/22/2010 - 14:12

This could be a problem:


    Process= CmfDbEngine
    State  = Never started


Make sure your Windows Services are set like this:


CiscoWorks ANI database engine: Manual
CiscoWorks Daemon Manager: Automatic
CiscoWorks RME NG database engine: Manual
CiscoWorks Tomcat Servlet Engine: Manual
CiscoWorks VisiBroker Smart Agent: Manual
CiscoWorks Web Server: Manual
CWCS Cmf database engine: Manual
CWCS rsh/rcp service: Automatic
CWCS syslog service: Automatic
CWCS tftp service: Automatic
DFM dfmEpm database engine: Manual
DFM dfmFh database engine: Manual
DFM dfmInv database engine: Manual


If not, change and reboot.  If they are already like this, post a CmfDbEngine.log.

Correct Answer
Joel Monge Tue, 06/22/2010 - 14:40

This is a likely indication of a corrupted database or transaction log.  Try these steps:


1. Shutdown daemons:


net stop crmdmgtd


2. Delete NMSROOT\databases\cmf.log if still exists.  NMSROOT is your installation path, by default C:\Program Files\CSCOpx.


3. In DOS on the server go to NMSROOT\databases\cmf and run the below command:


dbsrv9.exe -f cmf.db 


4. Restart daemons:


net start crmdmgtd
jszapipes Thu, 06/24/2010 - 09:08

This appears to have done the trick... everything is working correctly now. Is there some explanation as to why it got corrupted, a bug maybe? Thanks for the help. Marked as correct answer!

Joel Monge Thu, 06/24/2010 - 09:38

Sure, a corruption can occur due to an improper shutdown of the daemons (server crash or not properly shutdown).  Performing an upgrade can also cause some corruption if not done properly on Windows systems mostly.  See both documents below which cover some of these causes in more detail:


https://supportforums.cisco.com/docs/DOC-8796


https://supportforums.cisco.com/docs/DOC-9132

Actions

This Discussion