Hi,

Jason thanks it worked.

I would like to thank each and every one who have replied

Thank You All

Toney




On 7/18/06, Jason A. Smith <[EMAIL PROTECTED]> wrote:

On Tue, 2006-07-18 at 08:37, toney samuel wrote:
> Hi,
>
> I am using centos 4.2 and i am getting this error in /var/log/messages
>
> Jul 18 17:58:52 xeon kernel: audit(1153225732.898:460): avc:  denied
> { read } for  pid=26941 comm="rrdtool" name="disk_total.rrd" dev=hda2
> ino=1296150 scontext=root:system_r:httpd_sys_script_t
> tcontext=root:object_r:var_lib_t tclass=file
> Jul 18 17:58:52 xeon kernel: audit(1153225732.920:461): avc:  denied
> { read } for  pid=26942 comm="rrdtool" name="load_five.rrd" dev=hda2
> ino=1296126 scontext=root:system_r:httpd_sys_script_t
> tcontext=root:object_r:var_lib_t tclass=file
>
>
> pls guide how to proceed
>
> regards

Yup, it looks like you have SELinux enabled.  Check the contents of the
/etc/sysconfig/selinux config file to see what level it is set to, i.e.
SELINUX should be set to one of: enforcing, permissive or disabled.  It
is most likely set to enforcing.

You have two options, either completely disable SELinux or set httpd
and/or rrdtool policies that allow the ganglia php scripts to access the
required rrd lib directory and anything else that it might need to.

Others on this list have run into this problem in the past.  Has anyone
figured out what SELinux policies are required for ganglia to function?

~Jason


Reply via email to