Skip to main content

So you tried this:

[root@oamserver ~]# export LD_LIBRARY_PATH=/opt/apps/oracle/Middleware/Oracle_WG1/webgate/apache/lib
[root@oamserver ~]# apachectl -k start

 

And ya got this:
httpd: Syntax error on line 1011 of /etc/httpd/conf/httpd.conf: Syntax error on line 9 of /etc/httpd/conf/webgate.conf: Cannot load /opt/apps/oracle/Middleware/Oracle_WG1/webgate/apache/lib/webgate.so into server: /opt/apps/oracle/Middleware/Oracle_WG1/webgate/apache/lib/webgate.so: cannot enable executable stack as shared object requires: Permission denied

Do this:

sudo vi /etc/selinux/config

Set this:

SELINUX=disabled

Reboot.

Piece.