jackyrar 发表于 2019-1-22 13:53:20

zabbix error: Failed dependencies:libodbc.so.2()的错误

  原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://ovcer.blog.运维网.com/1145188/1407536
  安装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: NOKEY
  error: 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
  解决办法
  # yum -y install unixODBC
  Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
  This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
  Setting up Install Process
  Resolving Dependencies
  --> Running transaction check
  ---> Package unixODBC.x86_64 0:2.2.14-12.el6_3 will be installed
  --> Finished Dependency Resolution
  Dependencies Resolved
  ================================================================================
  Package         Arch            Version                  Repository   Size
  ================================================================================
  Installing:
  unixODBC          x86_64          2.2.14-12.el6_3          RHEL          378 k
  Transaction Summary
  ================================================================================
  Install       1 Package(s)
  Total download size: 378 k
  Installed size: 1.1 M
  Downloading Packages:
  Running rpm_check_debug
  Running Transaction Test
  Transaction Test Succeeded
  Running Transaction
  Warning: 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/1
  Installed:
  unixODBC.x86_64 0:2.2.14-12.el6_3
  Complete!
  http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/
  本文出自 “云人生” 博客,请务必保留此出处http://ovcer.blog.运维网.com/1145188/1407536

页: [1]
查看完整版本: zabbix error: Failed dependencies:libodbc.so.2()的错误