急!急!急!急!linux下安装oracle 11g(64位的),开始就报错。附有执行步骤。。

chenwenkui522 2012-03-25 09:09:44
执行步骤:
[root@localhost /]# xhost +
[root@localhost /]# su - oracle
[oracle@localhost ~]$ export DISPLAY=192.168.1.110:0.0
[oracle@localhost ~]$ export LANG=C
[oracle@localhost ~]$ /opt/database/runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB. Actual 29082 MB Passed
Checking swap space: must be greater than 150 MB. Actual 18127 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/OraInstall2012-03-25_09-04-47PM. Please wait ...[oracle@localhost ~]$ 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(Unknown Source)
at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
at oracle.install.commons.util.Application.startup(Application.java:758)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)

...全文
460 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
love1347378748 2013-05-16
  • 打赏
  • 举报
回复
同样的问题 怎么解决
chenwenkui522 2012-03-27
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 zw1215 的回复:]
最简单的方法不要用root用户登录后切换到oracle用户执行安装!
直接用oracle用户登录./runInstaller
[/Quote]

直接用oracle登录也不行,还是提示同样的错误。
chenwenkui522 2012-03-27
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 mailking 的回复:]
>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<


可能是这个的错误,检查你的export DISPLAY=192.168.1.110:0.0 是否正确
[/Quote]

这个就是我远程访问时的机器的IP地址。肯定正确
我是睡 2012-03-26
  • 打赏
  • 举报
回复
最简单的方法不要用root用户登录后切换到oracle用户执行安装!
直接用oracle用户登录./runInstaller
mailking 2012-03-25
  • 打赏
  • 举报
回复
>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<


可能是这个的错误,检查你的export DISPLAY=192.168.1.110:0.0 是否正确

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧