欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

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

程序员文章站 2023-11-25 16:41:46
./runinstaller 启动图形化报错 prvf-0002 : could not retrieve local nodename. 查看了一下报错信息: [root...
./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了