LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   issue with starting Apache after php recompile (https://www.linuxquestions.org/questions/fedora-35/issue-with-starting-apache-after-php-recompile-585112/)

lightpace 09-16-2007 01:28 PM

issue with starting Apache after php recompile
 
hi

i had everything running fine, until i recompile php with mysql and that required me to update httpd (for apxs) and mysqld with devel. after compiling php everything came up but apache is not starting.

i am getting following message in logs.

Code:

v=hda1 ino=260730 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:httpd_modules_t:s0 tclass=file
Sep 16 09:34:35 anaconda kernel: audit(1189949675.371:27): avc:  denied  { execmod } for  pid=8700 comm="httpd" name="libphp5.so" dev=hda1 ino=260730 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:httpd_modules_t:s0 tclass=file
Sep 16 09:36:00 anaconda kernel: audit(1189949760.597:28): avc:  denied  { execmod } for  pid=8711 comm="httpd" name="libphp5.so" dev=hda1 ino=260730 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:httpd_modules_t:s0 tclass=file
^^Sep 16 09:48:22 anaconda kernel: audit(1189950502.670:29): avc:  denied  { execmod } for  pid=8730 comm="httpd" name="libphp5.so" dev=hda1 ino=260730 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:httpd_sys_content_t:s0 tclass=file
^^

[root@anaconda run]# rpm -aq | grep httpd
httpd-devel-2.2.4-2.1.fc6
system-config-httpd-1.4.1-1.fc6
httpd-2.2.4-2.1.fc6
[root@anaconda run]# rpm -aq | grep mysql
mysql-server-5.0.27-1.fc6
mysql-5.0.27-1.fc6
mysql-devel-5.0.27-1.fc6
[root@anaconda run]# rpm -aq | grep php
php-cli-5.1.6-3.6.fc6
php-common-5.1.6-3.6.fc6
[root@anaconda run]# uname -a
Linux anaconda 2.6.20-1.3001.fc6xen #1 SMP Thu Aug 9 16:18:09 EDT 2007 i686 i686 i386 GNU/Linux

any words of wisdom?
thanks
- mark

shafty023 10-11-2007 01:52 PM

It looks to me like SELinux is giving problems with apache. Do you have SELinux enabled?

noran01 10-12-2007 04:26 PM

SELinux is definitely your problem here.


All times are GMT -5. The time now is 07:56 PM.