KzzzDev / memo-re

未来創造展
5 stars 6 forks source link

Prometheus:VM-AI01にNginx系統のexporterが動かない。 #258

Open reone19 opened 1 year ago

reone19 commented 1 year ago

203Errorなので、パーミッション系のError

(base) th458-user@HAL-TH22-GP41-TH458-VM-AI01:/usr/local/src$ sudo systemctl status prometheus-nginxlog-exporter.service
● prometheus-nginxlog-exporter.service - NGINX metrics exporter for Prometheus
     Loaded: loaded (/etc/systemd/system/prometheus-nginxlog-exporter.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2023-01-27 00:55:51 JST; 53s ago
    Process: 38313 ExecStart=/usr/local/bin/prometheus-nginxlog-exporter -config-file /etc/prometheus-nginxlog-exporter.hcl (code=exited, status=203/EXEC)
   Main PID: 38313 (code=exited, status=203/EXEC)

Jan 27 00:55:51 HAL-TH22-GP41-TH458-VM-AI01 systemd[1]: prometheus-nginxlog-exporter.service: Scheduled restart job, restart counter is at 5.
Jan 27 00:55:51 HAL-TH22-GP41-TH458-VM-AI01 systemd[1]: Stopped NGINX metrics exporter for Prometheus.
Jan 27 00:55:51 HAL-TH22-GP41-TH458-VM-AI01 systemd[1]: prometheus-nginxlog-exporter.service: Start request repeated too quickly.
Jan 27 00:55:51 HAL-TH22-GP41-TH458-VM-AI01 systemd[1]: prometheus-nginxlog-exporter.service: Failed with result 'exit-code'.
Jan 27 00:55:51 HAL-TH22-GP41-TH458-VM-AI01 systemd[1]: Failed to start NGINX metrics exporter for Prometheus.