kaihendry/pingprom

sudo systemctl status: FAILED

MahekPavagadhi opened this issue · 1 comments

I am running into following error while trying to follow youtube video and readme

ubuntu@ip-:~$ cd /etc/systemd/system ubuntu@ip-:/etc/systemd/system$ for i in ~/pingprom/*service; do echo sudo ln $i; done sudo ln /home/ubuntu/pingprom/alertmanager.service sudo ln /home/ubuntu/pingprom/blackbox-exporter.service sudo ln /home/ubuntu/pingprom/prometheus.service ubuntu@ip-:/etc/systemd/system$ sudo ln /home/ubuntu/pingprom/alertmanager.service ln: failed to create hard link './alertmanager.service': File exists ubuntu@ip-:/etc/systemd/system$ sudo ln /home/ubuntu/pingprom/blackbox-exporter.service ln: failed to create hard link './blackbox-exporter.service': File exists ubuntu@ip-:/etc/systemd/system$ sudo ln /home/ubuntu/pingprom/prometheus.service

ubuntu@ip-:~$ sudo systemctl status alertmanager@ubuntu blackbox-exporter@ubuntu prometheus@ubuntu
alertmanager@ubuntu.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

blackbox-exporter@ubuntu.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

 prometheus@ubuntu.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)


/etc/systemd/system$ sudo systemctl status alertmanager.service blackbox-exporter.service prometheus.service
 alertmanager.service - Alert Manager
   Loaded: loaded (/etc/systemd/system/alertmanager.service; disabled; vendor preset: enabled)
   Active: failed (Result: resources)

Apr 27 07:37:22 ip- systemd[1]: Failed to start Alert Manager.
Apr 27 07:37:22 ip- systemd[1]: alertmanager.service: Failed with result 'resources'.
Apr 27 07:50:15 ip- systemd[1]: alertmanager.service: Failed to load environment files: No such
Apr 27 07:50:15 ip- systemd[1]: alertmanager.service: Failed to run 'start-pre' task: No such f
Apr 27 07:50:15 ip- systemd[1]: Failed to start Alert Manager.
Apr 27 07:50:15 ip- systemd[1]: alertmanager.service: Failed with result 'resources'.
Apr 27 07:51:36 ip- systemd[1]: alertmanager.service: Failed to load environment files: No such
Apr 27 07:51:36 ip- systemd[1]: alertmanager.service: Failed to run 'start-pre' task: No such f
Apr 27 07:51:36 ip- systemd[1]: Failed to start Alert Manager.
Apr 27 07:51:36 ip- systemd[1]: alertmanager.service: Failed with result 'resources'.

blackbox-exporter.service - Blackbox prober
   Loaded: loaded (/etc/systemd/system/blackbox-exporter.service; disabled; vendor preset: enabled)
   Active: failed (Result: resources)

@kaihendry

Sorry, I have no time to support you.