616b40704337a0eebeb0cf9f825ca9d5.jpg

oracle 安装的时候刚弹出安装界面会弹出如下错误。这是由于hosts文件中没有设置主机名的原因。

因为我自己操作的时候没有截图,在这里直接给大家分享一下网上的一个教程,内容有修改。

运行./runInstaller,立即出现下面的错误

# cat /tmp/OraInstall2013-03-14_11-07-58AM/installActions2013-03-14_11-07-58AM.log

核心报错:

  1. INFO: Setting value for the property:platformcmdmap in the bean:configcmd  INFO: Setting value for the property:configcmds in the bean:configcmdmappings  SEVERE: [FATAL] dev-1: dev-1.  Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:37  INFO: Advice is ABORT  SEVERE: Unconditional Exit  INFO: Adding ExitStatus FAILURE to the exit status set  

放方法

原因是因为hosts中未设置IP和Hostname的映射。

运行hostname,查看本机hostname

打开/etc/hosts

在底部添加:服务器ip+主机名

192.168.33.128  dev-1