# fatal exception while booting Elasticsearch

**URL:** <https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch/353620>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [February 19, 2024, 3:15pm UTC](https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch/353620 "2024-02-19T15:15:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![carrot016](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carrot016/32/131893_2.png) [@carrot016](https://discuss.elastic.co/u/carrot016)\
**Post date:** [February 19, 2024, 3:15pm UTC](https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch/353620/1 "2024-02-19T15:15:24Z")

</div>

elasticsearch-1 | {"[@timestamp](https://github.com/timestamp)":"2024-02-19T12:02:08.108Z", "log.level":"ERROR", "message":"fatal exception while booting Elasticsearch", "ecs.version": "1.2.0","service.name":"ES\_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.bootstrap.Elasticsearch","elasticsearch.node.name":"localhost","elasticsearch.cluster.name":"elasticsearch-localhost","error.type":"org.apache.lucene.store.AlreadyClosedException","error.message":"Underlying file changed by an external force at 2024-02-19T12:02:08.093708886Z, (lock=NativeFSLock(path=/data/elasticsearch/node.lock,impl=sun.nio.ch.FileLockImpl[0:9223372036854775807 exclusive valid],creationTime=2024-02-19T11:28:51.099866109Z))","error.stack\_trace":"org.apache.lucene.store.AlreadyClosedException: Underlying file changed by an external force at 2024-02-19T12:02:08.093708886Z, (lock=NativeFSLock(path=/data/elasticsearch/node.lock,impl=sun.nio.ch.FileLockImpl[0:9223372036854775807 exclusive valid],creationTime=2024-02-19T11:28:51.099866109Z))\n\tat org.apache.lucene.core@9.9.2/org.apache.lucene.store.NativeFSLockFactory$NativeFSLock.ensureValid(NativeFSLockFactory.java:179)\n\tat org.elasticsearch.server@8.12.1/org.elasticsearch.env.NodeEnvironment.assertEnvIsLocked(NodeEnvironment.java:1294)\n\tat org.elasticsearch.server@8.12.1/org.elasticsearch.env.NodeEnvironment.nodeDataPaths(NodeEnvironment.java:1053)\n\tat org.elasticsearch.server@8.12.1/org.elasticsearch.env.NodeEnvironment.assertCanWrite(NodeEnvironment.java:1470)\n\tat org.elasticsearch.server@8.12.1/org.elasticsearch.env.NodeEnvironment.(NodeEnvironment.java:308)\n\tat org.elasticsearch.server@8.12.1/org.elasticsearch.node.NodeConstruction.validateSettings(NodeConstruction.java:484)\n\tat org.elasticsearch.server@8.12.1/org.elasticsearch.node.NodeConstruction.prepareConstruction(NodeConstruction.java:246)\n\tat org.elasticsearch.server@8.12.1/org.elasticsearch.node.Node.(Node.java:181)\n\tat org.elasticsearch.server@8.12.1/org.elasticsearch.bootstrap.Elasticsearch$2.(Elasticsearch.java:236)\n\tat org.elasticsearch.server@8.12.1/org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:236)\n\tat org.elasticsearch.server@8.12.1/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73)\n"}

---

<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:** [March 18, 2024, 3:15pm UTC](https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch/353620/2 "2024-03-18T15:15:55Z")

</div>

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