Neo4j无法启动Centos

时间:2014-12-11 08:59:04

标签: java linux neo4j centos

我将在我的Centos服务器上使用JAVA版本1.7.0_60安装neo4j-community-2.1.6。
我跟着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

感谢有人能就如何解决这个问题给我建议。

提前致谢。

1 个答案:

答案 0 :(得分:1)

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

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

yum install bash

作为root用户。