Unable to Start Confluence with "cannot restore segment prot after reloc: Permission denied" Error
Symptoms
- You are trying to run Confluence in an OS with SELinux
The following appears in catalina.out
:
Error: failed /home/test/jdk1.7/jdk1.7.0_17/jre/lib/i386/client/libjvm.so, because /home/test/jdk1.7/jdk1.7.0_17/jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied
Error: dl failure on line 864
Cause
SELinux is installed and enabled in the OS.
Workaround
Temporarily disable SELinux by running this command in the terminal:
/usr/sbin/setenforce 0
- Restart Confluence
- To re-enable SELinux, run this:
/usr/sbin/setenforce 1
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.