今天安装oracle 10g在系统检查时加载到88%就停止在那了,重新安装还是这个现象!
进度条到88%等待不动了。在安装日志中发现如下错误。
操作系统为:
Linux primary 2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST 2006 i686 i686 i386 GNU/Linux
查看错误:
/ora_install/oraInventory/logs/oraInstall2008-12-10_06-28-54PM.err 文件中发现如下错误。
java.net.UnknownHostException: primary: primary
at java.net.InetAddress.getLocalHost(Unknown Source)
at oracle.sysman.oii.oiin.OiinNetOps.computeNICList(OiinNetOps.java:104)
at oracle.sysman.oii.oiin.OiinNetOps.(OiinNetOps.java:75)
at oracle.sysman.oii.oiin.OiinNetOps.getNetOps(OiinNetOps.java:89)
at oracle.sysman.oii.oiif.oiifw.OiifwHostNameWCDE.initialize(OiifwHostNameWCDE.java:111)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:152)
at oracle.sysman.oii.oiic.OiicDepWizEngine.doOperation(OiicDepWizEngine.java:424)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:546)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:929)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.runInstaller(OiocOneClickInstaller.java:1921)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2149)
Caught UnknownHostException: primary: primary
Caught UnknownHostException: primary: primary
Caught UnknownHostException: primary: primary
Caught UnknownHostException: primary: primary
Caught UnknownHostException: primary: primary
Caught UnknownHostException: primary: primary
查看hosts文件
[root@primary ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
在hosts文件加入主机信息:
发现hosts名称不在/etc/hosts下面,当在/etc/hosts加入如下文件的时候,顺利检测到100%。
echo"32.1.5.35 primary">>/etc/hosts
阅读(1278) | 评论(0) | 转发(0) |