小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

Oracle安裝報Display錯誤

 instl 2019-04-13

問題:

Oracle安裝時,運行./runInstaller 不能彈出安裝界面,報Display類錯誤

 

解決方法:

 

[root@ddba02 ~]# vncserver

-bash: vncserver: command not found

 

 

[root@ddba02 ~]# rpm -qc tigervnc-server

package tigervnc-server is not installed

[root@ddba02 ~]# yum install tigervnc-server

Loaded plugins: security

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package tigervnc-server.i686 0:1.1.0

 

[root@ddba02 ~]#  rpm -qc tigervnc-server

/etc/sysconfig/vncservers

[root@ddba02 ~]# chkconfig --level 35 vncserver on

[root@ddba02 ~]#  vncserver

 

You will require a password to access your desktops.

 

Password:123321

Verify:

xauth:  creating new authority file /root/.Xauthority

 

New 'ddba02:1 (root)' desktop is ddba02:1

 

Creating default startup script /root/.vnc/xstartup

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/ddba02:1.log

 

 

[root@ddba02 ~]# vncserver

 

New 'ddba02:2 (root)' desktop is ddba02:2

 

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/ddba02:2.log

 

[root@ddba02 ~]# export DISPLAY=localhost:1

 

 

[root@ddba02 ~]#  xhost +

-bash: xhost: command not found
[root@localhost ~]# yum -y install xorg-x11-server-utils
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Setting up Install Process
No package xorg-x11-server-utils-7.7-2.el6.x86_64 available.
Error: Nothing to do
[root@localhost ~]# yum -y install xorg-x11-server-utils
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-server-utils.x86_64 0:7.7-14.el6 will be installed
--> Processing Dependency: mcpp for package: xorg-x11-server-utils-7.7-14.el6.x86_64
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-server-utils-7.7-14.el6.x86_64
--> Running transaction check
---> Package libXxf86misc.x86_64 0:1.0.3-4.el6 will be installed
---> Package mcpp.x86_64 0:2.7.2-4.1.el6 will be installed
--> Processing Dependency: libmcpp.so.0()(64bit) for package: mcpp-2.7.2-4.1.el6.x86_64
--> Running transaction check
---> Package libmcpp.x86_64 0:2.7.2-4.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================
Installing:
xorg-x11-server-utils x86_64 7.7-14.el6 base 156 k
Installing for dependencies:
libXxf86misc x86_64 1.0.3-4.el6 base 18 k
libmcpp x86_64 2.7.2-4.1.el6 base 69 k
mcpp x86_64 2.7.2-4.1.el6 base 23 k

Transaction Summary
===============================================================================================================================================================================================
Install 4 Package(s)

Total download size: 266 k
Installed size: 573 k
Downloading Packages:
http://mirrors.aliyun.com/centos/6.10/os/x86_64/Packages/libXxf86misc-1.0.3-4.el6.x86_64.rpm: [Errno 12] Timeout on http://mirrors.aliyun.com/centos/6.10/os/x86_64/Packages/libXxf86misc-1.0.3-4.el6.x86_64.rpm: (28, 'connect() timed out!')
Trying other mirror.
(1/4): libXxf86misc-1.0.3-4.el6.x86_64.rpm | 18 kB 00:00
(2/4): libmcpp-2.7.2-4.1.el6.x86_64.rpm | 69 kB 00:00
(3/4): mcpp-2.7.2-4.1.el6.x86_64.rpm | 23 kB 00:00
(4/4): xorg-x11-server-utils-7.7-14.el6.x86_64.rpm | 156 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 5.1 kB/s | 266 kB 00:51
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libXxf86misc-1.0.3-4.el6.x86_64 1/4
Installing : libmcpp-2.7.2-4.1.el6.x86_64 2/4
Installing : mcpp-2.7.2-4.1.el6.x86_64 3/4
Installing : xorg-x11-server-utils-7.7-14.el6.x86_64 4/4
Verifying : xorg-x11-server-utils-7.7-14.el6.x86_64 1/4
Verifying : libmcpp-2.7.2-4.1.el6.x86_64 2/4
Verifying : libXxf86misc-1.0.3-4.el6.x86_64 3/4
Verifying : mcpp-2.7.2-4.1.el6.x86_64 4/4

Installed:
xorg-x11-server-utils.x86_64 0:7.7-14.el6

Dependency Installed:
libXxf86misc.x86_64 0:1.0.3-4.el6 libmcpp.x86_64 0:2.7.2-4.1.el6 mcpp.x86_64 0:2.7.2-4.1.el6

Complete!
[root@localhost ~]# xhost +
access control disabled, clients can connect from any host

然后再切換到oracle用戶,執(zhí)行export DISPLAY=:0.0

export DISPLAY=:1

注意:這塊是0.0還是1.0查看xmanage的隧道中就可以看到

================================================

如果執(zhí)行./runInstaller還是報錯為

Could not execute auto check for display colors using command /usr/bin/xdpyinfo <<failed

.....

安裝xdpyinfo

yum install xdpyinfo 

安裝完成以后執(zhí)行./runInstaller就可以在Xshell下顯示出安裝頁面了.
=====================================================

 

出現(xiàn)亂碼執(zhí)行export LANG=US_en

b、若打開oracle安裝界面出現(xiàn)亂碼,在安裝之前輸入:export LC_CTYPE=en_US.UTF-8后在安裝

然后再進行安裝,將系統(tǒng)注銷,切換oracle用戶登錄(并不是su - oracle)

進入database文件夾中,cd /opt/oracle/database (具體看上傳的路徑)

進行安裝,輸入 ./runInstaller 彈出安裝界面

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多