Knowledgebase

Portal Home > Knowledgebase > Articles Database > Nagios on cPanel, not parsing index.php


Nagios on cPanel, not parsing index.php




Posted by sh4ka, 11-16-2009, 06:59 AM
Hello, I previously installed nagios 2.x some years ago on a plain RHEL 4. server... now i needed to setup this on a cPanel with CentOS 5.3.. I did all steps from the officiall guide: http://nagios.sourceforge.net/docs/3...rt-fedora.html Everything seems to be fine, configuring, compiling and installing, started the service and it was ok, however, when I go to http://IP/nagios/ it shows a index.php, it is not parsing the php file. This is what I got from httpd.conf: Any ideas about what could be the issue? Have anyone setup nagios 3.0 on a cPanel server? Thanks!

Posted by adminpaul, 11-16-2009, 09:33 AM
Are you able to execute other php files ?

Posted by sh4ka, 11-16-2009, 09:44 AM
Damn.. now check that and no.. im not able to load a simple: This is just happening using IP/test.php, all websites are going fine. Any ideas? Thanks.

Posted by webcertain, 11-16-2009, 09:52 AM
are you sure you edited the right httpd.conf ? the cpanel default is /usr/local/apache/conf/httpd.conf

Posted by sh4ka, 11-16-2009, 09:57 AM
Yes, it's the same in cPanel, both are the same file. Besides of that, IP/anything.php is not being parsed.. that is the main problem I think. Thanks!!

Posted by adminpaul, 11-16-2009, 10:41 AM
Paste the result of following commands. grep Include /etc/httpd/conf/httpd.conf grep php /etc/httpd/conf/httpd.conf grep php /etc/httpd/conf.d/php.conf

Posted by sh4ka, 11-16-2009, 10:59 AM
parsing php is fixed, however nagios index still doesn't parse at all Any other ideas?

Posted by ThinkSupport, 11-16-2009, 11:08 AM
Nagios index does not parse at all? Do you mean that the index.php for nagios is not loading however other php files are loading? In that case, I would suggest you to try accesing nagios in a fresh new browser..

Posted by sh4ka, 11-16-2009, 11:13 AM
Nagios index, http://IP/nagios/ doesn't work at all, on all browsers. Thanks.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Mochahost (Views: 581)


Language:

Contact us