2015-07-21 75 views
2

我得到以下错误,我不知道如何重新启动服务器。我尝试了多次,但我一直得到相同的错误。如何停止并重新启动服务器。非常感谢任何帮助。neo4j服务器没有重新启动或停止

./bin/neo4j start 

显示:

/usr/local/neo4j/data/log/console.log: Permission denied 
process [11825]... waiting for server to be ready.. Failed to start within 120 seconds. 
Neo4j Server may have failed to start, please check the logs. 


sudo ./bin/neo4j start 

显示:

Another server-process is running with [ST=ESTABLISHED], cannot start a new one. Exiting. 

回答

7

你唯一的例外是因为另一台服务器正在运行。

此外,还有一个例外,您没有写入日志文件夹的权限。

  1. 检查http://localhost:7474是否显示neo4j网络浏览器。

如果是的话,查找运行中的数据库的位置:

enter image description here

然后到位置并停止数据库,如基于图像:

cd /Users/cw/_graphs/tests 
./bin/neo4j stop 

如果它不起作用,试图杀死该进程:

sudo htop 

enter image description here

kill -9 10522 

,并尝试运行新的数据库。并确保您拥有商店和日志的正确权限。

+0

谢谢。它的工作 – jason

相关问题