환경
OS - Rocky Linux release 8.9 (Green Obsidian)
kibana - kibana-8.12.2-1.x86_64
위와같은 상황에서 elasticsearch와 연결하는 도중 에러 발생
로그내용은
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2024-02-28T08:48:09.577+00:00","message":"Kibana process does not have enough permissions to write to config file","log":{"level":"ERROR","logger":"plugins.interactiveSetup.routes"},"process":{"pid":29237,"uptime":60.970777975},"trace":{"id":"c2f013435d6810ae4b7cfdeadc8c6fd6"},"transaction":{"id":"3e1f6a38fb56ed87"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2024-02-28T08:48:18.739+00:00","message":"Kibana process does not have enough permissions to write to config file","log":{"level":"ERROR","logger":"plugins.interactiveSetup.routes"},"process":{"pid":29237,"uptime":70.132319032},"trace":{"id":"3aa48afa00f06c777e68311c854c52a6"},"transaction":{"id":"104089caae85a603"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2024-02-28T08:48:19.327+00:00","message":"Kibana process does not have enough permissions to write to config file","log":{"level":"ERROR","logger":"plugins.interactiveSetup.routes"},"process":{"pid":29237,"uptime":70.720541749},"trace":{"id":"7a7548fd1cfe2fc3f0d0e690e6d883dc"},"transaction":{"id":"e78ad012b27c3c2f"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2024-02-28T08:48:19.629+00:00","message":"Kibana process does not have enough permissions to write to config file","log":{"level":"ERROR","logger":"plugins.interactiveSetup.routes"},"process":{"pid":29237,"uptime":71.02260384},"trace":{"id":"ee46755b3c4959901acf0f6b4b8179ae"},"transaction":{"id":"e65e6dbc90c5e347"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2024-02-28T08:48:19.907+00:00","message":"Kibana process does not have enough permissions to write to config file","log":{"level":"ERROR","logger":"plugins.interactiveSetup.routes"},"process":{"pid":29237,"uptime":71.300754019},"trace":{"id":"0c8513402e0b01feae4b0b6335b8563b"},"transaction":{"id":"5b2d82a3c8fc2a4f"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2024-02-28T08:48:33.170+00:00","message":"Kibana process does not have enough permissions to write to config file","log":{"level":"ERROR","logger":"plugins.interactiveSetup.routes"},"process":{"pid":29237,"uptime":84.564077047},"trace":{"id":"284274fb43c2608dfd8e438c509f2c1b"},"transaction":{"id":"88cea3d662778f46"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2024-02-28T08:48:33.662+00:00","message":"Kibana process does not have enough permissions to write to config file","log":{"level":"ERROR","logger":"plugins.interactiveSetup.routes"},"process":{"pid":29237,"uptime":85.055452613},"trace":{"id":"646c534e0c4ed7ec0cd5a123ddcb09be"},"transaction":{"id":"6ef01386d0d8a833"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2024-02-28T08:49:03.656+00:00","message":"Kibana process does not have enough permissions to write to config file","log":{"level":"ERROR","logger":"plugins.interactiveSetup.routes"},"process":{"pid":29237,"uptime":115.049593532},"trace":{"id":"dc3f965b099c0ebf60cdadb8550b0804"},"transaction":{"id":"199049e01f7fb4d0"}}
파일에 대한 권한이 없어서 그러는 것임.
kibana.yml 파일 권한을 664로 수정
kibana 재시작 이후 다시 진행
이후 성공적으로 진행.
'AWS > EC2' 카테고리의 다른 글
ELK(Elasticsearch + Logstash + Kibana + Filebeat)로그 모니터링 - 2 (0) | 2024.03.25 |
---|---|
ELK(Elasticsearch + Logstash + Kibana + Filebeat)로그 모니터링 - 1 (0) | 2024.03.22 |
ERROR: Failed to determine the health of the cluster. Unexpected http status [503], with exit code 65 (0) | 2024.02.21 |
EC2 키 페어 관리 (0) | 2024.02.01 |
aws 서버 생성 단계 (0) | 2021.11.23 |