0

/etc/elasticsearch have deleted by me accidentally.Now, when I run the command(sudo systemctl start elasticsearch ) to enable service of elasticsearch than the following error show.

Job for elasticsearch.service failed because the control process exited with error code.

and by getting configuration of elasticsearch to run command(sudo nano /etc/elasticsearch/elasticsearch.yml ) the following error generate.

Directory '/etc/elasticsearch' does not exist

kindly help me.
your help is really appreciate for me!

1 Answer 1

0

Just reinstall Elasticsearch and it will re-create the missing files and directory for you.

1
  • I will reinstall it several time but it doesn't make dir etc/ Mar 3, 2022 at 5:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.