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


    

About the Author Mahendra

I am engulfed in Oracle Identity & Access Management domain. I have expertise on providing the optimized solutions for user provisioning, web access management, Single Sign-On and federation capabilities etc., I am also well versed with complex integrations within Identity Management and other product domains. I have expertise on building demos and implementation experience on products Oracle Access Manager, Oracle Adaptive Access Manager, Oracle Entitlement Server, Oracle Virtual Directory, Oracle Internet Directory etc., Look @ my blog: http://talkidentity.blogspot.com

Leave a Comment:

1 comments
Add Your Reply