【发布时间】:2014-12-12 01:34:14
【问题描述】:
我将在我的 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
如果有人可以就如何解决这个问题给我建议。
提前致谢。
【问题讨论】: