Ad Widget

Collapse

error during fresh zabbix installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • helloguys2024
    Junior Member
    • Apr 2024
    • 10

    #1

    error during fresh zabbix installation

    hi,
    I am new to zabbix and trying to install it on my virtualbox server which is rhel 9.3, with 2GB RAM and 2cpu. I am following the following document:
    HTML Code:
    https://www.zabbix.com/download?zabbix=6.4&os_distribution=red_hat_enterp rise_linux&os_version=8&components=server_frontend _agent&db=mysql&ws=apache
    I am getting several errors on step c: install Zabbix server, frontend, agent

    Last metadata expiration check: 1:54:48 ago on Tue 16 Apr 2024 11:45:11 AM EDT.
    Error:
    Problem 1: cannot install the best candidate for the job
    - nothing provides libmariadb.so.3()(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
    - nothing provides libmariadb.so.3(libmysqlclient_18)(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
    - nothing provides libodbc.so.2()(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
    - nothing provides libnetsnmp.so.40()(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
    - nothing provides libOpenIPMI.so.0()(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
    - nothing provides libOpenIPMIposix.so.0()(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
    - nothing provides libmariadb.so.3(libmariadb_3)(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
    Problem 2: cannot install the best candidate for the job
    - nothing provides php-mysqli needed by zabbix-web-mysql-1:6.0.27-1.el9.noarch from epel
    Problem 3: cannot install the best candidate for the job
    - nothing provides httpd needed by zabbix-apache-conf-6.4.13-release1.el9.noarch from zabbix
    Problem 4: package zabbix-agent-1:6.0.27-1.el9.x86_64 from epel requires zabbix = 1:6.0.27-1.el9, but none of the providers can be installed
    - package zabbix-1:6.0.27-1.el9.x86_64 from epel requires (zabbix-selinux if selinux-policy-targeted), but none of the providers can be installed
    - cannot install the best candidate for the job
    - problem with installed package selinux-policy-targeted-38.1.23-1.el9.noarch
    - nothing provides selinux-policy >= 38.1.23-1.el9_3.2 needed by zabbix-selinux-1:6.0.27-1.el9.noarch from epel
    - nothing provides selinux-policy-base >= 38.1.23-1.el9_3.2 needed by zabbix-selinux-1:6.0.27-1.el9.noarch from epel
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
  • solution
    Senior Member
    • Jun 2020
    • 269

    #2
    Your highlighted selection is for RHEL 8
    https://www.zabbix.com/download?zabb...red_hat_enterp rise_linux&os_version=8&components=server_frontend _agent&db=mysql&ws=apache
    Access https://www.zabbix.com/download
    and select the correct version.

    Wellington

    Comment

    • helloguys2024
      Junior Member
      • Apr 2024
      • 10

      #3
      Thanks,
      still having same problem with using the correct version:

      |14:59:07|vagrant@mgr1:[log]> sudo rpm -Uvh https://repo.zabbix.com/zabbix/6.4/r...el9.noarch.rpm
      Retrieving https://repo.zabbix.com/zabbix/6.4/r...el9.noarch.rpm
      warning: /var/tmp/rpm-tmp.4B5TuG: Header V4 RSA/SHA512 Signature, key ID 08efa7dd: NOKEY
      Verifying... ################################# [100%]
      Preparing... ################################# [100%]
      package zabbix-release-6.4-1.el9.noarch is already installed

      |14:59:12|vagrant@mgr1:[log]> sudo dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent
      Last metadata expiration check: 3:14:43 ago on Sat 20 Apr 2024 11:44:46 AM EDT.
      Error:
      Problem 1: cannot install the best candidate for the job
      - nothing provides libmariadb.so.3()(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
      - nothing provides libmariadb.so.3(libmysqlclient_18)(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
      - nothing provides libodbc.so.2()(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
      - nothing provides libnetsnmp.so.40()(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
      - nothing provides libOpenIPMI.so.0()(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
      - nothing provides libOpenIPMIposix.so.0()(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
      - nothing provides libmariadb.so.3(libmariadb_3)(64bit) needed by zabbix-server-mysql-1:6.0.27-1.el9.x86_64 from epel
      Problem 2: cannot install the best candidate for the job
      - nothing provides php-mysqli needed by zabbix-web-mysql-1:6.0.27-1.el9.noarch from epel
      Problem 3: cannot install the best candidate for the job
      - nothing provides httpd needed by zabbix-apache-conf-6.4.13-release1.el9.noarch from zabbix
      Problem 4: package zabbix-agent-1:6.0.27-1.el9.x86_64 from epel requires zabbix = 1:6.0.27-1.el9, but none of the providers can be installed
      - package zabbix-1:6.0.27-1.el9.x86_64 from epel requires (zabbix-selinux if selinux-policy-targeted), but none of the providers can be installed
      - cannot install the best candidate for the job
      - problem with installed package selinux-policy-targeted-38.1.23-1.el9.noarch
      - nothing provides selinux-policy >= 38.1.23-1.el9_3.2 needed by zabbix-selinux-1:6.0.27-1.el9.noarch from epel
      - nothing provides selinux-policy-base >= 38.1.23-1.el9_3.2 needed by zabbix-selinux-1:6.0.27-1.el9.noarch from epel
      (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4806

        #4
        Install requirements first... php, mysql, apache etc... Your box does not know where to take all those required things

        Comment

        • tim.mooney
          Senior Member
          • Dec 2012
          • 1427

          #5
          Cyber is right, your software repositories defined and enabled on that system aren't enough to provide some standard packages that Zabbix needs.

          Your error messages often end with "from epel". That means that you have the EPEL repository defined and enabled, but it doesn't seem like you have any other necessary repositories enabled. For RHEL 9.x, you should have "BaseOS" and "AppStream" at a minimum.

          What does

          Code:
          sudo yum repolist
          output? You can use "dnf" instead of "yum" if you prefer, yum is just an alias to dnf for those of us that haven't retrained our fingers to type dnf yet.

          Comment

          Working...