-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
6.0.25, 7.0.2
-
None
I encountered an issue with starting the Zabbix Agent 2 on CentOS 6 after its installation.
Zabbix agent2 service failed to start. Running the service did not generate any log.
Therefore, I confirmed the error below by executing the binary directly and the following error was encountered:
# zabbix_agent2 -c /etc/zabbix/zabbix_agent2.conf 2024/01/16 10:34:51.475218 cannot register plugins: failed to create plugin listener with socket path, /run/zabbix/agent.plugin.sock, listen unix /run/zabbix/agent.plugin.sock: bind: no such file or directory zabbix_agent2 [2061]: ERROR: cannot register plugins: failed to create plugin listener with socket path, /run/zabbix/agent.plugin.sock, listen unix /run/zabbix/agent.plugin.sock: bind: no such file or directory
Resolved this issue by changing the settings in the zabbix_agent2.conf file from "/run/zabbix/..." to "/var/run/zabbix/..."
PluginSocket=/var/run/zabbix/agent.plugin.sock ControlSocket=/var/run/zabbix/agent.sock
I believe this issue might be related to the default configuration paths in the CentOS 6 RPM package.