Elasticsearch service fail after deleting /var/lib/elasticsearch

you must recreate the path with elasticsearch user permission.

mkdir -p /var/lib/elasticsearch
chown -R elasticsearch:elasticsearch /var/lib/elasticsearch

if you have permission problem again try:

chmod -R 755 /var/lib/elasticsearch

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top