# Elasticsearch will not start

**URL:** <https://discuss.elastic.co/t/elasticsearch-will-not-start/253039>\
**Category:** Elasticsearch\
**Created:** [October 22, 2020, 4:00pm UTC](https://discuss.elastic.co/t/elasticsearch-will-not-start/253039 "2020-10-22T16:00:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgibson\_27](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@rgibson\_27](https://discuss.elastic.co/u/rgibson_27)\
**Post date:** [October 22, 2020, 4:00pm UTC](https://discuss.elastic.co/t/elasticsearch-will-not-start/253039/1 "2020-10-22T16:00:08Z")

</div>

I am having an issue with Elasticsearch starting on Ubuntu 20.04 while trying to start the service doing the following:

systemctl restart elasticsearch  
Job for elasticsearch.service failed because a fatal signal was delivered to the control process.  
See "systemctl status elasticsearch.service" and "journalctl -xe" for details.

Here is a copy of my YML file:

# 

#node.attr.rack: r1

# 

# ----------------------------------- Paths ------------------------------------

# 

# Path to directory where to store the data (separate multiple locations by comma):

# 

path.data: /var/lib/elasticsearch

# 

# Path to log files:

# 

path.logs: /var/log/elasticsearch

# 

# ----------------------------------- Memory -----------------------------------

# 

# Lock the memory on startup:

# 

#bootstrap.memory\_lock: true

# 

# Make sure that the heap size is set to about half the memory available

# on the system and that the owner of the process is allowed to use this

# limit.

# 

# Elasticsearch performs poorly when the system is swapping the memory.

# 

# ---------------------------------- Network -----------------------------------

# 

# Set the bind address to a specific IP (IPv4 or IPv6):

# 

network.host: localhost

# 

# Set a custom port for HTTP:

# 

#http.port: 9200

Here a copy of the Journalctl:  
root@Ubuntu-ELK:/etc/elasticsearch# journalctl -u elasticse arch.service  
-- Logs begin at Wed 2020-10-21 14:14:06 UTC, end at Thu 2\>  
Oct 21 14:38:56 Ubuntu-ELK systemd[1]: Starting Elasticsea\>  
Oct 21 14:39:23 Ubuntu-ELK systemd[1]: Started Elasticsear\>  
Oct 21 14:57:45 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 21 14:57:45 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
-- Reboot --  
Oct 21 15:47:44 Ubuntu-ELK systemd[1]: Starting Elasticsea\>  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: Failed to start Ela\>  
Oct 21 20:04:59 Ubuntu-ELK systemd[1]: Starting Elasticsea\>  
Oct 21 20:05:25 Ubuntu-ELK systemd[1]: Started Elasticsear\>  
Oct 21 20:06:00 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 21 20:06:00 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 21 20:13:28 Ubuntu-ELK systemd[1]: Starting Elasticsea\>  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: Stopped Elasticsear\>  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: Starting Elasticsea\>  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: ERROR\>  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: [1]: \>  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: ERROR\>  
Oct 21 20:24:56 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 21 20:24:56 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 21 20:24:56 Ubuntu-ELK systemd[1]: Failed to start Ela\>  
Oct 21 20:39:10 Ubuntu-ELK systemd[1]: Starting Elasticsea\>  
Oct 21 20:46:45 Ubuntu-ELK systemd[1]: Started Elasticsear\>  
Oct 21 20:49:02 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 21 20:49:02 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 22 13:39:16 Ubuntu-ELK systemd[1]: Starting Elasticsea\>  
Oct 22 13:39:19 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 22 13:39:19 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 22 13:39:19 Ubuntu-ELK systemd[1]: Failed to start Ela\>  
Oct 22 14:42:37 Ubuntu-ELK systemd[1]: Starting Elasticsea\>  
Oct 22 14:42:40 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 22 14:42:40 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 22 14:42:40 Ubuntu-ELK systemd[1]: Failed to start Ela\>  
Oct 22 15:07:56 Ubuntu-ELK systemd[1]: Starting Elasticsea\>  
Oct 22 15:07:59 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 22 15:07:59 Ubuntu-ELK systemd[1]: elasticsearch.servi\>  
Oct 22 15:07:59 Ubuntu-ELK systemd[1]: Failed to start Ela\>  
lines 1-40...skipping...  
-- Logs begin at Wed 2020-10-21 14:14:06 UTC, end at Thu 2020-10-22 15:52:31 UTC. --  
Oct 21 14:38:56 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 14:39:23 Ubuntu-ELK systemd[1]: Started Elasticsearch.  
Oct 21 14:57:45 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 14:57:45 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
-- Reboot --  
Oct 21 15:47:44 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 21 20:04:59 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:05:25 Ubuntu-ELK systemd[1]: Started Elasticsearch.  
Oct 21 20:06:00 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 20:06:00 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 21 20:13:28 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: elasticsearch.service: Succeeded.  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: Stopped Elasticsearch.  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: ERROR: [1] bootstrap checks failed  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed\_hos\>  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: ERROR: Elasticsearch did not exit normally - check the logs at /var/log/elasticsearch/elasticsearch.log  
Oct 21 20:24:56 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=exited, status=78/CONFIG  
Oct 21 20:24:56 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'exit-code'.  
Oct 21 20:24:56 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 21 20:39:10 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:46:45 Ubuntu-ELK systemd[1]: Started Elasticsearch.  
Oct 21 20:49:02 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 20:49:02 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 22 13:39:16 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 22 13:39:19 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 22 13:39:19 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 22 13:39:19 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 22 14:42:37 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 22 14:42:40 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 22 14:42:40 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 22 14:42:40 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 22 15:07:56 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 22 15:07:59 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 22 15:07:59 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 22 15:07:59 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 22 15:08:40 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 22 15:08:44 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
ESCOD  
-- Logs begin at Wed 2020-10-21 14:14:06 UTC, end at Thu 2020-10-22 15:52:31 UTC. --  
Oct 21 14:38:56 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 14:39:23 Ubuntu-ELK systemd[1]: Started Elasticsearch.  
Oct 21 14:57:45 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 14:57:45 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
-- Reboot --  
Oct 21 15:47:44 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 21 20:04:59 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:05:25 Ubuntu-ELK systemd[1]: Started Elasticsearch.  
Oct 21 20:06:00 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 20:06:00 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 21 20:13:28 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: elasticsearch.service: Succeeded.  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: Stopped Elasticsearch.  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: ERROR: [1] bootstrap checks failed  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed\_hos\>  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: ERROR: Elasticsearch did not exit normally - check the logs at /var/log/elasticsearch/elasticsearch.log  
Oct 21 20:24:56 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=exited, status=78/CONFIG  
Oct 21 20:24:56 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'exit-code'.  
Oct 21 20:24:56 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 21 20:39:10 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:46:45 Ubuntu-ELK systemd[1]: Started Elasticsearch.  
Oct 21 20:49:02 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 20:49:02 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 22 13:39:16 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 22 13:39:19 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 22 13:39:19 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 22 13:39:19 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 22 14:42:37 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 22 14:42:40 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 22 14:42:40 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 22 14:42:40 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 22 15:07:56 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 22 15:07:59 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 22 15:07:59 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 22 15:07:59 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 22 15:08:40 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 22 15:08:44 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
ESCOD  
-- Logs begin at Wed 2020-10-21 14:14:06 UTC, end at Thu 2020-10-22 15:52:31 UTC. --  
Oct 21 14:38:56 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 14:39:23 Ubuntu-ELK systemd[1]: Started Elasticsearch.  
Oct 21 14:57:45 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 14:57:45 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
-- Reboot --  
Oct 21 15:47:44 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 21 15:47:54 Ubuntu-ELK systemd[1]: Failed to start Elasticsearch.  
Oct 21 20:04:59 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:05:25 Ubuntu-ELK systemd[1]: Started Elasticsearch.  
Oct 21 20:06:00 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL  
Oct 21 20:06:00 Ubuntu-ELK systemd[1]: elasticsearch.service: Failed with result 'signal'.  
Oct 21 20:13:28 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: elasticsearch.service: Succeeded.  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: Stopped Elasticsearch.  
Oct 21 20:20:54 Ubuntu-ELK systemd[1]: Starting Elasticsearch...  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: ERROR: [1] bootstrap checks failed  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed\_hos\>  
Oct 21 20:24:30 Ubuntu-ELK systemd-entrypoint[5809]: ERROR: Elasticsearch did not exit normally - check the logs at /var/log/elasticsearch/elasticsearch.log  
Oct 21 20:24:56 Ubuntu-ELK systemd[1]: elasticsearch.service: Main process exited, code=exited, status=78/CONFIG

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 19, 2020, 4:00pm UTC](https://discuss.elastic.co/t/elasticsearch-will-not-start/253039/2 "2020-11-19T16:00:10Z")

</div>

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