Page 1 of 1

ccm_config.inc.php missing after upgrade to 2012R1.5b

Posted: Tue Feb 05, 2013 5:25 am
by ICarter
Hi,

I upgraded our NagiosXI install from 2011R3.3 to 2012R1.5b this morning. I noticed that the new CCM doesn't seem to work (500 error) and looking in the Apache error log I can see a lot of:

[Tue Feb 05 10:13:26 2013] [error] [client xx.xx.xx.xx] PHP Warning: filemtime(): stat failed for /usr/local/nagiosxi/etc/components/ccm_config.inc.php in /usr/local/nagiosxi/html/includes/components/ccm/ccm.inc.php on line 93,

and indeed the file is missing.

A find down the nagiosxi tree doesn't show that it's ended up anywhere else. Does it exist in the install tar anywhere? apache is the member of the nagios group and so could create the file in the above directory if needed.

This install is manual and running on RHEL6 x64. SSL is enabled.

Cheers, Ian

Re: ccm_config.inc.php missing after upgrade to 2012R1.5b

Posted: Tue Feb 05, 2013 8:50 am
by scottwilkerson
This is a know bug and our developers are working on a patch. We will report back once we have a fix put together.

Re: ccm_config.inc.php missing after upgrade to 2012R1.5b

Posted: Tue Feb 05, 2013 11:25 am
by mguthrie
Run the following commands to resolve this issue:

Code: Select all

touch /usr/local/nagiosxi/etc/components/ccm_config.inc.php
chown apache.nagios /usr/local/nagiosxi/etc/components/ccm_config.inc.php
This is a high priority issue that will be fixed in our 1.6 release later this week.