-
Problem report
-
Resolution: Won't fix
-
Trivial
-
None
-
5.0.1
-
None
-
None
-
CentOS 8
On one server 10.128.241.160 zabbix agent not start
19454:20200622:104342.583 Starting Zabbix Agent [10.128.241.160]. Zabbix 5.0.1 (revision c2a0b03480). 19454:20200622:104342.583 **** Enabled features **** 19454:20200622:104342.583 IPv6 support: YES 19454:20200622:104342.583 TLS support: YES 19454:20200622:104342.583 ************************** 19454:20200622:104342.583 using configuration file: /etc/zabbix/zabbix_agentd.conf 19454:20200622:104342.587 cannot initialize module "zbxpcp.so" 19454:20200622:104342.587 loading modules failed, exiting... 19454:20200622:104342.587 Zabbix Agent stopped. Zabbix 5.0.1 (revision c2a0b03480). 20106:20200622:104442.836 Starting Zabbix Agent [10.128.241.160]. Zabbix 5.0.1 (revision c2a0b03480). 20106:20200622:104442.836 **** Enabled features **** 20106:20200622:104442.836 IPv6 support: YES 20106:20200622:104442.836 TLS support: YES 20106:20200622:104442.836 ************************** 20106:20200622:104442.836 using configuration file: /etc/zabbix/zabbix_agentd.conf 20106:20200622:104442.839 cannot initialize module "zbxpcp.so" 20106:20200622:104442.840 loading modules failed, exiting... 20106:20200622:104442.840 Zabbix Agent stopped. Zabbix 5.0.1 (revision c2a0b03480).
On other serve 10.128.241.101 it's OK.
I compare version zbxpcp.so they are diffrent.
10.128.241.160:
# sudo dnf list installed | grep zabb pcp-export-pcp2zabbix.x86_64 5.0.2-5.el8 @AppStream pcp-export-zabbix-agent.x86_64 5.0.2-5.el8 @AppStream zabbix-agent.x86_64 5.0.1-1.el8 @zabbix zabbix-release.noarch 5.0-1.el8 @System
10.128.241.101:
# sudo dnf list installed | grep zabb pcp-export-pcp2zabbix.x86_64 4.3.2-2.el8 @AppStream pcp-export-zabbix-agent.x86_64 4.3.2-2.el8 @AppStream zabbix-agent.x86_64 5.0.1-1.el8 @zabbix zabbix-release.noarch 5.0-1.el8 @System
On 160 I did dnf update but on 101 no.
I fear that if I update 101 it will also stop working.
But now I need to run the agent on 160. How do I do this?
The installation zabbix agent was the same:
sudo rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/8/x86_64/zabbix-release-5.0-1.el8.noarch.rpm sudo dnf clean all sudo dnf -y install zabbix-agent sudo dnf list installed | grep ^zabbix sudo sed -i.bak -e "s/Server=127.0.0.1/Server=127.0.0.1,10.128.241.0\/24/g" /etc/zabbix/zabbix_agentd.conf sudo sed -i.bak -e "s/ServerActive=127.0.0.1/ServerActive=10.128.241.222/g" /etc/zabbix/zabbix_agentd.conf sudo sed -i.bak -e "s/Hostname=Zabbix server/Hostname=$HOSTNAME/g" /etc/zabbix/zabbix_agentd.conf cat /etc/zabbix/zabbix_agentd.conf | grep ^Server= cat /etc/zabbix/zabbix_agentd.conf | grep ^ServerActive= cat /etc/zabbix/zabbix_agentd.conf | grep ^Hostname= sudo systemctl enable --now zabbix-agent sudo systemctl restart zabbix-agent sudo ps -Fu zabbix sudo firewall-cmd --add-service=zabbix-agent --permanent sudo firewall-cmd --reload sudo firewall-cmd --zone=public --list-all sudo firewall-cmd --zone=public --list-all | grep zabbix-agent