Elasticsearch not starting on Debian 8


(Nirmal Almara) #1

I have installed ES through deb package. and set the right file permissions (elasticsearch:elasticsearch) to the necessary folders including logs.

But when I start it is showing this error.

nirmal@magician:~$ sudo /etc/init.d/elasticsearch status
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled)
   Active: failed (Result: signal) since Fri 2016-12-16 18:06:44 IST; 58s ago
     Docs: http://www.elastic.co
  Process: 29793 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=killed, signal=KILL)
  Process: 29792 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
 Main PID: 29793 (code=killed, signal=KILL)

Dec 16 18:06:31 magician systemd[1]: Started Elasticsearch.
Dec 16 18:06:44 magician systemd[1]: elasticsearch.service: main process ex...LL
Dec 16 18:06:44 magician systemd[1]: Unit elasticsearch.service entered fai...e.
Hint: Some lines were ellipsized, use -l to show in full.

This one is from /var/log/elasticsearch/elasticsearch.log

[2016-12-16T18:06:36,660][INFO ][o.e.n.Node               ] [] initializing ... [2016-12-16T18:06:36,828][INFO ][o.e.e.NodeEnvironment    ] [WjARGyN] using [1] data paths, mounts [[/ (/dev/root)]], net usable_space [19.7gb], net total_space [23.1gb], spins? [possibly], types [ext4]
[2016-12-16T18:06:36,829][INFO ][o.e.e.NodeEnvironment    ] [WjARGyN] heap size [1.9gb], compressed ordinary object pointers [true]
[2016-12-16T18:06:36,857][INFO ][o.e.n.Node               ] node name [WjARGyN] derived from node ID [WjARGyN4T6OkjXMI8KDqOQ]; set [node.name] to override
[2016-12-16T18:06:36,863][INFO ][o.e.n.Node               ] version[5.1.1], pid[29793], build[5395e21/2016-12-06T12:36:15.409Z], OS[Linux/4.8.6-x86_64-linode78/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_111/25.111-b14]
[2016-12-16T18:06:39,524][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded module [aggs-matrix-stats]
[2016-12-16T18:06:39,524][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded module [ingest-common]
[2016-12-16T18:06:39,524][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded module [lang-expression]
[2016-12-16T18:06:39,524][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded module [lang-groovy]
[2016-12-16T18:06:39,525][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded module [lang-mustache]
[2016-12-16T18:06:39,525][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded module [lang-painless]
[2016-12-16T18:06:39,525][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded module [percolator]
[2016-12-16T18:06:39,525][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded module [reindex]
[2016-12-16T18:06:39,525][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded module [transport-netty3]
[2016-12-16T18:06:39,525][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded module [transport-netty4]
[2016-12-16T18:06:39,526][INFO ][o.e.p.PluginsService     ] [WjARGyN] loaded plugin [ingest-attachment]

Could someone tell me what I'm missing? Thanks!


(Mark Walkom) #2

There's nothing else in the ES log?
Can you curl 0:9200/?


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.