Xymon Mailing List Archive search

Accessing availabitlity or snapshot reports

list Dirk Kastens
Thu, 09 Apr 2015 14:28:03 +0200
Message-Id: <user-0da59506ee90@xymon.invalid>

Hi,
Can you check the apache error logs for any relevant lines? If SELinux is
enabled, can you check /var/log/audit/* for a possible write violation?
It's indeed selinux related. When I disable selinux, the report works. 
Any hints on how to configure selinux?
In my file_contexts.local I have

/var/run/xymon(/.*)?    system_u:object_r:initrc_var_run_t:s0
/var/cache/xymon(/.*)?    system_u:object_r:httpd_cache_t:s0
/usr/share/xymon/cgi-bin(/.*)? 
system_u:object_r:httpd_sys_script_exec_t:s0
/usr/share/xymon/cgi-secure(/.*)? 
system_u:object_r:httpd_sys_script_exec_t:s0
/var/lib/xymon(/.*)?    system_u:object_r:httpd_sys_content_t:s0
/var/lib/xymon/tmp(/.*)?    systemm_u:object_r:tmp_t:s0
/usr/libexec/xymon/cgiwrap    system_u:object_r:httpd_sys_script_exec_t:s0

I also executed "restorecon -R -v" on all xymon directories.

Dirk