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
ccm_config.inc.php missing after upgrade to 2012R1.5b
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ccm_config.inc.php missing after upgrade to 2012R1.5b
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
Run the following commands to resolve this issue:
This is a high priority issue that will be fixed in our 1.6 release later this week.
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