Unable to Start Confluence with "cannot restore segment prot after reloc: Permission denied" Error

Still need help?

The Atlassian Community is here for you.

Ask the community

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

  1. Temporarily disable SELinux by running this command in the terminal:

    /usr/sbin/setenforce 0
  2. Restart Confluence
  3. To re-enable SELinux, run this:
/usr/sbin/setenforce 1

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.