error while loading shared libraries: libssl.so.10:
/usr/sbin/zabbix_agentd: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
Apr 29 13:40:56 music-prod systemd[1]: zabbix-agent.service: Control process exited, code=exited status=127
Apr 29 13:40:56 music-prod systemd[1]: zabbix-agent.service: Failed with result 'exit-code'.
问题原因是 是 centos 8 跟centos7 不太一样了
缺少这个库文件
解决方案:
下载库:
wget https://gitee.com/wang-huamao/soft/raw/35d99d8294ba79e8d2f839e4bd93c15223115aab/linux/compat-openssl10-1.0.2o-4.el8_6.x86_64.rpm
安装:
rpm -ivh compat-openssl10-1.0.2o-4.el8.x86_64.rpm
然后再启动 zabbix 就没问题了
systemctl start zabbix-agent.service