ORACLE安装时的问题

问题描述:数据库安装过程中,xshell无法弹出xmanager

Starting Oracle Universal Installer...


Checking Temp space: must be greater than 120 MB.   Actual 38393 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 3871 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/OraInstall2016-11-14_09-34-31AM/installActions2016-11-14_09-34-31AM.log

解决方法:

第一种原因是通过root用户使用xshell登录后再切换到oracle时无法打开图形化界面。

今天遇到的问题是使用oracle用户后,在弹出的Monitor Selector里选择了物理显示器(1、通用即插即用监视器),没有弹出图形话界面,之后就不会在弹出选择显示器界面。

通过搜索得到的,先设置DISPLAY参数(未验证是否必须)。

命令xhost +,会重新弹出选择显示器界面,选择Virtual Screen

再次运行./runInstaller,还会弹出选择显示器界面,选择Virtual Screen

[oracle@localhost database]$ export DISPLAY=(自己的IP):0.0
[oracle@localhost database]$ export DISPLAY
[oracle@localhost database]$ echo $DISPLAY
10.1.252.4:0.0
[oracle@localhost database]$ xhost +
access control disabled, clients can connect from any host


扫描二维码关注公众号,回复: 3528800 查看本文章

Soft Limit:maximum user processes 

excepted value 2047 actual value 1024

运行脚本后没解决,/etc/security/limits.conf查看已经设置为2047

猜你喜欢

转载自blog.csdn.net/freedomxu/article/details/53155949