Ad Widget

Collapse

Zabbix Server 5.0 unable to install on Red Hat 7 - repo's

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pierre101
    Junior Member
    • Feb 2021
    • 3

    #1

    Zabbix Server 5.0 unable to install on Red Hat 7 - repo's

    Hi Community,

    I'm struggling to get zabbix installed on RHEL 7

    I've been following this guide: https://computingforgeeks.com/how-to...r-on-centos-7/


    But I'm running into repo and dependency issues.

    sudo yum -y install zabbix-web-mysql-scl zabbix-apache-conf-scl
    Loaded plugins: langpacks, ulninfo
    Repository ol7_latest is listed more than once in the configuration
    zabbix | 2.9 kB 00:00:00
    zabbix-frontend | 2.9 kB 00:00:00
    zabbix-non-supported | 951 B 00:00:00
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-apache-conf-scl.noarch 0:5.0.8-4.el7 will be installed
    --> Processing Dependency: zabbix-web-deps-scl = 5.0.8-4.el7 for package: zabbix-apache-conf-scl-5.0.8-4.el7.noarch
    ---> Package zabbix-web-mysql-scl.noarch 0:5.0.8-4.el7 will be installed
    --> Processing Dependency: zabbix-web = 5.0.8-4.el7 for package: zabbix-web-mysql-scl-5.0.8-4.el7.noarch
    --> Processing Dependency: rh-php72-php-mysqlnd for package: zabbix-web-mysql-scl-5.0.8-4.el7.noarch
    --> Running transaction check
    ---> Package zabbix-web.noarch 0:5.0.8-4.el7 will be installed
    ---> Package zabbix-web-deps-scl.noarch 0:5.0.8-4.el7 will be installed
    --> Processing Dependency: rh-php72-php-mbstring for package: zabbix-web-deps-scl-5.0.8-4.el7.noarch
    --> Processing Dependency: rh-php72-php-xml for package: zabbix-web-deps-scl-5.0.8-4.el7.noarch
    --> Processing Dependency: rh-php72-php-bcmath for package: zabbix-web-deps-scl-5.0.8-4.el7.noarch
    --> Processing Dependency: rh-php72-php-ldap for package: zabbix-web-deps-scl-5.0.8-4.el7.noarch
    --> Processing Dependency: rh-php72-php-fpm for package: zabbix-web-deps-scl-5.0.8-4.el7.noarch
    --> Processing Dependency: rh-php72 for package: zabbix-web-deps-scl-5.0.8-4.el7.noarch
    --> Processing Dependency: rh-php72-php-gd for package: zabbix-web-deps-scl-5.0.8-4.el7.noarch
    ---> Package zabbix-web-mysql-scl.noarch 0:5.0.8-4.el7 will be installed
    --> Processing Dependency: rh-php72-php-mysqlnd for package: zabbix-web-mysql-scl-5.0.8-4.el7.noarch
    --> Finished Dependency Resolution
    Error: Package: zabbix-web-mysql-scl-5.0.8-4.el7.noarch (zabbix-frontend)
    Requires: rh-php72-php-mysqlnd
    Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
    Requires: rh-php72-php-xml
    Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
    Requires: rh-php72
    Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
    Requires: rh-php72-php-bcmath
    Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
    Requires: rh-php72-php-ldap
    Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
    Requires: rh-php72-php-mbstring
    Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
    Requires: rh-php72-php-gd
    Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
    Requires: rh-php72-php-fpm
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest


    Any assistance will be greatly appreciated.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Did you enabled Red Hat Software Collections?
    Code:
    # yum-config-manager --enable rhel-server-rhscl-7-rpms
    Zabbix is being downloaded over 4 000 000 times every year for a reason. Download and install Zabbix for free and try it yourself!

    Comment


    • pierre101
      pierre101 commented
      Editing a comment
      Hi Atsushi,

      Thank you for the response, unfortunatly still not able to download

      [yum repolist all
      Loaded plugins: langpacks, ulninfo
      Repository ol7_latest is listed more than once in the configuration
      repo id repo name status
      mariadb MariaDB enabled: 97
      ol7_MODRHCK/x86_64 Latest RHCK with fixes from Oracle for Oracle Linux 7Server (x86_64) enabled: 787
      ol7_UEKR3/x86_64 Latest Unbreakable Enterprise Kernel Release 3 for Oracle Linux 7Server (x86_64) enabled: 1,092
      ol7_UEKR3_OFED20/x86_64 OFED supporting tool packages for Unbreakable Enterprise Kernel on Oracle Linux 7 (x86_64) enabled: 64
      ol7_UEKR4/x86_64 Latest Unbreakable Enterprise Kernel Release 4 for Oracle Linux 7Server (x86_64) enabled: 159
      ol7_UEKR4_OFED/x86_64 OFED supporting tool packages for Unbreakable Enterprise Kernel Release 4 on Oracle Linux 7 (x86_64) enabled: 212
      ol7_UEKR4_archive/x86_64 Unbreakable Enterprise Kernel Release 4 for Oracle Linux 7Server (x86_64) - Archive enabled: 1,168
      ol7_UEKR5/x86_64 Latest Unbreakable Enterprise Kernel Release 5 for Oracle Linux 7Server (x86_64) enabled: 295
      ol7_UEKR5_RDMA/x86_64 Oracle Linux 7 UEK5 RDMA (x86_64) enabled: 212
      ol7_UEKR5_archive/x86_64 Unbreakable Enterprise Kernel Release 5 for Oracle Linux 7Server (x86_64) - Archive enabled: 378
      ol7_UEKR6/x86_64 Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 7Server (x86_64) enabled: 242
      ol7_UEKR6_RDMA/x86_64 Oracle Linux 7 UEK6 RDMA (x86_64) enabled: 71
      ol7_addons/x86_64 Oracle Linux 7Server Add ons (x86_64) enabled: 483
      ol7_epel OEL7_Epel from grprepo1 enabled: 15,828
      ol7_kvm_utils/x86_64 Oracle Linux 7Server KVM Utilities (x86_64) enabled: 654
      ol7_latest OEL7_Latest from grprepo1 enabled: 7,358
      ol7_latest_archive/x86_64 Oracle Linux 7Server Latest (x86_64) - Archive enabled: 24,576
      ol7_optional_archive/x86_64 Oracle Linux 7Server Optional (x86_64) - Archive enabled: 19,092
      ol7_optional_latest/x86_64 Oracle Linux 7Server Optional Latest (x86_64) enabled: 15,965
      ol7_security_validation/x86_64 Oracle Linux 7Server (x86_64) Security Validations enabled: 86
      ol7_u0_base/x86_64 Oracle Linux 7Server GA installation media copy (x86_64) enabled: 6,171
      ol7_u1_base/x86_64 Oracle Linux 7Server Update 1 installation media copy (x86_64) enabled: 6,272
      ol7_u2_base/x86_64 Oracle Linux 7Server Update 2 installation media copy (x86_64) enabled: 6,592
      ol7_u3_base/x86_64 Oracle Linux 7Server Update 3 installation media copy (x86_64) enabled: 6,773
      ol7_u4_base/x86_64 Oracle Linux 7Server Update 4 installation media copy (x86_64) enabled: 7,105
      ol7_u5_base/x86_64 Oracle Linux 7Server Update 5 installation media copy (x86_64) enabled: 7,278
      ol7_u6_base/x86_64 Oracle Linux 7Server Update 6 installation media copy (x86_64) enabled: 7,344
      ol7_u7_base/x86_64 Oracle Linux 7Server Update 7 installation media copy (x86_64) enabled: 7,444
      ol7_u8_base/x86_64 Oracle Linux 7Server Update 8 installation media copy (x86_64) enabled: 7,447
      ol7_u9_base/x86_64 Oracle Linux 7Server Update 9 installation media copy (x86_64) enabled: 7,444
      zabbix/x86_64 Zabbix Official Repository - x86_64 enabled: 100
      zabbix-debuginfo/x86_64 Zabbix Official Repository debuginfo - x86_64 enabled: 12
      zabbix-frontend/x86_64 Zabbix Official Repository frontend - x86_64 enabled: 93
      zabbix-non-supported/x86_64 Zabbix Official Repository non-supported - x86_64 enabled: 4
      repolist: 158,898


      yum -y install zabbix-web-mysql-scl zabbix-apache-conf-scl
      Loaded plugins: langpacks, ulninfo
      Repository ol7_latest is listed more than once in the configuration
      Resolving Dependencies
      --> Running transaction check
      ....
      --> Processing Dependency: rh-php72 for package: zabbix-web-deps-scl-5.0.8-4.el7.noarch
      --> Processing Dependency: rh-php72-php-gd for package: zabbix-web-deps-scl-5.0.8-4.el7.noarch
      ---> Package zabbix-web-mysql-scl.noarch 0:5.0.8-4.el7 will be installed
      --> Processing Dependency: rh-php72-php-mysqlnd for package: zabbix-web-mysql-scl-5.0.8-4.el7.noarch
      --> Finished Dependency Resolution
      Error: Package: zabbix-web-mysql-scl-5.0.8-4.el7.noarch (zabbix-frontend)
      Requires: rh-php72-php-mysqlnd
      Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
      Requires: rh-php72-php-xml
      Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
      Requires: rh-php72
      Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
      Requires: rh-php72-php-bcmath
      Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
      Requires: rh-php72-php-ldap
      Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
      Requires: rh-php72-php-mbstring
      Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
      Requires: rh-php72-php-gd
      Error: Package: zabbix-web-deps-scl-5.0.8-4.el7.noarch (zabbix-frontend)
      Requires: rh-php72-php-fpm
      You could try using --skip-broken to work around the problem
      You could try running: rpm -Va --nofiles --nodigest

    • tim.mooney
      tim.mooney commented
      Editing a comment
      What you're showing is not RHEL 7, it's OracleLinux 7.

      That's a compatible respin of RHEL 7, but the repo names are not going to be the same as for RHEL.

      In particular, I don't see any Oracle equivalent Software Collection repo in your list. The command that Atsushi gave you was based on your earlier statement that it was RHEL 7. It won't work for OL7. You'll need to find the Oracle name for the SCL repo for OL7 and add that.
  • azay19
    Junior Member
    • Feb 2021
    • 2

    #3
    Hi!

    I had the same problem with frontend installing zabbix 5.0 in RHEL7. After tons of troubleshoot this help to find solution and I create repository then install required rh-php72 packages:


    Try this - mirror.yandex.ru/centos/7.9.2009/extras/x86_64/Packages/centos-release-scl-rh-2-3.el7.centos.noarch.rpm

    Comment

    • pierre101
      Junior Member
      • Feb 2021
      • 3

      #4
      Thanks Community for the response !!!

      @azay19 Thank you for the mirror, it solved all the dependency issues !!

      Really appreciate the assistance all

      Comment

      • pierre101
        Junior Member
        • Feb 2021
        • 3

        #5
        Thanks Community for the response !!!

        azay19 Thank you for the mirror, it solved all the dependency issues !!

        Really appreciate the assistance all

        Comment

        Working...