无法启动neo4j服务器2.1.2 [英] Unable to start neo4j server 2.1.2
问题描述
我无法使用Java 7在OSX上启动最新的Neo4j社区服务器2.1.2.下载并解压缩neo4j-community-2.1.2-unix.tar.gz之后,我尝试运行./bin/neo4j start而不修改任何配置或数据目录,但是
I'm unable to start the latest Neo4j community server 2.1.2 on OSX with java 7. After downloading and extracting the neo4j-community-2.1.2-unix.tar.gz I've tried to run ./bin/neo4j start without modifying any configuration or data dir, but it fails with
neo4j-community-2.1.2 markus$ ./bin/neo4j start
Using additional JVM arguments: -server -XX:+DisableExplicitGC - org.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
Starting Neo4j Server...WARNING: not changing user
process [14899]... waiting for server to be ready................................. Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.
data/log/console.log 没有包含太多有用的内容:
The data/log/console.log does not contain much useful:
2014-06-20 06:24:04.865+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
我正在OSX Mavericks 10.9.2上运行Java 7:
I am running java 7 on OSX Mavericks 10.9.2:
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
对出现问题或如何更好地调试问题的任何想法
Any ideas of what is going wrong or how to better debug the problem appreciated
推荐答案
我遇到了同样的问题.
在我的情况下,这是因为 neo4j-shell
试图使用使用的端口 1337
.
In my case it was because neo4j-shell
tried to use the used port 1337
.
只需编辑 conf/neo4j.properties
中的最后一行并将端口更改为其他内容,例如
Just edit the last line in conf/neo4j.properties
and change the port to something else, like
# The port the shell will listen on, default is 1337
remote_shell_port=1338
这篇关于无法启动neo4j服务器2.1.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!