Create a gist now

Instantly share code, notes, and snippets.

Embed
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%
2014-09-04 11:07:09,598 INFO [main] H2EventListener:18 - Database is opened
2014-09-04 11:07:09,611 INFO [main] H2EventListener:14 - Initializing database: jdbc:h2:db/h2db/cruise
Changes currently applied to database:
1..90, 221001, 230001..230009, 240001, 240002, 300001..300011, 1202001..1202003, 1203002..1203005, 1301001, 1302001, 1303001
Scripts available:
1..90, 221001, 230001..230009, 240001, 240002, 300001..300011, 1202001..1202003, 1203002..1203005, 1301001, 1302001, 1303001
To be applied:
(none)
2014-09-04 11:07:09,691 INFO [main] H2EventListener:14 - Initializing database: jdbc:h2:db/h2db/cruise
2014-09-04 11:07:09,709 INFO [main] DbDeployMigration:46 - Database upgraded
2014-09-04 11:07:09,714 INFO [main] H2EventListener:61 - Closing database
2014-09-04 11:07:09,770 INFO [main] H2Database:85 - Creating datasource with url=jdbc:h2:db/h2db/cruise;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;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:12,490 INFO [main] H2EventListener:14 - Initializing database: jdbc:h2:db/h2db/cruise
Creating index SYS:SYS_ID 0%
2014-09-04 11:07:12,572 INFO [main] H2EventListener:66 - Creating index SYS:SYS_ID 0%
Creating index SYS:SYS_ID 0%
2014-09-04 11:07:12,577 INFO [main] H2EventListener:66 - Creating index SYS:SYS_ID 0%
2014-09-04 11:07:12,717 INFO [main] H2EventListener:18 - Database is opened
2014-09-04 11:07:12,772 INFO [main] H2EventListener:14 - Initializing database: jdbc:h2:db/h2db/cruise
2014-09-04 11:07:12,984 WARN [main] ConfigurationFactory:134 - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/ehcache-core-2.0.0.jar!/ehcache-failsafe.xml
2014-09-04 11:07:13,125 WARN [main] CacheManager:566 - Creating a new instance of CacheManager using the diskStorePath "/tmp" which is already used by an existing CacheManager.
The source of the configuration was net.sf.ehcache.config.generator.ConfigurationSource$DefaultConfigurationSource@1e55e106.
The diskStore path for this CacheManager will be set to /tmp/ehcache_auto_created_1409843233125.
To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
2014-09-04 11:07:13,198 WARN [main] EhCacheProvider:93 - Could not find configuration [com.thoughtworks.cruise.config.EnvironmentVariableConfig]; using defaults.
2014-09-04 11:07:13,366 WARN [main] EhCacheProvider:93 - Could not find configuration [com.thoughtworks.cruise.domain.NotificationFilter]; using defaults.
2014-09-04 11:07:13,584 WARN [main] EhCacheProvider:93 - Could not find configuration [com.thoughtworks.cruise.domain.User]; using defaults.
2014-09-04 11:07:13,679 WARN [main] EhCacheProvider:93 - Could not find configuration [com.thoughtworks.cruise.domain.User.notificationFilters]; using defaults.
2014-09-04 11:07:13,880 WARN [main] EhCacheProvider:93 - Could not find configuration [org.hibernate.cache.UpdateTimestampsCache]; using defaults.
2014-09-04 11:07:13,892 WARN [main] EhCacheProvider:93 - Could not find configuration [org.hibernate.cache.StandardQueryCache]; using defaults.
2014-09-04 11:07:15,431 INFO [main] ServerVersion:53 - [Startup] Go Version: 13.2.1(17578-4df6740d3ce075)
2014-09-04 11:07:15,448 INFO [main] ServerVersion:54 - [Startup] PID: 11812
2014-09-04 11:07:15,453 INFO [main] ServerVersion:55 - [Startup] JVM properties: {jruby.rack.request.size.threshold.bytes=30000000, java.runtime.name=OpenJDK Runtime Environment, java.protocol.handler.pkgs=com.simontuffs, sun.boot.library.path=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/amd64, java.vm.version=24.65-b04, java.vm.vendor=Oracle Corporation, java.vendor.url=http://java.oracle.com/, path.separator=:, java.vm.name=OpenJDK 64-Bit Server VM, file.encoding.pkg=sun.io, sun.java.launcher=SUN_STANDARD, user.country=US, sun.os.patch.level=unknown, java.vm.specification.name=Java Virtual Machine Specification, user.dir=/var/lib/go-server, java.runtime.version=1.7.0_65-mockbuild_2014_07_16_06_06-b00, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, java.endorsed.dirs=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/endorsed, os.arch=amd64, java.io.tmpdir=/tmp, line.separator=
, java.vm.specification.vendor=Oracle Corporation, os.name=Linux, cruise.config.dir=/etc/go, sun.jnu.encoding=UTF-8, java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib, java.specification.name=Java Platform API Specification, java.class.version=51.0, jetty.home=/var/lib/go-server, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, os.version=2.6.32-431.1.2.0.1.el6.x86_64, cruise.server.port=8153, user.home=/var/go, user.timezone=America/New_York, org.mortbay.jetty.Request.maxFormContentSize=30000000, java.awt.printerjob=sun.print.PSPrinterJob, file.encoding=UTF-8, java.specification.version=1.7, java.class.path=/usr/share/go-server/go.jar, user.name=go, cruise.config.file=/etc/go/cruise-config.xml, java.vm.specification.version=1.7, sun.java.command=/usr/share/go-server/go.jar, java.home=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre, sun.arch.data.model=64, user.language=en, java.specification.vendor=Oracle Corporation, awt.toolkit=sun.awt.X11.XToolkit, java.vm.info=mixed mode, java.version=1.7.0_65, java.ext.dirs=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/ext:/usr/java/packages/lib/ext, sun.boot.class.path=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/classes, java.vendor=Oracle Corporation, file.separator=/, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, cruise.server.ssl.port=8154, rails.use.compressed.js=true, sun.cpu.isalist=}
2014-09-04 11:07:15,463 INFO [main] ServerVersion:56 - [Startup] Environment Variables: {TERM=xterm, OLDPWD=/var/go, SHELL=/bin/bash, HISTSIZE=1000, JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre, SHLVL=2, SERVER_WORK_DIR=/var/lib/go-server, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/var/go/bin, MAIL=/var/spool/mail/go, USER=go, HOSTNAME=chef-go-server-test, PWD=/var/lib/go-server, GO_SERVER_PORT=8153, HISTCONTROL=ignoredups, HOME=/var/go, LOGNAME=go, LESSOPEN=|/usr/bin/lesspipe.sh %s, G_BROKEN_FILENAMES=1, _=/usr/bin/nohup, GO_SERVER_SSL_PORT=8154, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, LANG=en_US.UTF-8}
2014-09-04 11:07:16,194 INFO [main] MagicalCruiseConfigXmlWriter:81 - [Serializing Config] Generating config partial.
2014-09-04 11:07:16,228 INFO [main] CruiseConfigDataSource:103 - Config file changed at 1409843236000
2014-09-04 11:07:16,231 INFO [main] CruiseConfigDataSource:104 - Reloading config file: /etc/go/cruise-config.xml
2014-09-04 11:07:16,730 INFO [main] MagicalCruiseConfigXmlWriter:81 - [Serializing Config] Generating config partial.
2014-09-04 11:07:16,928 INFO [main] CachedCruiseConfig:93 - About to notify config listeners
2014-09-04 11:07:16,933 INFO [main] CachedCruiseConfig:95 - Finished notifying all listeners
2014-09-04 11:07:18,123 INFO [main] CruiseLicenseService:74 - [Configuration Changed] New licence loaded.
@huhongda

This comment has been minimized.

Show comment
Hide comment
@huhongda

huhongda Sep 5, 2014

Solved: because of low memory, start go server at least 1 G memory!

Owner

huhongda commented Sep 5, 2014

Solved: because of low memory, start go server at least 1 G memory!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment