Today i was getting the error below while invoking runinstaller during 12.1.0 installation.
Snapshot of error :
Please check the installation logs to find out more about error detail.
I am installing in solaris and my inventory is located in /var/opt/oracle and obviously runInstaller gonna write logs here.
runInstaller log Location : /var/opt/oracle/oraInventory/logs
I highlighted the error message in RED.
---# Begin Stacktrace #---------------------------
ID: oracle.install.commons.util.exception.DefaultErrorAdvisor:39
oracle.install.commons.base.driver.common.InstallerException: [INS-10102] Installer initialization failed.
at oracle.install.commons.base.driver.common.Installer.run(Installer.java:324)
at oracle.install.ivw.common.util.OracleInstaller.run(OracleInstaller.java:106)
at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:142)
at oracle.install.commons.util.Application.startup(Application.java:921)
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:355)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:130)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:161)
Caused by: oracle.install.commons.base.driver.common.SetupDriverException: [INS-21003] Installer has detected that an invalid inventory pointer location file was specified.
at oracle.install.driver.oui.OUIInstallDriver.load(OUIInstallDriver.java:393)
at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:225)
at oracle.install.commons.base.driver.common.Installer.run(Installer.java:306)
... 8 more
---# End Stacktrace #-----------------------------
As i looked into oraInst.loc i dont inst_group since runInstaller was throwing this error. after adding group in oraInst.loc i was able to fix this issue.
inventory_loc=/var/opt/oracle/oraInventory
inst_group=dba --> Added in oraInst.loc
During installation there was an another error. As i looked into the logs, i figured out the below.
java.io.FileNotFoundException: /var/opt/oracle/oraInventory/ContentsXML/inventory.xml (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
at java.io.FileWriter.<init>(FileWriter.java:46)
at oracle.sysman.oii.oiii.OiiiInstallXMLWriter.writeHomes(OiiiInstallXMLWriter.java:148)
at oracle.sysman.oii.oiii.OiiiInstallInventory.saveInventory(OiiiInstallInventory.java:1039)
at oracle.sysman.oii.oiii.OiiiInstallInventory.saveInventory(OiiiInstallInventory.java:1350)
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.writeInstallInv(OiiiInstallAreaControl.java:1424)
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.saveInstallInventory(OiiiInstallAreaControl.java:1344)
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.saveInstallInventory(OiiiInstallAreaControl.java:1246)
at oracle.sysman.oii.oiic.OiicInstallSession.saveInventoryWithUpdate(OiicInstallSession.java:3010)
at oracle.sysman.oii.oiic.OiicInstSaveInvWCCE.initialize(OiicInstSaveInvWCCE.java:269)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:152)
at oracle.sysman.oii.oiif.oiifw.OiifwActionsPhaseWCDE.doOperation(OiifwActionsPhaseWCDE.java:645)
at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.iterate(OiifbLinearIterator.java:147)
at oracle.sysman.oii.oiic.OiicInstallAPISession$OiicAPISelCompsInstall.doOperation(OiicInstallAPISession.java:1095)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
at oracle.sysman.oii.oiic.OiicInstallAPISession.doInstallAction(OiicInstallAPISession.java:679)
at oracle.sysman.oii.oiic.OiicInstallAPISession.access$000(OiicInstallAPISession.java:94)
at oracle.sysman.oii.oiic.OiicInstallAPISession$OiicActionsThread.run(OiicInstallAPISession.java:971)
Reason :
inventory.xml file does not have permission. I granter proper permission to the user then re-initiated the installation. Finally 12c installation was successful.
Hope this helps.
No comments:
Post a Comment