gpt4 book ai didi

java - Neo4j 无法在 Centos 上启动

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:54:33 25 4
gpt4 key购买 nike

我打算在我的 Centos 服务器上安装 neo4j-community-2.1.6,JAVA 版本为 1.7.0_60。
我关注了this instruction from neo4j

当我尝试启动它时,出现了这个错误:

bin/utils: line 38: syntax error in conditional expression: unexpected token ('
bin/utils: line 38: syntax error near ^([
bin/utils: line 38: if [[ ${line} =~ ^([^#\s][^=]+)=(.+)$ ]]; then
./neo4j: line 60: getconfigquoted: command not found
./neo4j: line 61: getconfigquoted: command not found
./neo4j: line 154: detectos: command not found
./neo4j: line 155: exitonnojava: command not found
./neo4j: line 156: checkstatus: command not found
./neo4j: line 157: checklimits: command not found
./neo4j: line 159: checkjvmcompatibility: command not found
./neo4j: line 141: [: =: unary operator expected
Using additional JVM arguments: -server -XX:+DisableExplicitGC
./neo4j: line 169: [: =: unary operator expected
Starting Neo4j Server..../neo4j: line 186: checkclasspath: command not found
./neo4j: line 187: checkandrepairenv: command not found
process [13449]... waiting for server to be ready. Failed to start within 120 seconds
Neo4j Server may have failed to start, please check the logs.

我查看了日志,我只看到了这个:

bash: : command not found

如果有人可以就如何解决此问题给我建议,我将不胜感激。

提前致谢。

最佳答案

看起来你没有安装 bash shell,这对 CentOS 来说真的很奇怪。

您需要use yum安装 bash,它应该已经存在了。尝试运行:

yum install bash

作为根用户。

关于java - Neo4j 无法在 Centos 上启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27418849/

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