博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Check if the DISPLAY variable is set. Failed
阅读量:2043 次
发布时间:2019-04-28

本文共 5806 字,大约阅读时间需要 19 分钟。

在家使用无线wifi,虚拟机搭配操作:

 

C:\Users\jyc>ipconfig

Windows IP 配置

以太网适配器 以太网:

   媒体状态  . . . . . . . . . . . . : 媒体已断开连接

   连接特定的 DNS 后缀 . . . . . . . :

以太网适配器 以太网 2:

   媒体状态  . . . . . . . . . . . . : 媒体已断开连接

   连接特定的 DNS 后缀 . . . . . . . :

无线局域网适配器 本地连接* 1:

   媒体状态  . . . . . . . . . . . . : 媒体已断开连接

   连接特定的 DNS 后缀 . . . . . . . :

无线局域网适配器 本地连接* 10:

   媒体状态  . . . . . . . . . . . . : 媒体已断开连接

   连接特定的 DNS 后缀 . . . . . . . :

以太网适配器 VMware Network Adapter VMnet1:

   连接特定的 DNS 后缀 . . . . . . . :

   本地链接 IPv6 地址. . . . . . . . : fe80::8da2:1cb5:4790:bb8a%20
   IPv4 地址 . . . . . . . . . . . . : 192.168.161.1
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . :

以太网适配器 VMware Network Adapter VMnet8:

   连接特定的 DNS 后缀 . . . . . . . :

   本地链接 IPv6 地址. . . . . . . . : fe80::fdd8:8df7:2fc8:fc91%21
   IPv4 地址 . . . . . . . . . . . . : 192.168.52.1
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . :

无线局域网适配器 WLAN:

   连接特定的 DNS 后缀 . . . . . . . :

   本地链接 IPv6 地址. . . . . . . . : fe80::7849:ecc1:6b52:13d1%15
   IPv4 地址 . . . . . . . . . . . . : 192.168.1.6
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : 192.168.1.1

以太网适配器 蓝牙网络连接:

   媒体状态  . . . . . . . . . . . . : 媒体已断开连接

   连接特定的 DNS 后缀 . . . . . . . :

C:\Users\jyc>

 

Connecting to 192.168.52.134:22...

Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Warning: The host key of 192.168.52.134 (port: 22) is not registered.
The authenticity of host '192.168.52.134:22 (192.168.52.134:22)' can't be established.
RSA key fingerprint is 5d:3e:8c:bc:ac:df:89:9b:b8:0f:24:39:51:4c:a3:c3.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.52.134' (RSA) to the list of known hosts.
Username: root
Password: ********

Last login: Wed May 29 22:30:10 2019 from 192.168.52.1

/usr/bin/xauth:  file /root/.Xauthority does not exist
[root@rac1 ~]# xhost +
access control disabled, clients can connect from any host
[root@rac1 ~]# su - grid
-bash-4.1$ cd /soft/grid
-bash: cd: /soft/grid: No such file or directory
-bash-4.1$ cd /soft
-bash-4.1$ ls
lost+found  oracle  patch
-bash-4.1$ cd oracle
-bash-4.1$ ls
grid                                    p13390677_112040_Linux-x86-64_2of7.zip
p13390677_112040_Linux-x86-64_1of7.zip  p13390677_112040_Linux-x86-64_3of7.zip
-bash-4.1$ cd grid/
-bash-4.1$ ls
install  readme.html  response  rpm  runcluvfy.sh  runInstaller  sshsetup  stage  welcome.html
-bash-4.1$ export ORACLE_SID=192.168.1.6:0.0
-bash-4.1$ ./runInstaller 
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 22812 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 3017 MB    Passed
Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] y

>>> Ignoring required pre-requisite failures. Continuing...
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2019-05-29_10-41-21PM. Please wait ...-bash-4.1$ Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at java.awt.Toolkit$2.run(Toolkit.java:821)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)
    at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:249)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:135)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1779)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:453)
    at oracle.install.commons.util.Application.startup(Application.java:785)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:165)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:182)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:348)
    at oracle.install.ivw.crs.driver.CRSInstaller.startup(CRSInstaller.java:98)
    at oracle.install.ivw.crs.driver.CRSInstaller.main(CRSInstaller.java:105)
^C
-bash-4.1$ exit
logout
[root@rac1 ~]# su - grid
-bash-4.1$ cd /soft/oracle/grid
-bash-4.1$ ./runInstaller 
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 22570 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 3012 MB    Passed
Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] n

User Selected: No

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2019-05-29_10-42-24PM/installActions2019-05-29_10-42-24PM.log

-bash-4.1$ 
解决办法:

使用grid或oracle直接登录xshell,然后运行./runInstaller即可出现图形:

Connecting to 192.168.52.134:22...

Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

/usr/bin/xauth:  file /home/grid/.Xauthority does not exist

-bash-4.1$ cd /soft/oracle/grid
-bash-4.1$ ./runInstaller 
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 22570 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 3014 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2019-05-29_10-47-09PM. Please wait ...-bash-4.1$ 
 

 

转载地址:http://masof.baihongyu.com/

你可能感兴趣的文章
GPUImage
查看>>
Android View系统解析(下)
查看>>
Windows7中IIS简单安装与配置(详细图解)
查看>>
linux基本命令
查看>>
BlockQueue 生产消费 不需要判断阻塞唤醒条件
查看>>
ExecutorService 线程池 newFixedThreadPool newSingleThreadExecutor newCachedThreadPool
查看>>
强引用 软引用 弱引用 虚引用
查看>>
java去除字符串中的空格\t、回车\n、换行符\r、制表符\t
查看>>
数据类型 java转换
查看>>
常用的正则表达式
查看>>
"NetworkError: 400 Bad Request - http://172.16.47.117:8088/rhip/**/####t/approval?date=976
查看>>
ie8 加载不到js 报SCRIPT1028: 缺少标识符、字符串或数字 ;SCRIPT5009: “anorectaSearch”未定义
查看>>
mybatis 根据 数据库表 自动生成 实体
查看>>
win10将IE11兼容ie10
查看>>
Kettle WebService组件无法传参问题解决
查看>>
checkbox设置字体颜色
查看>>
统计:分组统计后只加合计,不加小计 group by rollup
查看>>
第一篇 HelloWorld.java重新学起
查看>>
ORACLE表空间扩张
查看>>
oracl 锁表 解锁 杀死进程
查看>>