gpt4 book ai didi

linux - Neo4j 服务器在 Linux 上运行问题

转载 作者:太空宇宙 更新时间:2023-11-04 09:37:55 25 4
gpt4 key购买 nike

我通过将 Neo4j 2.0.3 社区服务器安装在我的 Linux 系统上(通过解压缩 tar.gz)来使用它。我在尝试启动服务器时遇到此错误

WARNING! You are using an unsupported Java runtime.

process [50690]... waiting for server to be ready.neo4j-community-2.0.3/bin/neo4j: line 147: lsof : command not found

.neo4j-community-2.0.3/bin/neo4j: line 147: lsof : command not found

.neo4j-community-2.0.3/bin/neo4j: line 147: lsof : command not found

. Failed to start within 120 seconds.

Neo4j Server may have failed to start, please check the logs.

我为此检查了解决方案,并了解到必须将 /usr/sbin 添加到路径中。这样做并重新启动服务器时,我收到以下消息

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

但是,当我运行命令 neo4j staus 时,它说

Neo4j Server is not running

任何人都可以帮助我如何开始使用它吗?

最佳答案

这已经很晚了,但可能会对其他人有所帮助。如果它告诉您这一点,并且您使用例如 ps aux | 检查该进程 ID grep 40903,而且不是neo4j,问题可能是端口被占用了。

默认情况下,neo4j 使用 7474,但可以在 neo4j 文件夹 /conf/neo4j-server.properties 上更改它,这是我的问题,我已将端口设置为“22”用过的。因此,请确保将其设置为开放且可用的端口。

希望这对您有所帮助。

关于linux - Neo4j 服务器在 Linux 上运行问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24549566/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com