java.lang.UnsatisfiedLinkError ~ 에러 (상세 에러코드와 에러지점은 아래에 내리시면 보입니다!)
IBM AIX 7.2에 Tuxedo 설치 중에 마지막 단계에서 난 에러이다.
해결 방안 : 에러코드 0509-026을 구글링 했을 때, JAVA 버전이 32bit 이냐, 64bit 냐 라는 글이 계속 나왔다. 난 분명 JAVA8 64bit을 설치했기에 의심도 없었고, java -version 를 실행했을 때
$ java -version
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 8.0.5.35 - pap6480sr5fp35-20190418_01(SR5 FP35))
IBM J9 VM (build 2.9, JRE 1.8.0 AIX ppc64-64-Bit Compressed References 20190417_414854 (JIT enabled, AOT enabled)
OpenJ9 - 777635f
OMR - 16b77d7
IBM - 72459d3)
JCL - 20190409_01 based on Oracle jdk8u211-b25
다음과 같은 정보를 보면서 확신했고, AIX 64bit에 JAVA 64bit를 설치하였기에 의심도 없었다.
그리고 JAVA_HOME 환경변수 설정도 완벽하게 했다고 생각했다.
완벽하긴 했다...
근데 /usr 디렉토리로 들어가니 Java8 디렉토리가 있고 Java8_64 디렉토리가 있었다.
난 처음에 Java8 을 환경변수로 설정해줬었다. (내가 이상한건가?)
사실 이게 뭔 차이인지도 아직 잘 모르겠다...
아시는 분이 있다면 자삭 공유 부탁드립니다...!
뭔가 느낌이 쎄해서 속는 셈 치고
/usr/Java8_64/jre
로 환경변수를 설정해줬다.
되더라...
이 에러를 해결하고 났을 때 느낀점은
장비에 오라클 64bit를 설치받았다면 자바도 64bit를 내려받고 환경변수를 설정해줘야 설치할 때 에러가 나지 않는다는 점이다.
구글링을 2시간 넘게 뒤적이면서 LD_LIBRARY_PATH 환경변수를 바꿔보기도 하고 여러가지 뻘짓을 한 상태여서 지친 상태였다.
해결하고나니 희노애락이 몰려온다.
<에러 지점을 긁어왔습니다.>
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 16384 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2022-08-24_04-30-06PM. Please wait ...Oracle Universal Installer, Version 12.2.0.1.0 Production
Copyright (C) 1999, 2014, Oracle. All rights reserved.
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2022-08-24_04-30-06PM/oui/lib/aix/liboraInstaller.so ( 0509-022 Cannot load module /tmp/OraInstall2022-08-24_04-30-06PM/oui/lib/aix/liboraInstaller.so.
0509-026 System error: Cannot run a file that does not have a valid format.)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1462)
at java.lang.System.load(System.java:571)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:364)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:128)
at oracle.sysman.oii.oiip.oiipg.OiipgFileSystem.changePermission(OiipgFileSystem.java:2257)
at oracle.sysman.oii.oiix.OiixFileOps.changePermission(OiixFileOps.java:2184)
at oracle.sysman.oii.oiix.OiixFileOps.changePermissions(OiixFileOps.java:2116)
at oracle.sysman.oii.oiit.OiitLockHeartbeat.<init>(OiitLockHeartbeat.java:172)
at oracle.sysman.oii.oiit.OiitTargetLocker.getReaderLock(OiitTargetLocker.java:475)
at oracle.sysman.oii.oiii.OiiiTargetAreaControl.grabReaderLock(OiiiTargetAreaControl.java:373)
at oracle.sysman.oii.oiic.OiicInstallSession.setAreaControls(OiicInstallSession.java:1509)
at oracle.sysman.oii.oiic.OiicInstallSession.<init>(OiicInstallSession.java:1036)
at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:876)
at oracle.sysman.oii.oiic.OiicSessionWrapper.<init>(OiicSessionWrapper.java:192)
at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:512)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:968)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:906)
Exception java.lang.UnsatisfiedLinkError: oraInstaller (Not found in java.library.path) occurred..
java.lang.UnsatisfiedLinkError: oraInstaller (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1462)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:1414)
at java.lang.System.loadLibrary(System.java:584)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:380)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:128)
at oracle.sysman.oii.oiip.oiipg.OiipgFileSystem.changePermission(OiipgFileSystem.java:2257)
at oracle.sysman.oii.oiix.OiixFileOps.changePermission(OiixFileOps.java:2184)
at oracle.sysman.oii.oiix.OiixFileOps.changePermissions(OiixFileOps.java:2116)
at oracle.sysman.oii.oiit.OiitLockHeartbeat.<init>(OiitLockHeartbeat.java:172)
at oracle.sysman.oii.oiit.OiitTargetLocker.getReaderLock(OiitTargetLocker.java:475)
at oracle.sysman.oii.oiii.OiiiTargetAreaControl.grabReaderLock(OiiiTargetAreaControl.java:373)
at oracle.sysman.oii.oiic.OiicInstallSession.setAreaControls(OiicInstallSession.java:1509)
at oracle.sysman.oii.oiic.OiicInstallSession.<init>(OiicInstallSession.java:1036)
at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:876)
at oracle.sysman.oii.oiic.OiicSessionWrapper.<init>(OiicSessionWrapper.java:192)
at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:512)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:968)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:906)
SEVERE:Abnormal program termination. An internal error has occured. Please provide the following files to Oracle Support :
"Unknown"
"Unknown"
"Unknown"
Exception in thread "main" java.lang.NoClassDefFoundError: oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps (initialization failure)
at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:97)
at oracle.sysman.oii.oiio.oiiol.OiiolTextLogger.appendErrorText(OiiolTextLogger.java:1837)
at oracle.sysman.oii.oiio.oiiol.OiiolTextLogger.appendErrorText(OiiolTextLogger.java:1774)
at oracle.sysman.oii.oiic.OiicSilentInterfaceManager.displayAlert(OiicSilentInterfaceManager.java:477)
at oracle.sysman.oii.oiic.OiicSilentInterfaceManager.displayAlert(OiicSilentInterfaceManager.java:456)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.displayAlert(OiifmAlert.java:335)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.displayAlert(OiifmAlert.java:288)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.displayAlert(OiifmAlert.java:238)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.displayError(OiifmAlert.java:364)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:1024)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:906)
Caused by: java.lang.UnsatisfiedLinkError: oraInstaller (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1462)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:1414)
at java.lang.System.loadLibrary(System.java:584)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:380)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:128)
at oracle.sysman.oii.oiip.oiipg.OiipgFileSystem.changePermission(OiipgFileSystem.java:2257)
at oracle.sysman.oii.oiix.OiixFileOps.changePermission(OiixFileOps.java:2184)
at oracle.sysman.oii.oiix.OiixFileOps.changePermissions(OiixFileOps.java:2116)
at oracle.sysman.oii.oiit.OiitLockHeartbeat.<init>(OiitLockHeartbeat.java:172)
at oracle.sysman.oii.oiit.OiitTargetLocker.getReaderLock(OiitTargetLocker.java:475)
at oracle.sysman.oii.oiii.OiiiTargetAreaControl.grabReaderLock(OiiiTargetAreaControl.java:373)
at oracle.sysman.oii.oiic.OiicInstallSession.setAreaControls(OiicInstallSession.java:1509)
at oracle.sysman.oii.oiic.OiicInstallSession.<init>(OiicInstallSession.java:1036)
at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:876)
at oracle.sysman.oii.oiic.OiicSessionWrapper.<init>(OiicSessionWrapper.java:192)
at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:512)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:968)
... 1 more
'Middleware > Tuxedo' 카테고리의 다른 글
ld: 0711-224 WARNING 에러 (0) | 2022.08.25 |
---|---|
[Tuxedo] 오라클 설치 / root.sh 와 oraInstRoot.sh 는 무엇인가? (0) | 2022.08.24 |
[Oracle] oraInventory 는 무엇인가? (0) | 2022.08.24 |
[Tuxedo] IBM AIX 7.2 / tuxedo 12c console 설치 (0) | 2022.08.23 |
[Tuxedo] tmshutdown 명령어 (0) | 2022.08.23 |