/ 中存储网

oracle12c安装报错:PRVF-0002的解决方法

2014-08-25 11:44:16 来源:中存储网

Oracle错误[FATAL] PRVF-0002 : Could not retrieve local nodename.

./runInstaller
启动图形化报错
PRVF-0002 : Could not retrieve local nodename.
查看了一下报错信息:
[root@test68 OraInstall2013-09-06_04-43-39AM]# cat installActions2013-09-06_04-43-39AM.log
后几行报错:
SEVERE: [FATAL] PRVF-0002 : Could not retrieve local nodename.
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
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -1
INFO: Shutdown Oracle Database 12c Release 1 Installer
猜测是找不到主机名的对应ip
修改了下/etc/hosts
127.0.0.1 localhost.localdomain localhosttest68
::1 localhost6.localdomain6 localhost6 test68
10.0.5.68 test68
再运行就OK了