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
- 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
- Log in to Manager and restart the faulty instance.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot