Created
September 2, 2014 16:16
-
-
Save fullbearded/814ee91f09aecae267d7 to your computer and use it in GitHub Desktop.
start go-server error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting Go Server with command: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/bin/java -server -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Duser.language=en -Dorg.mortbay.jetty.Request.maxFormContentSize=30000000 -Djruby.rack.request.size.threshold.bytes=30000000 -Duser.country=US -Dcruise.config.dir=/etc/go -Dcruise.config.file=/etc/go/cruise-config.xml -Dcruise.server.port=8153 -Dcruise.server.ssl.port=8154 -jar /usr/share/go-server/go.jar | |
Starting Go Server in directory: | |
ERROR: Failed to start Go server. Please check the logs. | |
java.lang.RuntimeException: chef-go-server-test: chef-go-server-test: Name or service not known | |
at com.thoughtworks.go.util.ExceptionUtils.bomb(ExceptionUtils.java:36) | |
at com.thoughtworks.go.server.util.GoSslSocketConnector.getHostname(GoSslSocketConnector.java:104) | |
at com.thoughtworks.go.server.util.GoSslSocketConnector.storeX509Certificate(GoSslSocketConnector.java:94) | |
at com.thoughtworks.go.server.util.GoSslSocketConnector.sslConnector(GoSslSocketConnector.java:56) | |
at com.thoughtworks.go.server.GoServer.sslConnector(GoServer.java:147) | |
at com.thoughtworks.go.server.GoServer.configureServer(GoServer.java:108) | |
at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:91) | |
at com.thoughtworks.go.server.GoServer.go(GoServer.java:84) | |
at com.thoughtworks.go.server.util.GoLauncher.main(GoLauncher.java:31) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at com.simontuffs.onejar.Boot.run(Boot.java:306) | |
at com.simontuffs.onejar.Boot.main(Boot.java:159) | |
Caused by: java.net.UnknownHostException: chef-go-server-test: chef-go-server-test: Name or service not known | |
at java.net.InetAddress.getLocalHost(InetAddress.java:1473) | |
at com.thoughtworks.go.server.util.GoSslSocketConnector.getHostname(GoSslSocketConnector.java:102) | |
... 13 more | |
Caused by: java.net.UnknownHostException: chef-go-server-test: Name or service not known | |
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) | |
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901) | |
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293) | |
at java.net.InetAddress.getLocalHost(InetAddress.java:1469) | |
... 14 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved
need configuration for hostname
then restart go server
reference
gocd/gocd#161