/$ systemctl status prometheus
● prometheus.service - Prometheus
Loaded: loaded (/etc/systemd/system/prometheus.service; enabled;
vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2022-05-27 14:28:34 IST;
29min ago
Main PID: 5676 (code=exited, status=2)
May 27 14:28:34 vanshika systemd[1]: Started Prometheus.
May 27 14:28:34 vanshika prometheus[5676]: ts=2022-05-27T08:58:34.729Z
caller=main.go:450 level=error msg="Error loading config
(--config.file=/etc/prometheus/prometheus.yml)" file=/etc/prometheus/prome>
May 27 14:28:34 vanshika systemd[1]: prometheus.service: Main process
exited, code=exited, status=2/INVALIDARGUMENT
May 27 14:28:34 vanshika systemd[1]: prometheus.service: Failed with result
'exit-code'.
Can anyone please help why this is happening?
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/bd9bc9a8-0c24-4435-9245-fa1dab2ec258n%40googlegroups.com.