Hi All,
I tried to install prometheus on my linux machine. I followed one page.
but it shows failure when i run "systemctl status prometheus"
error are as follows:
● prometheus.service - Prometheus
Loaded: loaded (/etc/systemd/system/prometheus.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-09-26 16:26:29 UTC; 1min 58s ago
Process: 2748737 ExecStart=/usr/local/bin/prometheus --config.file /etc/prometheus/prometheus.yml --storage.tsdb.path >
Main PID: 2748737 (code=exited, status=1/FAILURE)
Sep 26 16:26:29 ubuntu2004 prometheus[2748737]: level=info ts=2022-09-26T16:26:29.392Z caller=head.go:642 component=tsdb m>
Sep 26 16:26:29 ubuntu2004 prometheus[2748737]: level=info ts=2022-09-26T16:26:29.392Z caller=head.go:656 component=tsdb m>
Sep 26 16:26:29 ubuntu2004 prometheus[2748737]: level=info ts=2022-09-26T16:26:29.392Z caller=head.go:662 component=tsdb m>
Sep 26 16:26:29 ubuntu2004 prometheus[2748737]: level=info ts=2022-09-26T16:26:29.393Z caller=head.go:714 component=tsdb m>
Sep 26 16:26:29 ubuntu2004 prometheus[2748737]: level=info ts=2022-09-26T16:26:29.393Z caller=head.go:719 component=tsdb m>
Sep 26 16:26:29 ubuntu2004 prometheus[2748737]: level=info ts=2022-09-26T16:26:29.395Z caller=main.go:732 fs_type=EXT4_SUP>
Sep 26 16:26:29 ubuntu2004 prometheus[2748737]: level=info ts=2022-09-26T16:26:29.395Z caller=main.go:735 msg="TSDB starte>
Sep 26 16:26:29 ubuntu2004 prometheus[2748737]: level=error ts=2022-09-26T16:26:29.395Z caller=main.go:798 err="error star>
Sep 26 16:26:29 ubuntu2004 systemd[1]: prometheus.service: Main process exited, code=exited, status=1/FAILURE
Sep 26 16:26:29 ubuntu2004 systemd[1]: prometheus.service: Failed with result 'exit-code'.
Deepak Rohilla
Computer Engineering Department
NIT Kurukshetra