cannot open shared object file Permission denied

启动 httpd 报错:mod_wl_22.so: cannot open shared object file: Permission denied

1
2
3
<!-- more -->
[root@weblogicServer ~]# service httpd rstart
当出现正在启动 httpd:httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.d/egrant.conf: Cannot load /home/weblogic/Oracle/Middleware/wlserver_10.3/server/plugin/linux/x86_64/mod_wl_22.so into server: /home/weblogic/Oracle/Middleware/wlserver_10.3/server/plugin/linux/x86_64/mod_wl_22.so: cannot open shared object file: Permission denied

解决方法:关闭selinux

1
setenforce 0    (临时关闭,重启之后无效)
# linux
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×