Answer the question
In order to leave comments, you need to log in
Why doesn't zabbix-agent start?
-- Начат процесс запуска юнита zabbix-agent.service.
авг 22 11:33:59 SRV-T-APP-028 systemd[1]: PID file /run/zabbix/zabbix_agentd.pid not readable (yet?) after start.
авг 22 11:33:59 SRV-T-APP-028 systemd[1]: zabbix-agent.service never wrote its PID file. Failing.
авг 22 11:33:59 SRV-T-APP-028 systemd[1]: Failed to start Zabbix Agent.
-- Subject: Ошибка юнита zabbix-agent.service
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Произошел сбой юнита zabbix-agent.service.
--
-- Результат: failed.
авг 22 11:33:59 SRV-T-APP-028 systemd[1]: Unit zabbix-agent.service entered failed state.
авг 22 11:33:59 SRV-T-APP-028 systemd[1]: zabbix-agent.service failed.
Answer the question
In order to leave comments, you need to log in
Isn't it about SELinux?
For RedHat/CentOS try this:
yum install policycoreutils-python
semanage permissive -a zabbix_agent_t
> /run/zabbix/zabbix_agentd.pid not readable (yet?) after start.
Maybe the /run/zabbix directory doesn't exist?
Maybe the rights are not enough for him.
Try running it manually like this:
$ sudo su - zabbix -s /bin/bash
No directory, logging in with HOME=/
[email protected]:/$ /usr/sbin/zabbix_agentd
[email protected]:/$
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question