我使用的是jdk1.6.0_23安装CSVN和我得到以下Java错误:的java.net.UnknownHostException
2011-02-10 16:25:50,951 [WrapperJarAppMain] WARN util.GrailsUtil - [WARNING] Property [ldapServerPort] of domain class com.collabnet.svnedge.console.Server has type [int] and doesn't support constraint [nullable]. This constraint will not be checked during validation.
2011-02-10 16:25:51,117 [WrapperJarAppMain] ERROR ehcache.Cache - Unable to set localhost. This prevents creation of a GUID. Cause was: vkqgae01: vkqgae01
java.net.UnknownHostException: vkqgae01: vkqgae01
at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
at net.sf.ehcache.Cache.<clinit>(Cache.java:143)
我的服务器有3个网卡了(eth0,eth1的和ETH2)。我已经添加到主机入口文件波纹管本地主机包含以下内容: 127.0.0.1 vkqgae01
我能成功地坪vkqgae01,但NSLOOKUP无法解决它。
任何想法?
大概NSLOOKUP是不承认vkqgae01,因为resolv.conf文件指向真实的DNS服务器和查询它这个名字..也许是这个问题.. – Serhiy 2011-02-11 17:54:55