libjvm.so: cannot restore segment prot after reloc: Permission denied
# /jdk1.7.0_03/bin/java -version
Error: dl failure on line 875
Error: failed /jdk1.7.0_03/jre/lib/i386/server/libjvm.so, because /jdk1.7.0_03/jre/lib/i386/server/libjvm.so: cannot restore segment prot after reloc: Permission denied
# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: error (Success)
Policy version: 21
Policy from config file: targeted
# setenforce 0
# /jdk1.7.0_03/bin/java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
Java HotSpot(TM) Server VM (build 22.1-b02, mixed mode)
OR
# vi /etc/selinux/config# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disable
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted