[英]Unable to start neo4j server 2.1.2
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 我无法使用Java 7在OSX上启动最新的Neo4j社区服务器2.1.2。下载并解压缩neo4j-community-2.1.2-unix.tar.gz后,我尝试运行./bin/neo4j start而不修改任何配置或数据目录,但失败
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.
The data/log/console.log does not contain much useful: data / log / console.log没有太多有用的信息:
2014-06-20 06:24:04.865+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
I am running java 7 on OSX Mavericks 10.9.2: 我在OSX Mavericks 10.9.2上运行Java 7:
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 任何关于出问题或如何更好地调试问题的想法都值得赞赏
I got the same problem. 我遇到了同样的问题。
In my case it was because neo4j-shell
tried to use the used port 1337
. 在我的情况下,这是因为neo4j-shell
尝试使用已使用的端口1337
。
Just edit the last line in conf/neo4j.properties
and change the port to something else, like 只需编辑conf/neo4j.properties
的最后一行并将端口更改为其他内容即可,例如
# The port the shell will listen on, default is 1337
remote_shell_port=1338
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.