oracle 安裝的時候剛彈出安裝界面會彈出如下錯誤。這是由於hosts文件中沒有設置主機名的原因。
因爲我自己操作的時候沒有截圖,在這裏直接給大家分享一下網上的一個教程,內容有修改。
運行./runInstaller,立即出現下面的錯誤
# cat /tmp/OraInstall2013-03-14_11-07-58AM/installActions2013-03-14_11-07-58AM.log
核心報錯:
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