Try running without the service/systemd way. I mean, extract the 
*node_exporter.tar* contents and *./node_exporter.*

On Tuesday, June 23, 2020 at 12:01:12 AM UTC+5:30 [email protected] 
wrote:

> Hi,
>
> I am trying to install node_exporter on the server I am getting the below 
> error.
>
> Steps performed: 
> 1. wget 
> https://github.com/prometheus/node_exporter/releases/download/v1.0.0-rc.1/node_exporter-1.0.0-rc.1.linux-amd64.tar.gz
> 2. tar -xzf node_exporter-1.0.0-rc.1.linux-amd64.tar.gz
> 3. vi /etc/systemd/system/node_exporter.service
>
>
> [Unit]
>
> Description=node_exporter
> Wants=network-online.target
> After=network-online.target
>
> [Service]
>
> User=prometheus
> Group=prometheus
> Type=simple
> ExecStart=/home/centos/node_exporter-1.0.0-rc.1.linux-amd64/node_exporter
>
> [Install]
>
> WantedBy=multi-user.target
>
> sudo systemctl daemon-reload
>
> sudo systemctl start node_exporter
>
> sudo systemctl status node_exporter
>
> Error: 
> node_exporter.service - node_exporter
>    Loaded: loaded (/etc/systemd/system/node_exporter.service; disabled; 
> vendor preset: disabled)
>    Active: failed (Result: exit-code) since Mon 2020-06-22 18:09:15 UTC; 
> 3s ago
>   Process: 105663 
> ExecStart=/home/centos/node_exporter-1.0.0-rc.1.linux-amd64/node_exporter 
> (code=exited, status=203/EXEC)
>  Main PID: 105663 (code=exited, status=203/EXEC)
>
> Jun 22 18:09:15 ZU2WEB systemd[1]: Started node_exporter.
> Jun 22 18:09:15 ZU2WEB systemd[1]: node_exporter.service: main process 
> exited, code=exited, status=203/EXEC
> Jun 22 18:09:15 ZU2WEB systemd[1]: Unit node_exporter.service entered 
> failed state.
> Jun 22 18:09:15 ZU2WEB systemd[1]: node_exporter.service failed.
>
>

-- 
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/93de7069-bd51-45e4-88d4-7190d81c87fbn%40googlegroups.com.

Reply via email to