Skip to content

Instantly share code, notes, and snippets.

View fullbearded's full-sized avatar

Jerry Lewis fullbearded

  • esay digit
  • china
View GitHub Profile
@fullbearded
fullbearded / gist:6496c3a7713acbf583e8
Created September 4, 2014 15:42
error for go-server can't start
==> /var/log/go-server/go-server.log <==
2014-09-04 11:07:06,215 INFO [main] H2Database:85 - Creating datasource with url=jdbc:h2:db/h2db/cruise;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MVCC=FALSE;CACHE_SIZE=131072;TRACE_LEVEL_FILE=1;TRACE_MAX_FILE_SIZE=16;DATABASE_EVENT_LISTENER='com.thoughtworks.cruise.server.util.H2EventListener'
2014-09-04 11:07:06,229 INFO [main] DbDeployMigration:31 - Upgrading database at org.apache.commons.dbcp.BasicDataSource@47e5980f. This might take a while depending on the size of the database.
Reading change scripts from directory /var/lib/go-server/db/deltas...
dbdeploy v2.11
2014-09-04 11:07:06,606 INFO [main] H2EventListener:14 - Initializing database: jdbc:h2:db/h2db/cruise
Creating index SYS:SYS_ID 0%
2014-09-04 11:07:09,007 INFO [main] H2EventListener:66 - Creating index SYS:SYS_ID 0%
Creating index SYS:SYS_ID 0%
2014-09-04 11:07:09,010 INFO [main] H2EventListener:66 - Creating index SYS:SYS_ID 0%
@fullbearded
fullbearded / gist:814ee91f09aecae267d7
Created September 2, 2014 16:16
start go-server error
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(GoSslSocketConn