The Linux Community Forum

The Forums => General Discussion => Topic started by: foufou-barnet on May 03, 2021, 02:13:44 pm

Title: Ubuntu Prometheus issue
Post by: foufou-barnet on May 03, 2021, 02:13:44 pm
Hey guys, i am new to ubuntu and wonder if someone can help me, i have installed prometheus and node_exporter and keep getting the following message when starting node_exporter

node_exporter.service - Prometheus
     Loaded: loaded (/etc/systemd/system/node_exporter.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2021-05-03 21:02:40 CST; 10min ago
    Process: 1825 ExecStart=/usr/local/bin/prometheus --config.file /etc/prometheus/prometheus.yml --storage.tsdb.path /var/lib/prometheus/ --web.c>
   Main PID: 1825 (code=exited, status=203/EXEC)

May 03 21:02:40 Foudel-168353976252 systemd[1]: Started Prometheus.
May 03 21:02:40 Foudel-168353976252 systemd[1825]: node_exporter.service: Failed to execute command: Permission denied
May 03 21:02:40 Foudel-168353976252 systemd[1825]: node_exporter.service: Failed at step EXEC spawning /usr/local/bin/prometheus: Permission denied
May 03 21:02:40 Foudel-168353976252 systemd[1]: node_exporter.service: Main process exited, code=exited, status=203/EXEC
May 03 21:02:40 Foudel-168353976252 systemd[1]: node_exporter.service: Failed with result 'exit-code'.

can someone please help
SimplePortal 2.3.3 © 2008-2010, SimplePortal