Hi all,
I am trying to install Apache Rivet under Fedora 17 (http://tcl.apache.org/rivet/static/download.html).
Everything seems as expected, except for starting httpd. Httpd does not start, I get an error in apache logs:
[Sun Jul 01 20:05:13 2012] [error] (20014)Internal error: mod_rivet: init.tcl must be installed correctly for Apache Rivet to function: can't find package RivetTcl exactly 2.1 (/usr/lib64/rivet2.1/site-packages/mod_rivet)
Of course file /usr/lib64/rivet2.1/site-packages/mod_rivet/init.tcl exists:
-rw-r--r--. root root system_u:object_r:lib_t:s0 /usr/lib64/rivet2.1/site-packages/mod_rivet/init.tcl
The audit log shows:
type=SERVICE_START msg=audit(1341162429.242:416): pid=0 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=' comm="httpd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
How to solve this? I thing that I have a selinux denial. How to enable a custom apache module to work?
George
Στις 1/7/2012 20:08, ο/η Georgios Petasis έγραψε:
Hi all,
I am trying to install Apache Rivet under Fedora 17 (http://tcl.apache.org/rivet/static/download.html).
Everything seems as expected, except for starting httpd. Httpd does not start, I get an error in apache logs:
[Sun Jul 01 20:05:13 2012] [error] (20014)Internal error: mod_rivet: init.tcl must be installed correctly for Apache Rivet to function: can't find package RivetTcl exactly 2.1 (/usr/lib64/rivet2.1/site-packages/mod_rivet)
Of course file /usr/lib64/rivet2.1/site-packages/mod_rivet/init.tcl exists:
-rw-r--r--. root root system_u:object_r:lib_t:s0 /usr/lib64/rivet2.1/site-packages/mod_rivet/init.tcl
The audit log shows:
type=SERVICE_START msg=audit(1341162429.242:416): pid=0 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=' comm="httpd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
How to solve this? I thing that I have a selinux denial. How to enable a custom apache module to work?
George
Problem solved, it was a crash that was happening inside a library apache rivet was loading. Not a selinux or other Fedora problem.
George
On Sun, 01 Jul 2012 20:08:56 +0300, Georgios Petasis wrote:
Hi all,
I am trying to install Apache Rivet under Fedora 17 (http://tcl.apache.org/rivet/static/download.html).
Everything seems as expected, except for starting httpd. Httpd does not start, I get an error in apache logs:
[Sun Jul 01 20:05:13 2012] [error] (20014)Internal error: mod_rivet: init.tcl must be installed correctly for Apache Rivet to function: can't find package RivetTcl exactly 2.1 (/usr/lib64/rivet2.1/site-packages/mod_rivet)
Of course file /usr/lib64/rivet2.1/site-packages/mod_rivet/init.tcl exists:
-rw-r--r--. root root system_u:object_r:lib_t:s0 /usr/lib64/rivet2.1/site-packages/mod_rivet/init.tcl
The audit log shows:
type=SERVICE_START msg=audit(1341162429.242:416): pid=0 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=' comm="httpd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
That's not an SELinux denial, however.
How to solve this? I thing that I have a selinux denial. How to enable a custom apache module to work?
I've seen your other reply meanwhile, but one common way to test whether SELinux is involved somehow is to switch to permissive mode, then try to reproduce the problem.