每当我尝试在本地机器上使用启动neo4j服务器时
sudo service neo4j-service start
起初我得到的错误是这样的:
Using additional JVM arguments: -server -XX:+DisableExplicitGC
-Dorg.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 [19953]... waiting for server to be ready... Failed to start within
120 seconds.
Neo4j Server may have failed to start, please check the logs.
但是,当我评论neo4j-wrapper.conf文件中的所有字段时,错误减少到:
Using additional JVM arguments: -server -XX:+DisableExplicitGC
Starting Neo4j Server...WARNING: not changing user
process [20409]... waiting for server to be ready.. Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.
有人知道我该怎么做吗?附言:我是neo4j 2.1.3我尝试了所有可能的解决方案,但都不起作用。
我不确定,但你能试试下面的吗?
将端口号从1337更改为不同的端口号,如neo4j.properties文件Inside conf文件夹中的1339。
remote_shell_port=1339