Help Center/ MapReduce Service/ Component Operation Guide (LTS) (Ankara Region)/ Using Elasticsearch/ Common Issues About Elasticsearch/ What Can I Do If Elasticsearch Instance Fault Occurs Due to Insufficient Directory Permission?
Updated on 2024-11-29 GMT+08:00

What Can I Do If Elasticsearch Instance Fault Occurs Due to Insufficient Directory Permission?

Symptom

The alarm indicating that the Elasticsearch process is faulty is displayed on Manager.

Cause Analysis

The user wants to check the error information "Unable to access path.data /srv/BigData/elasticsearch/esmaster" in the elasticsearch_cluster.log log file on the faulty Elasticsearch instance. However, the user does not have the permission on the directory of log file.

Solution

  1. Go to the corresponding directory. It is found that the directory can only be accessed by user root. Run the following command to change the permission on the directory to omm:wheel:

    chown -R omm:wheel elasticsearch

  2. Log in to Manager and restart the faulty instance.