Ad Widget

Collapse

error in install zabbix 3 on centos 7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • esbbbr
    Junior Member
    • Feb 2016
    • 7

    #1

    error in install zabbix 3 on centos 7

    hi
    I want to install zabbix
    I encountered the following problems during installation
    Code:
    [root@localhost ~]# yum repolist
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.vit.com.tr
     * epel: mirrors.hustunique.com
     * extras: mirror.vit.com.tr
     * updates: mirror.vit.com.tr
    zabbix/x86_64/primary                                                                                                     | 4.7 kB  00:00:00
    http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
    Trying other mirror.
    zabbix/x86_64/primary                                                                                                     | 4.7 kB  00:00:00
    http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
    Trying other mirror.
    repo id                                                   repo name                                                                        status
    base/7/x86_64                                             CentOS-7 - Base                                                                  9,007
    epel/x86_64                                               Extra Packages for Enterprise Linux 7 - x86_64                                   9,511
    extras/7/x86_64                                           CentOS-7 - Extras                                                                  226
    updates/7/x86_64                                          CentOS-7 - Updates                                                                 826
    zabbix/x86_64                                             Zabbix Official Repository - x86_64                                                  0
    zabbix-non-supported/x86_64                               Zabbix Official Repository non-supported - x86_64                                    4
    repolist: 19,574
    [root@localhost ~]#
    I thank you for your help.
  • Firm
    Senior Member
    • Dec 2009
    • 342

    #2
    yum clean && yum check-update

    Comment

    • esbbbr
      Junior Member
      • Feb 2016
      • 7

      #3
      Thank you.
      I tested this method , Not working
      my idea : download all package from repo and create local repo and instal zabbix from local repo

      Comment

      • Firm
        Senior Member
        • Dec 2009
        • 342

        #4
        You don't need to create repo. Just download rpms and install them with rpm -i <rpm> [<rpm>]

        Comment

        • varnav
          Member
          • Jul 2009
          • 36

          #5
          yum clean all

          not

          yum clean

          Comment

          • rdomeracki
            Junior Member
            • Apr 2016
            • 1

            #6
            As described here:


            Code:
            # rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
            # yum install zabbix-agent
            and similar issue:
            Code:
            zabbix                                                                                                                           |  951 B  00:00:00
            zabbix-non-supported                                                                                                             |  951 B  00:00:00
            (1/2): zabbix-non-supported/x86_64/primary                                                                                       | 1.6 kB  00:00:03
            zabbix/x86_64/primary          FAILED
            http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum0.0 B/s |    0 B  --:--:-- ETA
            Trying other mirror.
            zabbix/x86_64/primary                                                                                                            | 6.4 kB  00:00:00
            http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
            Trying other mirror.
            
            
             One of the configured repositories failed (Zabbix Official Repository - x86_64),
             and yum doesn't have enough cached data to continue. At this point the only
             safe thing yum can do is fail. There are a few ways to work "fix" this:
            
                 1. Contact the upstream for the repository and get them to fix the problem.
            
                 2. Reconfigure the baseurl/etc. for the repository, to point to a working
                    upstream. This is most often useful if you are using a newer
                    distribution release than is supported by the repository (and the
                    packages for the previous distribution release still work).
            
                 3. Disable the repository, so yum won't use it by default. Yum will then
                    just ignore the repository until you permanently enable it again or use
                    --enablerepo for temporary usage:
            
                        yum-config-manager --disable zabbix
            
                 4. Configure the failing repository to be skipped, if it is unavailable.
                    Note that yum will try to contact the repo. when it runs most commands,
                    so will have to try and fail each time (and thus. yum will be be much
                    slower). If it is a very temporary problem though, this is often a nice
                    compromise:
            
                        yum-config-manager --save --setopt=zabbix.skip_if_unavailable=true
            
            failure: repodata/primary.xml.gz from zabbix: [Errno 256] No more mirrors to try.
            http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
            Few days ago i have managed to install successfully few agents. It seems like repo misconfiguration on server site.

            Thank you for your help.

            Comment

            Working...