Node_Exporter не удалось создать шаг execLinux

Ответить
Anonymous
 Node_Exporter не удалось создать шаг exec

Сообщение Anonymous »

Getting Error when attempting to run Node_Exporter service.

I have installed node_exporter on a Linux Focal Fossa 20.04.6 LTS.
Prometheus is also installed and working.

Node_Exporter.Service file is in the /etc/systemd/system

Binaries is /usr/local/bin/node_exporter

systemctl status node_exporter

`Invalid unit name "node_exporter " escaped as "node_exporter\xc2\xa0" (maybe you should use systemd-escape?).
Unit node_exporter\xc2\xa0.service could not be found.`

but I am still getting error when service is started,

journalct- -xe

-- The job identifier is 1434630. Jul 28 11:43:23 ip-10--0-0- audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=node_exporter comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? termina> Jul 28 11:43:23 ip-10--0-0- systemd[302194]: node_exporter.service: Failed to execute command: Permission denied Jul 28 11:43:23 ip-10--0-0- audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=node_exporter comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal> Jul 28 11:43:23 ip-10--0-0- systemd[302194]: node_exporter.service: Failed at step EXEC spawning /usr/local/bin/node_exporter: Permission denied -- Subject: Process /usr/local/bin/node_exporter could not be executed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support --
-- Процесс /usr/local/bin/node_exporter не смог быть выполнен и завершился сбоем.



Подробнее здесь: https://stackoverflow.com/questions/788 ... c-spawning
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Linux»