linux下安装sybase失败
本帖最后由 hk_ella 于 2009-2-4 17:18 编辑linux系统下安装sybase,到选择配置服务器步骤时失败,log文件内容如下:
1.0/P/Wed May 14 11:57:23 PDT 2003
(Feb 4, 2009 3:43:22 PM), Setup.product.install, com.sybase.ismp.ase.wizardbean.SetupLogWizardAction, sis,
log4j.configuration=internally configured
(Feb 4, 2009 3:46:22 PM), Setup.product.install, com.installshield.wizard.console.ConsoleWizardUI, err, java.lang.NullPointerException
STACK_TRACE: 14
java.lang.NullPointerException
at java.net.InetAddress.cacheAddress(InetAddress.java:667)
at java.net.InetAddress.cacheAddress(InetAddress.java:652)
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1034)
at java.net.InetAddress.getLocalHost(InetAddress.java:1142)
at com.sybase.ismp.ase.wizardbean.ConfigPanel.getHostName(ConfigPanel.java:532)
at com.sybase.ismp.ase.wizardbean.ConfigPanel.initProperties(ConfigPanel.java:154)
at com.sybase.ismp.ase.wizardbean.ConfigASEPanel.initProperties(ConfigASEPanel.java:24)
at com.sybase.ismp.ase.wizardbean.ConfigPanel.queryEnter(ConfigPanel.java:35)
at com.sybase.ismp.ase.wizardbean.ConfigASEPanel.queryEnter(ConfigASEPanel.java:31)
at com.installshield.wizard.console.ConsoleWizardUI.currentBeanChanged(ConsoleWizardUI.java:202)
at com.installshield.wizard.StandardWizardListener.currentBeanChanged(StandardWizardListener.java:100)
at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1564)
(Feb 4, 2009 3:46:22 PM), Setup.product.install, com.installshield.wizard.console.ConsoleWizardUI, err, could not display error message panel -- exiting wizard
然后就退出安装向导
注:linux操作系统版本为REDHAT4.4,sybase版本为12.5.3
还请大虾们多多指教,谢谢! 从Exception stack 上看,是未能获取IP地址,检查一下网络配置 本帖最后由 hk_ella 于 2009-2-6 09:53 编辑
2# flybean
您好,在您的指点下,我查看了我相关的配置文件,发现/etc/hosts文件的配置如下:
127.0.0.1 QTPServer localhost.localdomain localhost
我在该文件中加了如下一句(主机网卡的IP地址为10.10.30.166):
10.10.30.166 QTPServer
再次进行安装操作,安装成功
谢谢!
另我想请问一下:安装sybase的时候,在hosts文件中未找到主机名QTPServer对应的合法Ip地址(127.0.0.1在sybase看来是一个环回地址,不能算是合法的IP地址),所以才导致的安装失败。这样理解对吗?
另外欢迎补充,谢谢!
页:
[1]