VMWare Install - CCM Cannot Connect to Database

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bshellrude
Posts: 4
Joined: Tue Nov 27, 2012 1:35 pm

VMWare Install - CCM Cannot Connect to Database

Post by bshellrude »

Hi all:

Fresh VM install of Nagios XI 2012. When going to CCM, it gives me "cannot connect to database".

httpd error_log shows
[Tue Nov 27 12:34:27 2012] [error] [client 10.45.22.6] PHP Notice: Undefined index: db in /usr/local/nagiosxi/html/includes/components/ccm/classes/Db.php on line 66, referer: http://xx.xx.xx.xx/nagiosxi/includes/co ... -index.php
[Tue Nov 27 12:34:27 2012] [error] [client 10.45.22.6] PHP Notice: Undefined index: db in /usr/local/nagiosxi/html/includes/components/ccm/classes/Db.php on line 68, referer: http://xx.xx.xx.xx/nagiosxi/includes/co ... -index.php
[Tue Nov 27 12:34:27 2012] [error] [client 10.45.22.6] PHP Notice: Undefined index: db in /usr/local/nagiosxi/html/includes/components/ccm/classes/Db.php on line 68, referer: http://xx.xx.xx.xx/nagiosxi/includes/co ... -index.php

I've tried the repairdb script to no avail... Not a good start for something I was hoping to purchase in the next couple of weeks... Of course I can't find any references to a similar problem on the forum here...
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: VMWare Install - CCM Cannot Connect to Database

Post by lmiltchev »

Did you download the zip or the ova? 32- or 64-bit?
Be sure to check out our Knowledgebase for helpful articles and solutions!
bshellrude
Posts: 4
Joined: Tue Nov 27, 2012 1:35 pm

Re: VMWare Install - CCM Cannot Connect to Database

Post by bshellrude »

Well we did both... ended up using the zip, then had to convert so we could install it using vcenter...

Did end up solving it though. CCM credentials needed to be re-generated.

Thanks for your response!!!
Locked