/
[MIP-414] 리눅스 버전 설치 시 에러 발생

[MIP-414] 리눅스 버전 설치 시 에러 발생

Subject
리눅스 버전 설치 시 에러 발생

APPLIES TO:
3.5.2




SYMPTOMS
[root@localhost Desktop]# ./MCCS_unix_3_5_2.sh
Unpacking JRE ...
Preparing JRE ...
Starting Installer ...
Error: dl failure on line 864
Error: failed /root/Desktop/MCCS_unix_3_5_2.sh.17688.dir/jre/lib/i386/client/libjvm.so,
because /root/Desktop/MCCS_unix_3_5_2.sh.17688.dir/jre/lib/i386/client/libjvm.so:
cannot restore segment prot after reloc: Permission denied



CAUSE
현재 TEST하고 있는 MCCS version : 3.6.1

위와 유사한 이슈가 있어서, 찾아 보니, selinux를 비활성화 하라고 되어 있었습니다. (http://www.coderanch.com/t/601302/Linux-UNIX/PATH-CLASSPATH-settings-Linux 의 comment)


A quick search found that this error is usually associated with SELinux (I think Security Enhanced Linux, a sort of firewall installed on some versions of Linux, including Red Hat 5, if I understand it correctly).

The quick-test solution is to disable selinux using setenforce 0 then seeing if it Java works. Then turn it back on using setenforce 1. If that works for you then you should find the SELinux configuration (some versions of Linux have a GUI configurator, and others do not). What you want to do is allow Text Relocation, so in the GUI look for something like ""Allow the use of shared libraries with Text Relocation"". Or, I think, you could use a command line to allow Text Relocation just for the jvm:


TEST장비에서도 동일한 문제가 있어 SELinux를 disabled로 변경한 후에는 정상 설치 됩니다.



SOLUTION
설치 문서에서도 해당 옵션은 disable 을 권장

 

Related content

[MIP-91] JAVA_HOME설정시 install package에서 jre설치를 하지 않는 문제
[MIP-91] JAVA_HOME설정시 install package에서 jre설치를 하지 않는 문제
More like this
[MIP-86] Install 시, Symlinks를 체크 한 후 확인하면, 생성이 안되어 있다
[MIP-86] Install 시, Symlinks를 체크 한 후 확인하면, 생성이 안되어 있다
More like this
[MIP-515] 설치 완료 후 MCCS 서비스 자동 시작 되지 않음
[MIP-515] 설치 완료 후 MCCS 서비스 자동 시작 되지 않음
More like this
[MIP-145] MCCS log 에서 java Error 발생 관련
[MIP-145] MCCS log 에서 java Error 발생 관련
More like this
[MIP-100] MCCS 3.6 에서 install시에 나타나는 라이선스 입력창에 temp 라이선스가 적용되지 않는다
[MIP-100] MCCS 3.6 에서 install시에 나타나는 라이선스 입력창에 temp 라이선스가 적용되지 않는다
More like this
[MIP-93] Java Error 관련 내용
[MIP-93] Java Error 관련 내용
More like this