我收到以下错误,我不知道如何重新启动服务器.我尝试了多次,但我一直得到相同的错误.如何停止并重新启动服务器.我真的很感激任何帮助.
./bin/neo4j start
Run Code Online (Sandbox Code Playgroud)
显示:
/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
Run Code Online (Sandbox Code Playgroud)
显示:
Another server-process is running with [ST=ESTABLISHED], cannot start a new one. Exiting.
Run Code Online (Sandbox Code Playgroud)
Chr*_*sen 10
您获得的异常是因为另一台服务器正在运行.
此外,还有另一个例外,您在日志文件夹中没有写访问权限.
如果是,请找到正在运行的数据库的位置:

然后转到该位置并停止数据库,例如基于图像:
cd /Users/cw/_graphs/tests
./bin/neo4j stop
Run Code Online (Sandbox Code Playgroud)
如果它不起作用,请尝试终止该过程:
sudo htop
Run Code Online (Sandbox Code Playgroud)

kill -9 10522
Run Code Online (Sandbox Code Playgroud)
并尝试运行您的新数据库.并确保您拥有商店和日志的正确权限.