es启动时报错
来源:7-2 数据可视化组件kibana的安装和在elasticsearch基本的增删改查

慕勒1399825
2020-08-08
Job for elasticsearch.service failed because the control process exited with error code.
See “systemctl status elasticsearch.service” and “journalctl -xe” for details.
用systemctl status elasticsearch.service命令查看到的信息如下:
elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2020-08-08 21:27:51 CST; 23s ago
Docs: https://www.elastic.co
Process: 20959 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (
Main PID: 20959 (code=exited, status=1/FAILURE)
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elastic
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(Env
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Co
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.cli.Command.main(Command.java:90)
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsea
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsea
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: For complete error details, refer to the log at /var/log/elasticsear
8月 08 21:27:51 ubvm systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
8月 08 21:27:51 ubvm systemd[1]: elasticsearch.service: Failed with result ‘exit-code’.
8月 08 21:27:51 ubvm systemd[1]: Failed to start Elasticsearch.
…skipping…
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2020-08-08 21:27:51 CST; 23s ago
Docs: https://www.elastic.co
Process: 20959 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (
Main PID: 20959 (code=exited, status=1/FAILURE)
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elastic
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(Env
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Co
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.cli.Command.main(Command.java:90)
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsea
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsea
8月 08 21:27:51 ubvm systemd-entrypoint[20959]: For complete error details, refer to the log at /var/log/elasticsear
8月 08 21:27:51 ubvm systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
8月 08 21:27:51 ubvm systemd[1]: elasticsearch.service: Failed with result ‘exit-code’.
8月 08 21:27:51 ubvm systemd[1]: Failed to start Elasticsearch
2回答
-
1、参考git仓库中elasticsearch配置
2、查看/var/log/elasticsearh日志,看一下到底是哪里报错
032020-08-30 -
慕勒1399825
提问者
2020-08-16
请老师看一下
00
相似问题