Page 1 of 1

VMWare Install - CCM Cannot Connect to Database

Posted: Tue Nov 27, 2012 1:38 pm
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...

Re: VMWare Install - CCM Cannot Connect to Database

Posted: Tue Nov 27, 2012 1:59 pm
by lmiltchev
Did you download the zip or the ova? 32- or 64-bit?

Re: VMWare Install - CCM Cannot Connect to Database

Posted: Tue Nov 27, 2012 2:41 pm
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!!!