Page 1 of 1

CCM not displaying - Legacy works fine

Posted: Tue Feb 05, 2013 7:53 am
by jonking007
Hi

I have built 3 separate brand new instances of Nagios XI 2012R1.5b and the nice looking CCM does not display - in IE HTTP error 500 - in Chrome blanks screen

CentOS 6.3 new install - Linux iil-nagios 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

running on HyperV - Integration 3.4 tools installed

Everything else works fine

I REALLY want to use this version as I have upgraded a older instance to R1.4 and I really like the CCM look and feel. I am 100% sure I am not installing it wrong. I have followed the howto guide to the T. Please help. Thanks

Jonathan

P.S Please find attached the install.log file

Re: CCM not displaying - Legacy works fine

Posted: Tue Feb 05, 2013 8:04 am
by jonking007
I am getting this btw in

/var/log/httpd/error_log

[Tue Feb 05 13:01:17 2013] [error] [client ::1] 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
[Tue Feb 05 13:01:17 2013] [error] [client ::1] PHP Notice: CCM Config File: /usr/local/nagiosxi/etc/components/ccm_config.inc.php is not writable by apache! in /usr/local/nagiosxi/html/includes/components/ccm/ccm.inc.php on line 99
[Tue Feb 05 13:01:17 2013] [error] [client ::1] 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
[Tue Feb 05 13:01:17 2013] [error] [client ::1] PHP Notice: CCM Config File: /usr/local/nagiosxi/etc/components/ccm_config.inc.php is not writable by apache! in /usr/local/nagiosxi/html/includes/components/ccm/ccm.inc.php on line 99
[Tue Feb 05 13:01:22 2013] [error] [client ::1] 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
[Tue Feb 05 13:01:22 2013] [error] [client ::1] PHP Notice: CCM Config File: /usr/local/nagiosxi/etc/components/ccm_config.inc.php is not writable by apache! in /usr/local/nagiosxi/html/includes/components/ccm/ccm.inc.php on line 99

Which denotes a permissions issue - how to solve ?

Re: CCM not displaying - Legacy works fine

Posted: Tue Feb 05, 2013 8:47 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 not displaying - Legacy works fine

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.