elasticsearch启动提示elasticsearch.service: main process exited, code=exited, status=64/n/a
Elasticsearch | 作者 xbjccb | 发布于2018年10月29日 | 阅读数:10591
elasticsearch启动提示elasticsearch.service: main process exited, code=exited, status=64/n/a
[root@TEST ~]# systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 一 2018-10-29 15:00:52 CST; 12min ago
Docs: http://www.elastic.co
Process: 1874 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid # --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=exited, status=64)
Process: 1872 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 1874 (code=exited, status=64)
10月 29 15:00:52 TEST elasticsearch[1874]: -d, --daemonize Starts Elasticsearch in the background
10月 29 15:00:52 TEST elasticsearch[1874]: -h, --help show help
10月 29 15:00:52 TEST elasticsearch[1874]: -p, --pidfile <Path> Creates a pid file in the specified path on start
10月 29 15:00:52 TEST elasticsearch[1874]: -q, --quiet Turns off standard ouput/error streams logging in console
10月 29 15:00:52 TEST elasticsearch[1874]: -s, --silent show minimal output
10月 29 15:00:52 TEST elasticsearch[1874]: -v, --verbose show verbose output
10月 29 15:00:52 TEST elasticsearch[1874]: ERROR: Positional arguments not allowed, found [#]
10月 29 15:00:52 TEST systemd[1]: elasticsearch.service: main process exited, code=exited, status=64/n/a
10月 29 15:00:52 TEST systemd[1]: Unit elasticsearch.service entered failed state.
10月 29 15:00:52 TEST systemd[1]: elasticsearch.service failed.
[root@TEST ~]# systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 一 2018-10-29 15:00:52 CST; 12min ago
Docs: http://www.elastic.co
Process: 1874 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid # --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=exited, status=64)
Process: 1872 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 1874 (code=exited, status=64)
10月 29 15:00:52 TEST elasticsearch[1874]: -d, --daemonize Starts Elasticsearch in the background
10月 29 15:00:52 TEST elasticsearch[1874]: -h, --help show help
10月 29 15:00:52 TEST elasticsearch[1874]: -p, --pidfile <Path> Creates a pid file in the specified path on start
10月 29 15:00:52 TEST elasticsearch[1874]: -q, --quiet Turns off standard ouput/error streams logging in console
10月 29 15:00:52 TEST elasticsearch[1874]: -s, --silent show minimal output
10月 29 15:00:52 TEST elasticsearch[1874]: -v, --verbose show verbose output
10月 29 15:00:52 TEST elasticsearch[1874]: ERROR: Positional arguments not allowed, found [#]
10月 29 15:00:52 TEST systemd[1]: elasticsearch.service: main process exited, code=exited, status=64/n/a
10月 29 15:00:52 TEST systemd[1]: Unit elasticsearch.service entered failed state.
10月 29 15:00:52 TEST systemd[1]: elasticsearch.service failed.
1 个回复
xbjccb
赞同来自: