oracle安装调用图形化失败

报错现象:
[grid@19c01 grid]$ ./gridSetup.sh
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

No X11 DISPLAY variable was set, but this program performed an operation which requires it.

解决方法:
[root@19c01 ~]# yum -y install xorg-x11-apps
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-apps.x86_64 0:7.7-7.el7 will be installed
--> Processing Dependency: libXaw.so.7()(64bit) for package: xorg-x11-apps-7.7-7.el7.x86_64
--> Running transaction check
---> Package libXaw.x86_64 0:1.0.13-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================================
 Package                                    Arch                                Version                                   Repository                         Size
==================================================================================================================================================================
Installing:
 xorg-x11-apps                              x86_64                              7.7-7.el7                                 cen7                              307 k
Installing for dependencies:
 libXaw                                     x86_64                              1.0.13-4.el7                              cen7                              192 k

Transaction Summary
==================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 499 k
Installed size: 1.2 M
Downloading packages:
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                             2.5 MB/s | 499 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libXaw-1.0.13-4.el7.x86_64                                                                                                                     1/2
  Installing : xorg-x11-apps-7.7-7.el7.x86_64                                                                                                                 2/2
  Verifying  : libXaw-1.0.13-4.el7.x86_64                                                                                                                     1/2
  Verifying  : xorg-x11-apps-7.7-7.el7.x86_64                                                                                                                 2/2

Installed:
  xorg-x11-apps.x86_64 0:7.7-7.el7

Dependency Installed:
  libXaw.x86_64 0:1.0.13-4.el7

Complete!

[root@19c01 ~]# su - grid
Last login: Thu Aug 18 17:41:12 CST 2022 on pts/0
[grid@19c01 ~]$
[grid@19c01 ~]$
[grid@19c01 ~]$ export DISPLAY=192.168.162.2:0.0
[grid@19c01 ~]$
[grid@19c01 ~]$
[grid@19c01 ~]$ cd $ORACLE_HOME
[grid@19c01 grid]$
[grid@19c01 grid]$ ./gridSetup.sh
Launching Oracle Grid Infrastructure Setup Wizard...

  

 

posted @ 2022-08-18 09:55  orcl  阅读(3600)  评论(0编辑  收藏  举报