Neo4j Fails to start after Install

302 views
Skip to first unread message

Bo Chen

unread,
Jul 30, 2013, 6:15:17 PM7/30/13
to ne...@googlegroups.com
Hi Guys,

I'm a newbie to Neo4j and recently installed it with Homebrew onto my Mac OSX Lion. When I run neo4j start as per the tutorial, I'm getting this error

bchen-mbp:~ bchen$ neo4j start
WARNING! You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
Starting Neo4j Server...WARNING: not changing user
process [24677]... waiting for server to be ready... Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.
bchen-mbp:~ bchen$ neo4j console
WARNING: Max 256 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Starting Neo4j Server console-mode...
7/30/13 3:05:38 PM org.neo4j.server.CommunityBootstrapper WARNING: WARNING! You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
7/30/13 3:05:39 PM org.neo4j.server.AbstractNeoServer INFO: Setting startup timeout to: 120000ms based on -1
7/30/13 3:05:39 PM org.neo4j.server.database.Database INFO: Loaded neo4j tuning properties from conf/neo4j.properties
15:05:39.212 [main] WARN  o.neo4j.kernel.EmbeddedGraphDatabase - WARNING! You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
7/30/13 3:05:39 PM org.neo4j.server.database.Database SEVERE: Failed to start database.
7/30/13 3:05:39 PM org.neo4j.server.CommunityBootstrapper SEVERE: 
java.lang.RuntimeException: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.extension.KernelExtensions@4013fba1' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:281)
at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:106)
at org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:88)
at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:207)
at org.neo4j.server.database.CommunityDatabase.start(CommunityDatabase.java:59)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:163)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:86)
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:49)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.extension.KernelExtensions@4013fba1' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:497)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:104)
at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:259)
... 7 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.shell.impl.ShellServerKernelExtension@23904e0d' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:497)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:104)
at org.neo4j.kernel.extension.KernelExtensions.start(KernelExtensions.java:113)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:491)
... 9 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: 
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:160)
at org.neo4j.shell.impl.RmiLocation.bind(RmiLocation.java:198)
at org.neo4j.shell.impl.RemotelyAvailableServer.makeRemotelyAvailable(RemotelyAvailableServer.java:99)
at org.neo4j.shell.impl.AbstractServer.makeRemotelyAvailable(AbstractServer.java:156)
at org.neo4j.shell.impl.ShellBootstrap.enable(ShellBootstrap.java:122)
at org.neo4j.shell.impl.ShellBootstrap.load(ShellBootstrap.java:112)
at org.neo4j.shell.impl.ShellServerKernelExtension.start(ShellServerKernelExtension.java:47)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:491)
... 12 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:250)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
... 23 more
7/30/13 3:05:39 PM org.neo4j.server.CommunityBootstrapper SEVERE: Failed to start Neo Server on port [7474]

Anybody have any fixes for this?

Thanks for the help!

Peter Neubauer

unread,
Jul 31, 2013, 5:59:30 AM7/31/13
to Neo4j User
Hi there,
for me I have 

➜  neo4j-org git:(master) ✗ brew info neo4j
neo4j: stable community-1.9.2-unix, devel community-2.0.0-M03-unix

➜  neo4j-org git:(master) ✗ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

➜  neo4j-org git:(master) ✗ uname -a
Darwin neo.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64

Make sure you have Java 7 installed?


/peter


Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

Kids in Malmö this summer?        - http://www.kidscraft.se
Neo4j questions? Use GraphGist. - http://gist.neo4j.org


--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages