我使用的是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