安装zabbix时报错
[root@zabbix ~]# rpm -ivh zabbix-server-mysql-2.2.3-1.el6.x86_64.rpm zabbix-web-mysql-2.2.3-1.el6.noarch.rpm
warning: zabbix-server-mysql-2.2.3-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEYerror: Failed dependencies: libodbc.so.2()(64bit) is needed by zabbix-server-mysql-2.2.3-1.el6.x86_64 zabbix-server = 2.2.3-1.el6 is needed by zabbix-server-mysql-2.2.3-1.el6.x86_64 zabbix-web = 2.2.3-1.el6 is needed by zabbix-web-mysql-2.2.3-1.el6.noarch
解决办法
[root@zabbix ~]# yum -y install unixODBC
Loaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package unixODBC.x86_64 0:2.2.14-12.el6_3 will be installed--> Finished Dependency ResolutionDependencies Resolved
================================================================================
Package Arch Version Repository Size================================================================================Installing: unixODBC x86_64 2.2.14-12.el6_3 RHEL 378 kTransaction Summary
================================================================================Install 1 Package(s)Total download size: 378 k
Installed size: 1.1 MDownloading Packages:Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionWarning: RPMDB altered outside of yum. Installing : unixODBC-2.2.14-12.el6_3.x86_64 1/1 Verifying : unixODBC-2.2.14-12.el6_3.x86_64 1/1Installed:
unixODBC.x86_64 0:2.2.14-12.el6_3Complete!