"cannot restore segment prot after reloc"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[root@ucore-web ~]# service httpd configtest
httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax
error on line 1 of /etc/httpd/conf.d/valicert.conf: Cannot load
/etc/httpd/modules/vcapache.so into server:
/etc/httpd/modules/vcapache.so: cannot restore segment prot after reloc:
Permission denied
[root@ucore-web ~]# ls -lZ /etc/httpd/modules/vcapache.so
-rwxr-xr-x  root root system_u:object_r:httpd_modules_t
/etc/httpd/modules/vcapache.so

I used chcon to make vcapache.so have the same attributes as other
Apache modules...

-rwxr-xr-x  root root system_u:object_r:httpd_modules_t mod_userdir.so
-rwxr-xr-x  root root system_u:object_r:httpd_modules_t mod_usertrack.so
-rwxr-xr-x  root root system_u:object_r:httpd_modules_t mod_version.so
-rwxr-xr-x  root root system_u:object_r:httpd_modules_t
mod_vhost_alias.so
-rwxr-xr-x  root root system_u:object_r:httpd_modules_t vcapache.so

How to fix?  Googling results in a thousand suggestions to disable
SELinux and a couple to "chcon -t texrel_shlib_t" which did not work for
me.

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux