关于grid安装的一些错误

1、This application requires X display

ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

解决方式:oracle安装图形显示依赖X display,需安装xorg-x11-utils包,按以下方式安装后验证。

[root@grid1-dahouzi-cn LINUX.X64_193000_grid_home]# ./gridSetup.sh 
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
/home/grid1/Public/LINUX.X64_193000_grid_home/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

[root@grid1-dahouzi-cn LINUX.X64_193000_grid_home]# sudo yum -y install xorg-x11-utils
CentOS Linux 8 - AppStream                      118 kB/s | 6.3 MB     00:54    
CentOS Linux 8 - BaseOS                         103 kB/s | 2.3 MB     00:22    

Running transaction
  Preparing        :                                                        1/1 
  Verifying        : libdmx-1.1.4-3.el8.x86_64                              2/3 
  Verifying        : xorg-x11-utils-7.5-28.el8.x86_64                       3/3 
Installed products updated.

Installed:
  libXxf86dga-1.1.5-1.el8.x86_64             libdmx-1.1.4-3.el8.x86_64          
  xorg-x11-utils-7.5-28.el8.x86_64          

Complete!
##验证↓
[root@grid1-dahouzi-cn LINUX.X64_193000_grid_home]# xdpyinfo |grep name
name of display:    :0
2、libnsl.so.1: cannot open shared object file

/home/grid1/Public/LINUX.X64_193000_grid_home/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

解决方式:yum install libnsl

[root@grid1-dahouzi-cn LINUX.X64_193000_grid_home]# ./gridSetup.sh 
/home/grid1/Public/LINUX.X64_193000_grid_home/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

[root@grid1-dahouzi-cn LINUX.X64_193000_grid_home]# yum install libnsl
Last metadata expiration check: 0:07:38 ago on Mon 22 Feb 2021 11:53:31 AM PST.
Dependencies resolved.
================================================================================
 Package         Architecture    Version                  Repository       Size
================================================================================
Installing:
 libnsl          x86_64          2.28-127.el8             baseos           99 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 99 k
Running transaction
  Preparing        :                                                        1/1 
  Installing       : libnsl-2.28-127.el8.x86_64                             1/1 
Installed products updated.

Installed:
  libnsl-2.28-127.el8.x86_64                                                    

Complete!
[root@grid1-dahouzi-cn LINUX.X64_193000_grid_home]# ./gridSetup.sh 
ERROR: You must not be logged in as root to run this tool.
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值