1

我已经安装了 JDK 和弹性搜索 1.4.5。

当我尝试使用“sudo systemctl start elasticsearch.service”启动它时,我遇到了以下错误。

elasticsearch.service - Starts and stops a single elasticsearch instance on this system
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled)
   Active: failed (Result: exit-code) since Thu 2015-09-10 09:51:13 EDT; 8s ago
     Docs: http://www.elasticsearch.org
  Process: 2456 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -d -p /var/run/elasticsearch/elasticsearch.pid -Des.default.config=$CONF_FILE -Des.default.path.home=$ES_HOME -Des.default.path.logs=$LOG_DIR -Des.default.path.data=$DATA_DIR -Des.default.path.work=$WORK_DIR -Des.default.path.conf=$CONF_DIR (code=exited, status=1/FAILURE)

你能帮我解决这个问题吗?

4

0 回答 0