Neo4j 3.5.0 fails to start on Linux

noclassdeffounderror

(Maalbre69) #1

2018-11-28T08:44:54.901012+01:00 markus neo4j[2721]: 2018-11-28 07:44:54.900+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3b96c42e' was successfully initialized, but failed to start. Please see the attached cause exception "org.neo4j.kernel.impl.logging.LogService". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3b96c42e' was successfully initialized, but failed to start. Please see the attached cause exception "org.neo4j.kernel.impl.logging.LogService".

2018-11-28T08:44:54.901110+01:00 markus neo4j[2721]: org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3b96c42e' was successfully initialized, but failed to start. Please see the attached cause exception "org.neo4j.kernel.impl.logging.LogService".

2018-11-28T08:44:54.901154+01:00 markus neo4j[2721]: #011at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:45)

2018-11-28T08:44:54.901194+01:00 markus neo4j[2721]: #011at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:184)

2018-11-28T08:44:54.901238+01:00 markus neo4j[2721]: #011at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:122)

2018-11-28T08:44:54.901274+01:00 markus neo4j[2721]: #011at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:90)

2018-11-28T08:44:54.901312+01:00 markus neo4j[2721]: #011at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:32)

2018-11-28T08:44:54.901360+01:00 markus neo4j[2721]: Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@3b96c42e' was successfully initialized, but failed to start. Please see the attached cause exception "org.neo4j.kernel.impl.logging.LogService".

2018-11-28T08:44:54.901406+01:00 markus neo4j[2721]: #011at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:473)

2018-11-28T08:44:54.901445+01:00 markus neo4j[2721]: #011at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)

2018-11-28T08:44:54.901483+01:00 markus neo4j[2721]: #011at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:177)

2018-11-28T08:44:54.901521+01:00 markus neo4j[2721]: #011... 3 more

2018-11-28T08:44:54.901560+01:00 markus neo4j[2721]: Caused by: java.lang.RuntimeException: Error starting org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory, /var/lib/neo4j/data/databases

2018-11-28T08:44:54.901605+01:00 markus neo4j[2721]: #011at org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:208)

2018-11-28T08:44:54.901668+01:00 markus neo4j[2721]: #011at org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:134)

2018-11-28T08:44:54.901713+01:00 markus neo4j[2721]: #011at org.neo4j.server.database.CommunityGraphFactory.newGraphDatabase(CommunityGraphFactory.java:40)

2018-11-28T08:44:54.901757+01:00 markus neo4j[2721]: #011at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:78)

2018-11-28T08:44:54.901798+01:00 markus neo4j[2721]: #011at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)

2018-11-28T08:44:54.901838+01:00 markus neo4j[2721]: #011... 5 more

2018-11-28T08:44:54.901881+01:00 markus neo4j[2721]: Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.extension.GlobalKernelExtensions@60856961' failed to initialize. Please see the attached cause exception "org.neo4j.kernel.impl.logging.LogService".

2018-11-28T08:44:54.901924+01:00 markus neo4j[2721]: #011at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:434)

2018-11-28T08:44:54.901965+01:00 markus neo4j[2721]: #011at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:66)

2018-11-28T08:44:54.902005+01:00 markus neo4j[2721]: #011at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:102)

2018-11-28T08:44:54.902048+01:00 markus neo4j[2721]: #011at org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:203)

2018-11-28T08:44:54.902088+01:00 markus neo4j[2721]: #011... 9 more

2018-11-28T08:44:54.902129+01:00 markus neo4j[2721]: Caused by: java.lang.NoClassDefFoundError: org/neo4j/kernel/impl/logging/LogService

2018-11-28T08:44:54.902169+01:00 markus neo4j[2721]: #011at java.lang.Class.getDeclaredMethods0(Native Method)

2018-11-28T08:44:54.902215+01:00 markus neo4j[2721]: #011at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)

2018-11-28T08:44:54.902256+01:00 markus neo4j[2721]: #011at java.lang.Class.privateGetPublicMethods(Class.java:2902)

2018-11-28T08:44:54.902296+01:00 markus neo4j[2721]: #011at java.lang.Class.getMethods(Class.java:1615)

2018-11-28T08:44:54.902337+01:00 markus neo4j[2721]: #011at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:451)

2018-11-28T08:44:54.902377+01:00 markus neo4j[2721]: #011at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:339)

2018-11-28T08:44:54.902418+01:00 markus neo4j[2721]: #011at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:639)

2018-11-28T08:44:54.902462+01:00 markus neo4j[2721]: #011at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)

2018-11-28T08:44:54.902505+01:00 markus neo4j[2721]: #011at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)

2018-11-28T08:44:54.902546+01:00 markus neo4j[2721]: #011at java.lang.reflect.WeakCache.get(WeakCache.java:127)

2018-11-28T08:44:54.902587+01:00 markus neo4j[2721]: #011at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)

2018-11-28T08:44:54.902628+01:00 markus neo4j[2721]: #011at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)

2018-11-28T08:44:54.902671+01:00 markus neo4j[2721]: #011at org.neo4j.kernel.impl.util.DependenciesProxy.dependencies(DependenciesProxy.java:55)

2018-11-28T08:44:54.902713+01:00 markus neo4j[2721]: #011at org.neo4j.kernel.extension.AbstractKernelExtensions.getKernelExtensionDependencies(AbstractKernelExtensions.java:111)

2018-11-28T08:44:54.902765+01:00 markus neo4j[2721]: #011at org.neo4j.kernel.extension.AbstractKernelExtensions.init(AbstractKernelExtensions.java:59)

2018-11-28T08:44:54.902807+01:00 markus neo4j[2721]: #011at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:413)

2018-11-28T08:44:54.902847+01:00 markus neo4j[2721]: #011... 12 more

2018-11-28T08:44:54.902888+01:00 markus neo4j[2721]: Caused by: java.lang.ClassNotFoundException: org.neo4j.kernel.impl.logging.LogService

2018-11-28T08:44:54.902934+01:00 markus neo4j[2721]: #011at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

2018-11-28T08:44:54.902974+01:00 markus neo4j[2721]: #011at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

2018-11-28T08:44:54.903016+01:00 markus neo4j[2721]: #011at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)

2018-11-28T08:44:54.903057+01:00 markus neo4j[2721]: #011at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

2018-11-28T08:44:54.903097+01:00 markus neo4j[2721]: #011... 28 more

2018-11-28T08:44:54.903138+01:00 markus neo4j[2721]: 2018-11-28 07:44:54.901+0000 INFO Neo4j Server shutdown initiated by request


(Michael Hunger) #2

Do you have any plugins installed?
Can you share your full debug.log?
Probably best to raise this as a GH issue at github.com/neo4j/neo4j/issues.


(Maalbre69) #3

Done: https://github.com/neo4j/neo4j/issues/12095


(Dana Canzano) #4

this may be due to a invalid APOC version in $NEO4J_HOME/plugins. What version are you running?

Are you using 3.5.0.1 as detailed at https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/tag/3.5.0.1