# Fatal exception while booting Elasticsearch

**URL:** <https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch/364033>\
**Category:** Elasticsearch\
**Created:** [July 30, 2024, 8:30am UTC](https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch/364033 "2024-07-30T08:30:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsagent](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dsagent](https://discuss.elastic.co/u/dsagent)\
**Post date:** [July 30, 2024, 8:30am UTC](https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch/364033/1 "2024-07-30T08:30:15Z")

</div>

Hello  
I want to run elasticsearch shows me the following error  
[error][o.e.b.Elasticsearch] [nodename] fatal exception while booting Elasticsearch java.lang.illegalStateExcption: failed to obtain node locks,tride[/media/............/elasticsearch]; maybe these locations are not writable or multiple nodes were started on the same data path?

For your information, the folder in which the cursors are located in a storage disk other than the disk in which elasticsearch is located

---

<div class="post-metadata">

**Author:** ![Kathleen\_DeRusso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kathleen_derusso/32/132039_2.png) [@Kathleen\_DeRusso](https://discuss.elastic.co/u/Kathleen_DeRusso)\
**Post date:** [August 2, 2024, 8:08pm UTC](https://discuss.elastic.co/t/fatal-exception-while-booting-elasticsearch/364033/2 "2024-08-02T20:08:58Z")

</div>

A couple things to check:

- Make sure the storage disk is properly mounted and accessible, and the user running Elasticsearch has access to that disk
- Make sure there is only one instance running (`ps aux | grep elasticsearch`) and stop the extra instances if there are multiple indices running
- Make sure your data directory is correctly configured in `elasticsearch.yml`
- Check the Elasticsearch logs to see if there is additional information
