小孩来找我,说用xshell连服务器上安装数据库出现下面的问题
[oracle@MemSell database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 9295 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/OraInstall2013-10-12_06
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.(Unknown Source)
at com.jgoodies.looks.plastic.PlasticLookAndFeel.(PlasticLookAnd
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.j
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.j
at oracle.install.commons.base.driver.common.Installer.startup(Installer
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
这个问题我只在本机执行的时候见过,xshell没见过这个错误,查了1个小时,我决定自己查一遍所有的配置,结果一上来我发现小孩把/etc/hosts写成了下面的样子,气死我了,改了就好用了,真不能相信别人。
[root@MemSell ~]# cat /etc/hosts
127.0.0.1 SrCent63x64-MemSell
*.*.*.* SrCent63x64-MemSell
*.*.*.* SrCent63x64-MemSell
[root@MemSell ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
*.*.*.* MemSell
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26972107/viewspace-774259/
,如需转载,请注明出处,否则将追究法律责任。