Managing a Neo4j Database Exercise #7: Install a plugin

(Paul Are) #1

Hi,

I have difficulty with **Exercise #7: Install a plugin

After following exercise steps 1-6 neo4j will not start. I am guessing that plugin does not support neo4j version 3.5.3 ?

Apr 01 15:03:26 neoforjei.sandbox.estpak.ee neo4j[30124]: 2019-04-01 12:03:26.958+0000 INFO  ======== Neo4j 3.5.3 ========
Apr 01 15:03:26 neoforjei.sandbox.estpak.ee neo4j[30124]: 2019-04-01 12:03:26.971+0000 INFO  Starting...
Apr 01 15:03:28 neoforjei.sandbox.estpak.ee neo4j[30124]: 2019-04-01 12:03:28.563+0000 INFO  Initiating metrics...
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]: 2019-04-01 12:03:30.425+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@31e04b13' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details.". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@31e04b13' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details.".
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]: org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@31e04b13' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details.".
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:45)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:184)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:123)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:90)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at com.neo4j.server.enterprise.CommercialEntryPoint.main(CommercialEntryPoint.java:22)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]: Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@31e04b13' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details.".
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:473)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:177)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         ... 3 more
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]: Caused by: java.lang.RuntimeException: Error starting org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory, /usr/local/data/databases
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:216)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at com.neo4j.commercial.edition.CommercialGraphDatabase.<init>(CommercialGraphDatabase.java:20)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at com.neo4j.server.database.CommercialGraphFactory.newGraphDatabase(CommercialGraphFactory.java:40)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:78)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         ... 5 more
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]: Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.proc.Procedures@41b0ae4c' was successfully initialized, but failed to start. Please see the attached cause exception "Some jar procedure files are invalid, see log for details.".
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:473)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.graphdb.facade.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:211)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         ... 9 more
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]: Caused by: java.util.zip.ZipException: Some jar procedure files are invalid, see log for details.
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.kernel.impl.proc.ProcedureJarLoader.loadProceduresFromDir(ProcedureJarLoader.java:76)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.kernel.impl.proc.Procedures.start(Procedures.java:323)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:452)
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]:         ... 11 more
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee neo4j[30124]: 2019-04-01 12:03:30.443+0000 INFO  Neo4j Server shutdown initiated by request
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee systemd[1]: neo4j.service: Main process exited, code=exited, status=1/FAILURE
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee systemd[1]: neo4j.service: Unit entered failed state.
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee systemd[1]: neo4j.service: Failed with result 'exit-code'.
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee systemd[1]: neo4j.service: Service hold-off time over, scheduling restart.
Apr 01 15:03:30 neoforjei.sandbox.estpak.ee systemd[1]: Stopped Neo4j Graph Database.
0 Likes

(Elaine Rosenberg) #2

Looking at the release notes for Spatial, 3.5.2 is the last build so that may be what you are running in to.

For an exercise, can you try to install/use the APOC and Graph Algorithms plugins to get some hands-on experience?

Best regards,
Elaine Rosenberg

0 Likes