Georgios Petasis | 1 Jul 2012 19:08
Picon
Favicon

How to manually install an httpd module? SELinix denial?

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

(Continue reading)

Georgios Petasis | 1 Jul 2012 21:02
Picon
Favicon

Re: How to manually install an httpd module? SELinix denial?

Στις 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?
>
(Continue reading)

Michael Schwendt | 1 Jul 2012 21:51
Picon

Re: How to manually install an httpd module? SELinix denial?

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 
(Continue reading)


Gmane