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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ICarter
Posts: 2
Joined: Wed Aug 08, 2012 5:10 am

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

Post 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
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

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

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

Post 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.
Locked