# Elasticsearch not starting on Cuckoo

**URL:** <https://discuss.elastic.co/t/elasticsearch-not-starting-on-cuckoo/284392>\
**Category:** Elasticsearch\
**Created:** [September 16, 2021, 12:13pm UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-on-cuckoo/284392 "2021-09-16T12:13:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brendon04](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@brendon04](https://discuss.elastic.co/u/brendon04)\
**Post date:** [September 16, 2021, 12:13pm UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-on-cuckoo/284392/1 "2021-09-16T12:13:19Z")

</div>

Running elasticsearch on Cuckoo Sandbox.

After the installation elastic search not able to start.

curl -X GET '[http://localhost:9200](http://localhost:9200)' returns with connection refused.

Firewall is already off.

This are the errors appearing from Elastic search status:

```auto
Sht 09 17:19:24 cuckoo systemd[1]: Starting Elasticsearch...
Sht 09 17:20:39 cuckoo systemd[1]: elasticsearch.service: start operation timed out. Terminating.
Sht 09 17:20:40 cuckoo systemd[1]: elasticsearch.service: Failed with result 'timeout'.
Sht 09 17:20:40 cuckoo systemd[1]: Failed to start Elasticsearch.
Sht 13 15:06:01 cuckoo systemd[1]: Starting Elasticsearch...
Sht 13 15:07:05 cuckoo systemd-entrypoint[24123]: uncaught exception in thread [main]
Sht 13 15:07:05 cuckoo systemd-entrypoint[24123]: java.lang.IllegalStateException: failed to obtain node locks, tried [[/var/lib/elasticsear>
Sht 13 15:07:05 cuckoo systemd-entrypoint[24123]: Likely root cause: java.nio.file.AccessDeniedException: /var/lib/elasticsearch/nodes/0/nod>
Sht 13 15:07:05 cuckoo systemd-entrypoint[24123]: at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
Sht 13 15:07:05 cuckoo systemd-entrypoint[24123]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
Sht 13 15:07:05 cuckoo systemd-entrypoint[24123]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
Sht 13 15:07:05 cuckoo systemd-entrypoint[24123]: at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvid>

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 17, 2021, 12:57am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-on-cuckoo/284392/2 "2021-09-17T00:57:31Z")

</div>

Welcome to our community! 😃

What's Cuckoo?

> [@brendon04](#):
>
> `failed to obtain node locks`

That would suggest you have more than one node on the host.

---

<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:** [October 15, 2021, 12:57am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-on-cuckoo/284392/3 "2021-10-15T00:57:38Z")

</div>

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