Unable to start Neo4j on Windows, no error messages

269 views
Skip to first unread message

Robo

unread,
Jul 31, 2013, 7:47:06 PM7/31/13
to ne...@googlegroups.com
Sorry if this question is more appropriate at StackOverflow, but I'm having trouble getting Neo4j installed, and I'm not getting responses at StackOverflow. I don't know where else to ask, so I'm hoping someone here could help.

I'm using the following on Windows 7:

  • neo4j-community-1.9.2
  • Java 7 Update 25

I have Windows Firewall disabled.

When I start Neo4j.bat, both as Administrator and normally, I get the following message:

c:\Tools\neo4j\bin>Neo4j.bat 
28/07/13 9:34:27 PM org.neo4j.server.AbstractNeoServer INFO: Setting startup tim 
eout to: 120000ms based on -1

A blank Java console window pops up, no messages, then the window disappears after a minute or so.

When I go to http://localhost:7474/, I just get a server not found error.

If I try to install it as a service, the service wouldn't start.

Any ideas what I need to do to start Neo4j? I see here that Neo4j 1.9 does support Java 7:

http://blog.neo4j.org/2013/03/neo4j-19m05-released-wrapping-up.html

base.bat correctly points to windows-service-wrapper-5.jar, so not the windows-service-wrapper-*.jar problem that some people have had in the past. It would be helpful if it outputted an error message.

I tried using the console parameter, and it didn't showed any additional messages.


I just tried it with neo4j 2.0 milestone, and it didn't make any difference. The Java window pops up with no messages, http://localhost:7474/ gets a server not found error, then the Java window closes after a minute or two. i.e. same result as 1.9.

I added JAVA_HOME and JRE_HOME system variables, made no difference. I think I would get an error if Neo4j was not able to locate Java anyway.


Michael Hunger

unread,
Jul 31, 2013, 9:23:26 PM7/31/13
to ne...@googlegroups.com
Can you check data/logs/*.log and data/graph.db/messages.log for error messages?

Thanks a lot

Michael

--
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.
 
 

Robo

unread,
Aug 1, 2013, 5:50:15 AM8/1/13
to ne...@googlegroups.com
Thank you very much. I've fixed it.

The log indicated the following error:

Caused by: java.rmi.server.ExportException: Port already in use: 1337; nested exception is:
    java.net.BindException: Address already in use: JVM_Bind


The port was used by Apache, once I stopped my web server localhost:7474 worked. I then found out port 1337 is used by Neo4j's remote shell, I disabled it by adding enable_remote_shell = false to neo4j.properties, then I was able to have both Neo4j and Apache running.

Thanks for letting me know the location of the logs.

Robo

Peter Neubauer

unread,
Aug 1, 2013, 5:54:27 AM8/1/13
to Neo4j User
Thanks for feeding back!


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
Reply all
Reply to author
Forward
0 new messages