一、异常描述
在centos6.4系统安装oracle_x64_11gR2_database版本,安装至95%进度的时,报出"[INS-20802] Oracle Net Configuration Assistant failed...Cause - The plug-in failed in its perform method Action - Refer to the logs or contact Oracle Support Services. Log File Location /home/oracle/oraInventory/logs/installActions2017-01-19_09-48-38AM.log ",如下图所示
二、解决步骤
1. 根据上面提示找到日志位置/home/oracle/oraInventory/logs/oraInstall2017-01-19_03-11-33PM.err,打开查看
[oracle@xwood logs]$ ls -l@b@total 16@b@-rwxrwxrwx 1 oracle dba 0 Jan 19 17:10 installActions2017-01-19_03-11-33PM.log@b@-rw------- 1 oracle dba 635 Jan 19 15:45 OPatch2017-01-19_03-45-37-PM.log@b@-rw-rw---- 1 oracle dba 6317 Jan 19 15:14 oraInstall2017-01-19_03-11-33PM.err@b@-rw-rw---- 1 oracle dba 121 Jan 19 15:14 oraInstall2017-01-19_03-11-33PM.out@b@[oracle@xoms logs]$ cat oraInstall2017-01-19_03-11-33PM.err@b@---# Begin Stacktrace #---------------------------@b@ID: oracle.install.driver.oui.OUISetupDriver:13@b@oracle.install.commons.net.NetworkUtilityException: [INS-06101] IP address of localhost could not be determined@b@ at oracle.install.commons.net.NetworkUtility.getLocalHostName(NetworkUtility.java:55)@b@ at oracle.install.driver.oui.OUISetupDriver.verifyEnvironment(OUISetupDriver.java:293)@b@ at oracle.install.driver.oui.OUISetupDriver.load(OUISetupDriver.java:419)@b@ at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:161)@b@ at oracle.install.commons.base.driver.common.Installer.run(Installer.java:216)@b@ at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:126)@b@ at oracle.install.commons.util.Application.startup(Application.java:869)@b@ at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)@b@ at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)@b@ at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)@b@ at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)@b@ at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)@b@Caused by: java.net.UnknownHostException: xwood: xwood@b@ at java.net.InetAddress.getLocalHost(InetAddress.java:1346)@b@ at oracle.install.commons.net.NetworkUtility.getLocalHostName(NetworkUtility.java:52)@b@ ... 11 more@b@@b@---# End Stacktrace #-----------------------------@b@---# Begin Stacktrace #---------------------------@b@ID: oracle.install.commons.util.exception.DefaultErrorAdvisor:16@b@oracle.install.commons.net.NetworkUtilityException: [INS-06101] IP address of localhost could not be determined@b@ at oracle.install.commons.net.NetworkUtility.getLocalHostName(NetworkUtility.java:55)@b@ at oracle.install.driver.oui.OUISetupDriver.verifyEnvironment(OUISetupDriver.java:293)@b@ at oracle.install.driver.oui.OUISetupDriver.load(OUISetupDriver.java:419)@b@ at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:161)@b@ at oracle.install.commons.base.driver.common.Installer.run(Installer.java:216)@b@ at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:126)@b@ at oracle.install.commons.util.Application.startup(Application.java:869)@b@ at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)@b@ at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)@b@ at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)@b@ at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)@b@ at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)@b@Caused by: java.net.UnknownHostException: xoms: xoms@b@ at java.net.InetAddress.getLocalHost(InetAddress.java:1346)@b@ at oracle.install.commons.net.NetworkUtility.getLocalHostName(NetworkUtility.java:52)@b@ ... 11 more@b@@b@---# End Stacktrace #-----------------------------@b@java.net.UnknownHostException: xwood: xwood@b@ at java.net.InetAddress.getLocalHost(InetAddress.java:1346)@b@ at oracle.sysman.ccr.util.Host.<clinit>(Unknown Source)@b@ at oracle.sysman.ccr.collector.install.NetworkConfiguration.setProxyHost(Unknown Source)@b@ at oracle.sysman.oii.oiix.OiixOCMValidation.testInstallProxyConnection(OiixOCMValidation.java:156)@b@ at oracle.sysman.oii.oiix.OiixOCMValidation.isDirectConnectionAvailable(OiixOCMValidation.java:126)@b@ at oracle.sysman.oii.oiif.oiifo.OiifoOCMUI.validateConnection(OiifoOCMUI.java:349)@b@ at oracle.sysman.oii.oiif.oiifo.OiifoOCMUI.validateInputs(OiifoOCMUI.java:459)@b@ at oracle.sysman.oii.oiif.oiifo.OiifoOCMInterfaceManager.validate(OiifoOCMInterfaceManager.java:210)@b@ at oracle.install.ivw.common.validator.OCMDetailsValidator.validate(OCMDetailsValidator.java:43)@b@ at oracle.install.commons.flow.validation.ValidationHelper.validateState(ValidationHelper.java:178)@b@ at oracle.install.commons.flow.AbstractFlowExecutor.validate(AbstractFlowExecutor.java:394)@b@ at oracle.install.commons.flow.AbstractFlowExecutor.leaveVertex(AbstractFlowExecutor.java:607)@b@ at oracle.install.commons.flow.AbstractFlowExecutor.transition(AbstractFlowExecutor.java:321)@b@ at oracle.install.commons.flow.AbstractFlowExecutor.nextState(AbstractFlowExecutor.java:261)@b@ at oracle.install.commons.flow.AbstractFlowExecutor.nextViewState(AbstractFlowExecutor.java:220)@b@ at oracle.install.commons.flow.DefaultFlowNavigator.goForward(DefaultFlowNavigator.java:58)@b@ at oracle.install.commons.flow.jewt.FlowWizard$1.run(FlowWizard.java:72)@b@ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)@b@ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)@b@ at java.lang.Thread.run(Thread.java:595)@b@java.net.UnknownHostException: xwood: xwood@b@ at java.net.InetAddress.getLocalHost(InetAddress.java:1346)@b@ at oracle.sysman.oii.oiin.OiinNetOps.computeNICList(OiinNetOps.java:105)@b@ at oracle.sysman.oii.oiin.OiinNetOps.<init>(OiinNetOps.java:76)@b@ at oracle.sysman.oii.oiin.OiinNetOps.getNetOps(OiinNetOps.java:90)@b@ at oracle.sysman.oii.oiif.oiifw.OiifwHostNameWCDE.initialize(OiifwHostNameWCDE.java:113)@b@ at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:152)@b@ at oracle.sysman.oii.oiic.OiicDepWizEngine.doOperation(OiicDepWizEngine.java:450)@b@ at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)@b@ at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1371)@b@ at oracle.sysman.oii.oiic.OiicInstallAPISession.doOperationsTillSummary(OiicInstallAPISession.java:745)@b@ at oracle.sysman.oii.oiic.OiicInstallAPISession.prepareForInstallOperations(OiicInstallAPISession.java:286)@b@ at oracle.sysman.oii.oiic.OiicAPIInstaller.prepareForInstallOperations(OiicAPIInstaller.java:809)@b@ at oracle.install.driver.oui.OUISetupDriver.initSession(OUISetupDriver.java:759)@b@ at oracle.install.driver.oui.OUISetupDriver.setup(OUISetupDriver.java:451)@b@ at oracle.install.driver.oui.SetupJob.call(SetupJob.java:166)@b@ at oracle.install.driver.oui.SetupJob.call(SetupJob.java:47)@b@ at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)@b@ at java.util.concurrent.FutureTask.run(FutureTask.java:123)@b@ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)@b@ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)@b@ at java.lang.Thread.run(Thread.java:595)
2.从上面异常可以看出正常导致异常时UnknownHostException的问题,可以看出是xwood的host配置问题,操作如下
[oracle@xwood logs]$ hostname@b@xwood @b@[oracle@xwood logs]$ cat /etc/sysconfig/network@b@NETWORKING=yes@b@HOSTNAME=xoms@b@GATEWAY=192.168.1.211@b@[oracle@xoms logs]$ hostname@b@xwood @b@[oracle@xoms logs]$ cat /etc/hosts@b@127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4@b@::1 localhost localhost.localdomain localhost6 localhost6.localdomain6@b@[oracle@xoms logs]$ vi /etc/hosts@b@127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4@b@::1 localhost localhost.localdomain localhost6 localhost6.localdomain6@b@127.0.0.1 xwood
3.重新安装,问题解决了