Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
neo4j服务器未重新启动或停止_Neo4j - Fatal编程技术网

neo4j服务器未重新启动或停止

neo4j服务器未重新启动或停止,neo4j,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 h

我遇到以下错误,我不知道如何重新启动服务器。我尝试了多次,但每次都出现相同的错误。如何停止并重新启动服务器。我非常感谢您的帮助

./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.
显示:

/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.

出现的异常是因为另一台服务器正在运行

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

  • 检查是否正在显示neo4j web浏览器
  • 如果是,请找到正在运行的数据库的位置:

    然后转到该位置并停止db,例如根据图像:

    cd /Users/cw/_graphs/tests
    ./bin/neo4j stop
    
    如果它不起作用,请尝试终止进程:

    sudo htop
    

    并尝试运行新数据库。并确保您对存储和日志具有正确的权限