Oracle database installer in linux [INS-10102] Installer initialization failed

Mohammad Nagah picture Mohammad Nagah · Mar 7, 2019 · Viewed 9.4k times · Source

i am trying to install oracle database in red hat enterprise linux and once i run the installer using:

[oracle@linux database]$ ./runInstaller

the OUI shows the message:

[INS-10102] Installer initialization failed.
Cause - An unexpected error occurred while initializing the Installer.  
Action - Contact Oracle Support Services or refer logs  Summary 
 - [INS-10012] Setup driver initialization failed.  
 - no oraInstaller in java.library.path

the log file shows this

ID: oracle.install.commons.util.exception.AbstractErrorAdvisor:8
oracle.install.commons.base.driver.common.InstallerException: [INS-10102] Installer initialization failed.
    at oracle.install.commons.base.driver.common.Installer.run(Installer.java:534)
    at oracle.install.ivw.common.util.OracleInstaller.run(OracleInstaller.java:133)
    at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:139)
    at oracle.install.commons.util.Application.startup(Application.java:1072)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:198)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:566)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:127)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:165)
Caused by: oracle.install.commons.base.driver.common.SetupDriverException: [INS-10012] Setup driver initialization failed.
    at oracle.install.driver.oui.OUIInstallDriver.load(OUIInstallDriver.java:431)
    at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:289)
    at oracle.install.commons.base.driver.common.Installer.run(Installer.java:516)
    ... 8 more
Caused by: java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    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.oiic.OiicPullSession.createDuplicateStreamsForLog(OiicPullSession.java:5382)
    at oracle.sysman.oii.oiic.OiicPullSession.createDuplicateStreams(OiicPullSession.java:5482)
    at oracle.sysman.oii.oiic.OiicAPIInstaller.initInstallEnvironment(OiicAPIInstaller.java:506)
    at oracle.install.driver.oui.OUIInstallDriver.load(OUIInstallDriver.java:422)
    ... 10 more

here is a Screen shot for the error

Answer

Mohammad Nagah picture Mohammad Nagah · Mar 7, 2019

the problem is solved by installing libnsl.so.1 using :

#dnf install libnsl

i did understand the issue using this site : https://javarevisited.blogspot.com/2012/03/javalangunsatisfiedlinkerror-no-dll-in.html#axzz5hSglKlPs