[ZBX-17947] Zabbix agent cannot initialize module "zbxpcp.so" Created: 2020 Jun 22 Updated: 2020 Jun 24 Resolved: 2020 Jun 24 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 5.0.1 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Дмитрий Бобровский | Assignee: | Zabbix Support Team |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS 8 |
Description |
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. 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
|
Comments |
Comment by Kristians Pavars [ 2020 Jun 22 ] |
Hi MinistrBob
Thanks for reaching out to Zabbix public bug tracker. Was this a clean installation?
Thanks, |
Comment by Дмитрий Бобровский [ 2020 Jun 23 ] |
What does a clean installation mean? |
Comment by Edgar Akhmetshin [ 2020 Jun 24 ] |
Hello Дмитрий, Performance Co-Pilot is a third party product and you are using different versions of PCP 4.3 and 5.0, use version suited for the Zabbix 5.0. Please be advised that this section of the tracker is for bug reports only. The case you have submitted can not be qualified as one, so please reach out to [email protected] for commercial support or consultancy services. Alternatively, you can also use our IRC channel or community forum (https://www.zabbix.com/forum) for assistance. With that said, we are closing this ticket. Thank you for understanding. Regards, |