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

内容摘要
./runInstaller

启动图形化报错

PRVF-0002 : Could not retrieve local nodename.

查看了一下报错信息:

[root@test68 OraInstall2013-09-06_04-43-39AM]# cat insta
文章正文
./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了
代码注释

作者:喵哥笔记

IDC笔记

学的不仅是技术,更是梦想!