Elasticsearch not starting on Cuckoo

Running elasticsearch on Cuckoo Sandbox.

After the installation elastic search not able to start.

curl -X GET 'http://localhost:9200' returns with connection refused.

Firewall is already off.

This are the errors appearing from Elastic search status:

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>

Welcome to our community! :smiley:

What's Cuckoo?

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

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