因日志产生多了,或者数据多了,导致硬盘满了,没及时清理。

elasticsearch 在程序连接后,提示无法连接问题。

解决:

1、清理掉多余日志。或文件信息。

2、修改索引,让其能够重新写入。

其中:

索引名称 china_index

用户名密码 ,没有的情况下可以不写  -u elastic:elastic
curl -XPUT -u elastic:elastic -H "Content-Type: application/json" http://192.168.89.10:9200/china_index/_settings -d '{"index.blocks.read_only_allow_delete": null}'

 

相关文章:

  • 2021-09-19
  • 2021-08-04
  • 2021-09-05
  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2021-03-29
  • 2022-01-21
猜你喜欢
  • 2021-09-12
  • 2021-09-25
  • 2021-10-09
  • 2022-02-18
  • 2022-12-23
  • 2021-09-22
  • 2022-01-08
相关资源
相似解决方案