Ad Widget

Collapse

CentOS new installation issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • az0bcd
    Junior Member
    • Sep 2022
    • 2

    #1

    CentOS new installation issues

    Hi All,

    I'm having some issues with trying to install Zabbix on CentOS 9 Stream. It's a new installation of CentOS and is up to date.

    I've gone along to https://www.zabbix.com/download?zabb...centos&os_vers ion=9&components=server_frontend_agent&db=mysql&ws =apache

    and tried to follow the instructions:
    [root@localhost az0bcd]# rpm -Uvh https://repo.zabbix.com/zabbix/6.2/r...el9.noarch.rpm
    Retrieving https://repo.zabbix.com/zabbix/6.2/r...el9.noarch.rpm
    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    Updating / installing...
    1:zabbix-release-6.2-2.el9 ################################# [100%]
    [root@localhost az0bcd]# dnf clean all
    0 files removed
    [root@localhost az0bcd]# dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent
    CentOS Stream 9 - BaseOS 2.2 MB/s | 5.9 MB 00:02
    CentOS Stream 9 - AppStream 14 MB/s | 15 MB 00:01
    CentOS Stream 9 - Extras packages 31 kB/s | 8.5 kB 00:00
    Extra Packages for Enterprise Linux 9 - x86_64 5.9 MB/s | 9.5 MB 00:01
    Extra Packages for Enterprise Linux 9 - Next - x86_64 1.1 MB/s | 1.4 MB 00:01
    Zabbix Official Repository - x86_64 30 kB/s | 55 kB 00:01
    Zabbix Official Repository non-supported - x86_64 569 B/s | 1.1 kB 00:02
    Zabbix Official Repository (Agent2 Plugins) - x86_64 591 B/s | 1.1 kB 00:01
    Error:
    Problem: package zabbix-web-deps-6.2.2-release2.el9.noarch requires zabbix-web = 6.2.2-release2.el9, but none of the providers can be installed
    - cannot install both zabbix-web-6.2.2-release2.el9.noarch and zabbix-web-1:6.0.5-1.el9.noarch
    - package zabbix-apache-conf-6.2.2-release2.el9.noarch requires zabbix-web-deps = 6.2.2-release2.el9, but none of the providers can be installed
    - package zabbix-web-mysql-1:6.0.5-1.el9.noarch requires zabbix-web = 1:6.0.5-1.el9, but none of the providers can be installed
    - cannot install the best candidate for the job
    (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
    [root@localhost az0bcd]#


    I did manage to get a little bit further by using --nobest etc but things just went from bad to worse.

    There are some similar issues reported on the forum but most of those were where the user was installing the wrong version...
    [root@localhost az0bcd]# uname -r
    5.14.0-160.el9.x86_64
    [root@localhost az0bcd]#​

    Any thoughts?
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    It looks like you're following the documentation from the download page correctly. When I try the exact same commands on a RHEL 9 test box we have, they work as expected. A bunch of additional packages are added because they are dependencies of the packages you've listed, but they get installed correctly.

    The error messages you're receiving, particularly about the conflict with some packages from the 6.0.5 series, makes me suspicious that you may have some older, conflicting packages installed. Are you certain you don't have any zabbix-related packages installed already, perhaps as an earlier attempt? What does

    Code:
    rpm -qa | egrep zabbix
    report? Anything?

    Comment

    • az0bcd
      Junior Member
      • Sep 2022
      • 2

      #3
      Thanks for the response.

      It was the first attempt, the only other steps I carried out was installing xrdp and mysql.

      I've since installed CentOS 8 Stream and followed the instructions without issue. I'm not what you would call a Linux expert but it would appear there are a lot of packages that just aren't available for (9) that are available for (8). So I have stuck to (8) for now.

      I'll try again soon.

      Thanks.

      Comment

      • RedShift
        Junior Member
        • Sep 2009
        • 13

        #4
        I'm having the same problem on AlmaLinux 9. Though I was able to install the packages at first, but now running yum update I get:

        Code:
        [root@xxx ~]# yum upgrade
        AlmaLinux 9 - AppStream 3.6 MB/s | 7.9 MB 00:02
        AlmaLinux 9 - BaseOS 2.0 MB/s | 3.4 MB 00:01
        AlmaLinux 9 - Extras 11 kB/s | 12 kB 00:01
        Extra Packages for Enterprise Linux 9 - x86_64 4.3 MB/s | 9.9 MB 00:02
        Zabbix Official Repository - x86_64 29 kB/s | 55 kB 00:01
        Zabbix Official Repository non-supported - x86_64 688 B/s | 1.1 kB 00:01
        Zabbix Official Repository (Agent2 Plugins) - x86_64 693 B/s | 1.1 kB 00:01
        Error:
        Problem 1: package zabbix-web-deps-6.2.2-release2.el9.noarch requires zabbix-web = 6.2.2-release2.el9, but none of the providers can be installed
        - cannot install both zabbix-web-1:6.0.5-1.el9.noarch and zabbix-web-6.2.2-release2.el9.noarch
        - cannot install both zabbix-web-6.2.2-release2.el9.noarch and zabbix-web-1:6.0.5-1.el9.noarch
        - cannot install the best update candidate for package zabbix-web-deps-6.2.2-release2.el9.noarch
        - cannot install the best update candidate for package zabbix-web-6.2.2-release2.el9.noarch
        Problem 2: package zabbix-apache-conf-6.2.2-release2.el9.noarch requires zabbix-web-deps = 6.2.2-release2.el9, but none of the providers can be installed
        - package zabbix-web-deps-6.2.2-release2.el9.noarch requires zabbix-web = 6.2.2-release2.el9, but none of the providers can be installed
        - cannot install both zabbix-web-1:6.0.5-1.el9.noarch and zabbix-web-6.2.2-release2.el9.noarch
        - cannot install both zabbix-web-6.2.2-release2.el9.noarch and zabbix-web-1:6.0.5-1.el9.noarch
        - package zabbix-web-mysql-1:6.0.5-1.el9.noarch requires zabbix-web = 1:6.0.5-1.el9, but none of the providers can be installed
        - cannot install the best update candidate for package zabbix-web-mysql-6.2.2-release2.el9.noarch
        - cannot install the best update candidate for package zabbix-apache-conf-6.2.2-release2.el9.noarch
        (try to add '--allowerasing' to command line to replace conflicting packages or '--nobest' to use not only best candidate packages)
        [root@xxx ~]#
        ​
        Bug report: https://support.zabbix.com/browse/ZBX-21612
        Last edited by RedShift; 08-09-2022, 08:52. Reason: Add bug report

        Comment

        Working...