求教oracle安装问题

benson_xi 2012-02-24 01:22:43
帮忙看下下面的问题是怎么回事呀,是少什么东东吗?
[oracle@localhost database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 80 MB. Actual 1084 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2047 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-02-23_09-23-25PM. Please wait ...[oracle@localhost database]$ Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

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)

...全文
1028 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
宋哥 2012-02-24
  • 打赏
  • 举报
回复
我想原因大概是用root登陆后,图形屏幕已经被root占了,后转的Oracle用户无法使用图形屏幕。
宋哥 2012-02-24
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 iamlaosong 的回复:]
和视窗有关,简单的办法是在图形界面直接用root登录,而不是用其他用户登录再转到root
[/Quote]
我说反了,其实这个问题我碰到过,时间长了,记错的了。
benson_xi 2012-02-24
  • 打赏
  • 举报
回复
有问题可再提哟,我等一会结贴,有价值的都送分。。。。
benson_xi 2012-02-24
  • 打赏
  • 举报
回复
解决了,感谢各位。一开始我是在root账户下su - oracle的,然后运行./runInstaller报上面的错误。之后我直接以oracle账户登入图形界面之后运行./runInstaller可以进入安装界面了。
宋哥 2012-02-24
  • 打赏
  • 举报
回复
检查一下环境变量DISPLAY
宋哥 2012-02-24
  • 打赏
  • 举报
回复
和视窗有关,简单的办法是在图形界面直接用root登录,而不是用其他用户登录再转到root
Abner 2012-02-24
  • 打赏
  • 举报
回复
学习中,研究一下
我心飞翔 2012-02-24
  • 打赏
  • 举报
回复
需要仔细的描述一下,你是在什么操作系统的什么版本上安装哪个版本的Oracle
没_没_没超疯 2012-02-24
  • 打赏
  • 举报
回复
Xwindow开不起来吧

17,377

社区成员

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

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