-之前使用rhel7部署了zabbix-server和zabbix-web,在rhel7上安装zabbix-agent时使用yum安装时因为本地镜像使用的centos7-everyting版本,所以依赖关系yum自己就搞定了。但是在rhel6.4上安装zabbix-agent时一直报错
Error: Package: zabbix-agent-3.2.3-1.el6.x86_64 (/zabbix-agent-3.2.3-1.el6.x86_64)
Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: zabbix-agent-3.2.3-1.el6.x86_64 (/zabbix-agent-3.2.3-1.el6.x86_64)
Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
Error: Package: zabbix-agent-3.2.3-1.el6.x86_64 (/zabbix-agent-3.2.3-1.el6.x86_64)
Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
Error: Package: zabbix-agent-3.2.3-1.el6.x86_64 (/zabbix-agent-3.2.3-1.el6.x86_64)
Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
查看openssl版本是openssl-1.0.0-27.el6.x86_64,网上查找原因说是openssl版本太低,不含有zabbix-agent依赖的so文件。
使用yum update升级及localinstall都不成功。
那只能去下载openssl的rpm安装包啦。
openssl-1.0.1e-15.el6.x86_64.rpm
openssl-devel-1.0.1e-15.el6.x86_64.rpm
这是下载的安装包。
使用rpm命令安装。
rpm -Uvh openssl-1.0.1e-15.el6.x86_64.rpm - -nodeps - -force
rpm -Uvh openssl-devel-1.0.1e-15.el6.x86_64.rpm - -nodeps - -force
安装完此两个安装包后,就可以安装zabbix-agent了。