Ad Widget

Collapse

Cannot install Zabbix Proxy or agent?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rvanderkooi
    Member
    • May 2019
    • 33

    #1

    Cannot install Zabbix Proxy or agent?

    Hello I'm will try install a Zabbix Proxy server on a fresh Centos 7 server.

    I have enter this row:
    rpm -Uvh https://repo.zabbix.com/zabbix/4.4/r...el7.noarch.rpm
    only i get this message:
    [root@zabbixproxy /]# yum install zabbix-proxy-mysql
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror.nl.datapacket.com
    * extras: mirror.nl.datapacket.com
    * updates: mirror.nl.datapacket.com
    base | 3.6 kB 00:00:00
    extras | 2.9 kB 00:00:00
    updates | 2.9 kB 00:00:00
    http://repo.zabbix.com/zabbix/4.4/rh...ta/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
    Trying other mirror.
    To address this issue please refer to the below wiki article



    If above article doesn't help to resolve this issue please use https://bugs.centos.org/.



    One of the configured repositories failed (Zabbix Official Repository - i386),
    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. Run the command with the repository temporarily disabled
    yum --disablerepo=zabbix ...

    4. Disable the repository permanently, 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
    or
    subscription-manager repos --disable=zabbix

    5. 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/repomd.xml from zabbix: [Errno 256] No more mirrors to try.
    http://repo.zabbix.com/zabbix/4.4/rh...ta/repomd.xml: [Errno 14] HTTP Error 404 - Not Found


    Any idea's? i have reinstall the Centos machines.. yum clean all.. but same error.

    Many thanks.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    In Zabbix official repositories, only x86_64 architecture is supported for RHEL 7(CentOS 7). If the server architecture you are using is i386, recompile from source yourself. Since SRPM is published, you will be able to create packages by building from SRPM.

    Comment


    • rvanderkooi
      rvanderkooi commented
      Editing a comment
      Yes many thanks! it works now.
Working...