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