Oracle/Bug & Error

[RHEL8.x] oracle11g (11.2.0.4) ./runInstaller 실행 시 발생되는 에러

beom92 2023. 5. 19.

내용

RHEL8.x 에서 oracle 11g (11.2.0.4) 설치 진행중 ./runInstaller 실행 시 발생되는 에러 확인 및 조치

 

 

에러 내용 확인

localhost.localdomain:database/ > ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 53209 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 4051 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2023-03-23_10-41-23AM.
Please wait ...localhost.localdomain:database/ > There was an error trying to initialize the HPI library.
Please check your installation, HotSpot does not work correctly
when installed in the JDK 1.2 Linux Production Release, or
with any JDK 1.1.x release.
Could not create the Java virtual machine.

 

 

원인

libnsl 패키지가 누락되어 발생한 것으로 확인 되었음.

 

 

조치방안

libnsl 패키지 설치 후 정상 실행 된 것을 확인.

# rpm -qa | grep -i libnsl
libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64
libnsl-2.28-189.5.0.1.el8_6.x86_64                                   <<<<<<<<<<<<<<

# pwd
/tmp/OraInstall2022-08-14_07-43-16AM/jdk/jre/bin

# ./java -version
java version "1.5.0_51"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_51-b10)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_51-b10, mixed mode)

localhost.localdomain:database/ > ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 52987 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 4049 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2023-03-23_01-22-17PM. Please wait ...localhost.localdomain:database/ > You can find the log of this install session at:
 /oracle/oraInventory/logs/installActions2023-03-23_01-22-17PM.log

 

참조

Oracle Database/Client 11.2.0.4 on RHEL/OL 8.x : OUI fails to launch with Errors "There was an error trying to initialize the HPI library.........Could not create the Java virtual machine" (문서 ID 2889673.1)

댓글