自学内容网 自学内容网

ERROR: Failed to set password for user [apm_system].

Unexpected response code [503] from calling PUT http://172.19.0.1:9200/_security/user/apm_system/_password?pretty
Cause: Cluster state has not been recovered yet, cannot write to the [null] index

Possible next steps:
* Try running this tool again.
* Try running with the --verbose parameter for additional messages.
* Check the elasticsearch logs for additional error details.
* Use the change password API manually. 


ERROR: Failed to set password for user [apm_system].

这个错误信息表明在尝试为`apm_system`用户设置密码时,Elasticsearch集群的状态尚未完全恢复,导致无法写入索引。以下是解决这个问题的步骤:

### 1. 检查集群状态

首先,检查Elasticsearch集群的状态,确保集群已经完全启动并正常运行。

```bash
curl -X GET "http://172.


原文地址:https://blog.csdn.net/SPESEG/article/details/142785058

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!