Skip to content

Instantly share code, notes, and snippets.

@jimallman
Created August 14, 2014 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimallman/e79cd8e8ed5b920ea63b to your computer and use it in GitHub Desktop.
Save jimallman/e79cd8e8ed5b920ea63b to your computer and use it in GitHub Desktop.
Failed restart of neo4j-treemachine
$ cd neo4j-treemachine/data/log/
$ tail -f ./console.log ./http.log ./neo4j.0.0.log
Aug 14, 2014 9:40:14 PM org.neo4j.server.logging.Logger log
WARNING: You are using an unsupported Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
==> ./console.log <==
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/opentree/neo4j-treemachine/system/lib/logback-classic-0.9.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/opentree/neo4j-treemachine/plugins/treemachine-neo4j-plugins-0.0.1-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
21:40:14,928 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
21:40:14,929 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
21:40:14,929 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/home/opentree/neo4j-treemachine/system/lib/neo4j-server-1.9.5.jar!/logback.xml]
21:40:14,931 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
21:40:14,931 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/home/opentree/neo4j-treemachine/system/lib/neo4j-server-1.9.5.jar!/logback.xml]
21:40:14,931 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/home/opentree/neo4j-treemachine/plugins/treemachine-neo4j-plugins-0.0.1-SNAPSHOT.jar!/logback.xml]
21:40:14,966 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@a49e885 - URL [jar:file:/home/opentree/neo4j-treemachine/system/lib/neo4j-server-1.9.5.jar!/logback.xml] is not of type file
21:40:15,067 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
21:40:15,075 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
21:40:15,081 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
21:40:15,132 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
21:40:15,161 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
21:40:15,161 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
21:40:15,167 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@7a407909 - Registering current configuration as safe fallback point
2014-08-14 20:40:15.176+0000 DEBUG [API] You are using an unsupported Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
==> ./neo4j.0.0.log <==
Aug 14, 2014 9:40:15 PM org.neo4j.server.logging.Logger log
INFO: Setting startup timeout to: 120000ms based on -1
==> ./console.log <==
2014-08-14 20:40:15.372+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
==> ./neo4j.0.0.log <==
Aug 14, 2014 9:40:15 PM org.neo4j.server.logging.Logger log
SEVERE:
java.lang.IllegalArgumentException
at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:275)
at org.neo4j.kernel.impl.storemigration.CurrentDatabase.storeFilesAtCurrentVersion(CurrentDatabase.java:75)
at org.neo4j.server.preflight.PerformUpgradeIfNecessary.run(PerformUpgradeIfNecessary.java:69)
at org.neo4j.server.preflight.PreFlightTasks.run(PreFlightTasks.java:70)
at org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:276)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:162)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87)
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:50)
==> ./console.log <==
2014-08-14 20:40:15.433+0000 DEBUG [API]
java.lang.IllegalArgumentException: null
at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:275) ~[na:1.7.0_55]
at org.neo4j.kernel.impl.storemigration.CurrentDatabase.storeFilesAtCurrentVersion(CurrentDatabase.java:75) ~[neo4j-kernel-1.9.5.jar:1.9.5]
at org.neo4j.server.preflight.PerformUpgradeIfNecessary.run(PerformUpgradeIfNecessary.java:69) ~[neo4j-server-1.9.5.jar:1.9.5]
at org.neo4j.server.preflight.PreFlightTasks.run(PreFlightTasks.java:70) [neo4j-server-1.9.5.jar:1.9.5]
at org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:276) [neo4j-server-1.9.5.jar:1.9.5]
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:162) [neo4j-server-1.9.5.jar:1.9.5]
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) [neo4j-server-1.9.5.jar:1.9.5]
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:50) [neo4j-server-1.9.5.jar:1.9.5]
==> ./neo4j.0.0.log <==
Aug 14, 2014 9:40:15 PM org.neo4j.server.logging.Logger log
SEVERE: Unable to upgrade database
==> ./console.log <==
2014-08-14 20:40:15.435+0000 DEBUG [API] Unable to upgrade database
==> ./neo4j.0.0.log <==
Aug 14, 2014 9:40:15 PM org.neo4j.server.logging.Logger log
SEVERE:
org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: Startup failed due to preflight task [class org.neo4j.server.preflight.PerformUpgradeIfNecessary]: Unable to upgrade database
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87)
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:50)
Caused by: org.neo4j.server.preflight.PreflightFailedException: Startup failed due to preflight task [class org.neo4j.server.preflight.PerformUpgradeIfNecessary]: Unable to upgrade database
at org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:278)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:162)
... 2 more
==> ./console.log <==
2014-08-14 20:40:15.438+0000 DEBUG [API]
org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: Startup failed due to preflight task [class org.neo4j.server.preflight.PerformUpgradeIfNecessary]: Unable to upgrade database
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:211) ~[neo4j-server-1.9.5.jar:1.9.5]
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) [neo4j-server-1.9.5.jar:1.9.5]
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:50) [neo4j-server-1.9.5.jar:1.9.5]
Caused by: org.neo4j.server.preflight.PreflightFailedException: Startup failed due to preflight task [class org.neo4j.server.preflight.PerformUpgradeIfNecessary]: Unable to upgrade database
at org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:278) ~[neo4j-server-1.9.5.jar:1.9.5]
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:162) ~[neo4j-server-1.9.5.jar:1.9.5]
... 2 common frames omitted
==> ./neo4j.0.0.log <==
Aug 14, 2014 9:40:15 PM org.neo4j.server.logging.Logger log
SEVERE: Failed to start Neo Server on port [7474]
==> ./console.log <==
2014-08-14 20:40:15.441+0000 DEBUG [API] Failed to start Neo Server on port [7474]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment