webgate.so: cannot restore segment prot after reloc: Permission denied

I have installed a Apache 2.2 Web Gate in a 64-bit Linux environment, I had problems while restart the Apache server.

The Apache server needs to be started/stopped as root user whereas the WebGate is installed as non-root user.

$./apachectl stop

WebGate_Install_Dir/access/oblix/apps/webgate/bin/webgate.so: cannot restore segment prot after reloc: Permission denied

To resolve this, we need to execute the following steps in Linux machine as root user.

[root@host machine]# chcon -t texrel_shlib_t   ./webgate/access/oblix/apps/webgate/bin/*.so

When I start/stop the Apache server, it is working fine

[root@host machine]# cd webserver/apache/bin
[root@host machine]# ./apachectl stop
[root@host machine]# ./apachectl start

Useful Articles:

Oracle Documentation



		
		
			

Comments are closed.

Scroll to Top