我无法使用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.
Run Code Online (Sandbox Code Playgroud)
data/log/console.log不包含太多用处:
2014-06-20 06:24:04.865+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
Run Code Online (Sandbox Code Playgroud)
我在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)
Run Code Online (Sandbox Code Playgroud)
对于出了什么问题或如何更好地调试问题的任何想法都表示赞赏
小智 5
我遇到了同样的问题.
在我的情况下,这是因为neo4j-shell
尝试使用使用过的端口1337
.
只需编辑最后一行conf/neo4j.properties
并将端口更改为其他内容,例如
# The port the shell will listen on, default is 1337
remote_shell_port=1338
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2243 次 |
最近记录: |