VMWare Install - CCM Cannot Connect to Database
Posted: Tue Nov 27, 2012 1:38 pm
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...
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...