Hello,
This is for reference because I couldn't find anything describing this (using Google). This is using zabbix_proxy 2.2.8.
I kept getting this message in the zabbix_proxy logfile:
Unable to connect to the server [<server_name>]:10051 [cannot connect to [[<server_name>]:10051]: [13] Permission denied]
Still unable to connect...
For a while I couldn't figure it out, because everything seemed to be configured correctly: from DNS to routing, firewall rules and zabbix hostnames. Portscanning confirmed that the zabbix server is reachable. Tcpdump proved however that no packets were being sent to the server by zabbix_proxy, whereas the portscan did.
It turned out to be something else, not related to networking: a missing directory. When I enabled user "zabbix" for shell logins and su-ed to "zabbix", I got the message that "/var/lib/zabbix" could not be entered. The directory indeed didn't exist and once it was created with the correct permissions everything started working.
This is for reference because I couldn't find anything describing this (using Google). This is using zabbix_proxy 2.2.8.
I kept getting this message in the zabbix_proxy logfile:
Unable to connect to the server [<server_name>]:10051 [cannot connect to [[<server_name>]:10051]: [13] Permission denied]
Still unable to connect...
For a while I couldn't figure it out, because everything seemed to be configured correctly: from DNS to routing, firewall rules and zabbix hostnames. Portscanning confirmed that the zabbix server is reachable. Tcpdump proved however that no packets were being sent to the server by zabbix_proxy, whereas the portscan did.
It turned out to be something else, not related to networking: a missing directory. When I enabled user "zabbix" for shell logins and su-ed to "zabbix", I got the message that "/var/lib/zabbix" could not be entered. The directory indeed didn't exist and once it was created with the correct permissions everything started working.
Comment