PDA

View Full Version : Baffled - Stuck at step 10


sgrynd
08-03-2007, 09:37 PM
I am doing a fresh install

CentOS 4.4
mysql-server 5.0.46
php 5.1.6
Nagios 2.9

Made sure all the pre-req were installed and got to step 10 and had the permission denied problem which I fixed by turning off selinux. For anyone that needs to know how, here is how I did it:

Check to see if it is on -
#/usr/sbin/getenforce
Returns - Enforcing

Edit the selinux file

vi /etc/sysconfig/selinux
SELINUX=disabled

Now to turn of selinux until reboot:

/usr/sbin/setenforce 0
Check status again -
/usr/sbin/getenforce
Returns - Permissive

So anyway, back to my problem -
Writable Oreon Configuration File (oreon.conf.php) Critical: Not Writeable
/usr/local/oreon/www/ apache:apache (755)
Should be apache:apache (755)
Writable ODS Configuration File (conf.pm) Critical: Not Writeable
/usr/local/oreon/www/ apache:apache (755)
Should be apache:apache (755)

See attached image for screen shot. It claims that the premissions are wrong, but yet they are set exactly as being returned. If I change the permission wide open 777 it changed the ODS config file to 777 and still reports it is unwriteable.

Checking my /usr/local/oreon/www/ dir I have this:
drwxr-xr-x 12 apache apache 4096 Aug 3 01:32 www

I am at a lost... any help is appreciated.

(I did install all dependancies before I started)

sgrynd
08-03-2007, 11:10 PM
Problem Solved

When in doubt start over - not sure what the issue was - I removed the oreon dir and restarted the install and it went through perfectly.

I am documenting the process for a company I am consulting for, from CentOS load to nagios/oreon load. If interested I will pass it one when complete.