Ad Widget

Collapse

install zabbix 2.4 on centos error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mr.hungson
    Junior Member
    • May 2016
    • 2

    #1

    install zabbix 2.4 on centos error

    I was install zabbix 3.0 on my system but error, then I install zabbix 2.4 and get error:
    Loaded plugins: priorities, update-motd, upgrade-helper
    amzn-main/latest | 2.1 kB 00:00
    amzn-updates/latest | 2.3 kB 00:00
    1 packages excluded due to repository priority protections Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix.x86_64 0:2.2.13-1.el6 will be obsoleted
    ---> Package zabbix-server-mysql.x86_64 0:3.0.3-1.el7 will be obsoleting
    --> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.3-1.el7.x86_64
    --> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-3.0.3-1.el7.x86_64
    ---> Package zabbix-web-mysql.noarch 0:2.2.13-1.el6 will be updated
    --> Processing Dependency: zabbix-web-database = 2.2.13-1.el6 for package: zabbix-web-2.2.13-1.el6.noarch <
    ---> Package zabbix-web-mysql.noarch 0:3.0.3-1.el7 will be an update
    --> Running transaction check
    ---> Package zabbix-server-mysql.x86_64 0:3.0.3-1.el7 will be obsoleting
    --> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.3-1.el7.x86_64
    --> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-3.0.3-1.el7.x86_64
    ---> Package zabbix-web.noarch 0:2.2.13-1.el6 will be updated
    ---> Package zabbix-web.noarch 0:3.0.3-1.el7 will be an update
    --> Processing Dependency: php-ldap for package: zabbix-web-3.0.3-1.el7.noarch
    --> Running transaction check
    ---> Package php56-ldap.x86_64 0:5.6.21-1.124.amzn1 will be installed
    ---> Package zabbix-server-mysql.x86_64 0:3.0.3-1.el7 will be obsoleting
    --> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.3-1.el7.x86_64
    --> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-3.0.3-1.el7.x86_64
    --> Finished Dependency Resolution
    Error: Package: zabbix-server-mysql-3.0.3-1.el7.x86_64 (zabbix)
    Requires: libnetsnmp.so.31()(64bit)
    Error: Package: zabbix-server-mysql-3.0.3-1.el7.x86_64 (zabbix)
    Requires: systemd

    Please help me. Thanks so much
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Do not register the repository for RHEL/CentOS 7?
    Please re-register the repository for RHEL/CentOS 6.
    If you want to install the Zabbix 3.0, it is the following procedure.

    However, there is no guarantee that operate successfully in Amazon Linux.

    Code:
    # yum remove zabbix-release
    # yum install http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm
    # yum clean all

    Comment

    • mr.hungson
      Junior Member
      • May 2016
      • 2

      #3
      Thanks for your help.
      Originally posted by Atsushi
      Do not register the repository for RHEL/CentOS 7?
      Please re-register the repository for RHEL/CentOS 6.
      If you want to install the Zabbix 3.0, it is the following procedure.

      However, there is no guarantee that operate successfully in Amazon Linux.

      Code:
      # yum remove zabbix-release
      # yum install http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm
      # yum clean all
      I try install on Amazon Linux and get error:
      Error: Package: zabbix-server-mysql-3.0.3-1.el7.x86_64 (zabbix)
      Requires: libnetsnmp.so.31()(64bit)
      Error: Package: zabbix-server-mysql-3.0.3-1.el7.x86_64 (zabbix)
      I think by Zabbix 3.0 then I uninstall and try to install zabbix 3.0. It error

      Comment

      • kloczek
        Senior Member
        • Jun 2006
        • 1771

        #4
        Originally posted by mr.hungson
        I try install on Amazon Linux and get error:
        Maybe it is not obvious but AL is not binary compatible with EL7 (Enterprise Linux 7 -> RedHat Enterprise Linux 7, CentOS 7, Oracle Linux 7)
        http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
        https://kloczek.wordpress.com/
        zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
        My zabbix templates https://github.com/kloczek/zabbix-templates

        Comment

        • Atsushi
          Senior Member
          • Aug 2013
          • 2028

          #5
          Hi mr.hungson

          zabbix-server-mysql-3.0.3-1.el7.x86_64 is package for RHEL/CentOS 7.
          It has not compatible to Amazon Linux.

          Are you read my post?
          Code:
          # yum remove zabbix-release
          # yum install http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm
          # yum clean all
          But, the httpd version is different, you will need to rewrite the /etc/httpd/conf.d/zabbix.conf for the Amazon Linux.

          Comment

          • tranlephuongbinh
            Junior Member
            • Jun 2016
            • 1

            #6
            Try to install zabbix

            Hi Mr Hung,

            I recommend you re-install your OS(centos7) and go step by step again.

            Thank you

            Comment

            Working...