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

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

程序员文章站 2022-05-29 23:23:03
...

在安装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 fo

在安装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:无法检索本地节点名

解决办法:

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