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 

PRVF-0002 : 无法检索本地节点名_第1张图片


解决办法:

修改/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/




你可能感兴趣的:(PRVF-0002 : 无法检索本地节点名)