Checking monitor:must be configured to display at least 256 colors

前几天在solaris中安装 oracle 10g时出现如下错误:

Checking monitor:must be configured to display at least 256 colors  
Failed <<<< >>>Could not execute auto check for display colors using command    
  /usr/openwin/bin/xdpyinfo. Checks if the DISPLAY variable is set. 

这其实是一个很简单的问题,但当初不知道怎么回事,居然被它折腾了半天,看来岁月不饶人呀:)

看这个错误提示,应该是display变量没设置,但我分明是已经设定了呀,而且也在root用户下执行过xhost +。

接着又尝试将oraparam.ini中的参数MIN_DISPLAY_COLORS=256去掉,然后执行安装,但虽然跳过了这个检查,却在下一步报错:

java.lang internalerror can not connect to x11 server

后来再检查display设置,发现display的IP是solaris的IP,而不是我客户端的IP,因为我是用Xmanager连过去安装的。

于是将IP修改成我电脑的IP:

$DISPLAY=172.18.8.155:1.0;export DISPLAY

再次运行安装程序,果然安装界面出来了!

晕,看来再简单的问题也疏忽不得呀

  

1 Comment so far

Leave a comment

Name(required)
Mail (will not be published)(required)
Website

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
URLs must be fully qualified (eg: http://www.dbifan.com),and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.

    搜索本站

    站点日历

    12月 2008
    « 11   1 »
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  

    订阅本站

    文章分类

    最新日志

    热点文章

    日志存档

    常用标签