ERROR: Elasticsearch died while starting up, with exit code 78

[2025-01-16T13:30:02,578][ERROR][o.e.b.Elasticsearch ] [elastic-1] node validation exception
[1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch. For more information see [Bootstrap Checks | Elasticsearch Guide [8.15] | Elastic]
bootstrap check failure [1] of [1]: memory locking requested for elasticsearch process but memory is not locked; for more information see [Memory lock check | Elasticsearch Guide [8.15] | Elastic]

Did something changed in your system? It is failing bootstrap checks, this normally prevents the start on the first time you start it, not sure why you are getting this now.

Also, the jvm.options is created during installing, on version 8 I think you should use a jvm.options file inside of /etc/elasticsearch/jvm.options.d.

Try to add this line into your elasticsearch.yml and see if it starts, but something does not seem right.

bootstrap.memory_lock: true
1 Like