日期:2014-05-16  浏览次数:20399 次

PRVF-0002 : 无法检索本地节点名

在安装GI(Grid Infrastruct)时报下面的错

[root@single soft]# cd grid

[root@single grid]# export DISPLAY=10.1.5.240:0.0

[root@single grid]# ./runInstaller 



解决办法:

修改/etc/hosts文件

[root@single grid]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain localhost
::1    localhost6.localdomain6       localhost6


加上主机名

[root@single grid]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       single localhost.localdomain localhost
::1     single localhost6.localdomain6       localhost6


参考:

http://www.krenger.ch/blog/fatal-prvf-0002-could-not-retrieve-local-nodename/