1、linux上安裝oracle 11g時報INFO:INFO錯誤
$./runInstaller命令執行後,彈出一報錯信息的對話框,內容很簡單,就只有“INFO:INFO”幾個字
2、查看詳細報錯信息
$cd /tmp/OraInstall2014-04-18_01-38-41AM
$more moreoraInstall2014-04-18_01-38-41AM.err
---# Begin Stacktrace #---------------------------
ID: oracle.install.commons.util.exception.DefaultErrorAdvisor:37
oracle.cluster.verification.VerificationException: INFO: INFO
at oracle.cluster.verification.ClusterVerification.<init>(ClusterVerification.java:231)
at oracle.cluster.verification.ClusterVerification.getInstance(ClusterVerification.java:333)
at oracle.install.driver.oui.OUISetupDriver.load(OUISetupDriver.java:419)
at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:190)
at oracle.install.commons.base.driver.common.Installer.run(Installer.java:299)
at oracle.install.ivw.common.util.OracleInstaller.run(OracleInstaller.java:106)
at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:136)
at oracle.install.commons.util.Application.startup(Application.java:891)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:165)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:182)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:348)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:124)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:155)
3、問題分析
3.1 查看主機名稱為:INFO
[oracle@INFO~]$ hostname
INFO
3.2 查看hosts中的IP與主機名稱配置
[oracle@INFO~]$ cat /etc/hosts
#127.0.0.1 localhost localhost.localdomain localhost4localhost4.localdomain4
::1 localhost localhost.localdomainlocalhost6 localhost6.localdomain6
192.168.171.180 INFA
以上發現主機名稱為“INFO”,而hosts中,IP地址主機名映射為“INFA”,即hosts文件中的解析映射存在錯誤
4、處理解決方法
修改/etc/hosts文件,將(192.168.171.180 INFA)修改成(192.168.171.180 INFO),再次安裝,問題解決。
本文作者:踩點
歡迎 加入 系統性能優化專業群 ,共同探討性能優化技術。群號:258187244