Ad Widget

Collapse

Can't Install Zabbix Proxy on RHEL 9.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johntwolfe
    Junior Member
    • Jan 2023
    • 1

    #1

    Can't Install Zabbix Proxy on RHEL 9.1

    Trying to follow the instructions from here to install Zabbix Proxy on RHEL 9.1
    https://www.zabbix.com/download?zabb...red_hat_enterp rise_linux&os_version=9&components=proxy&db=mysql& ws=

    When running the command:
    sudo dnf install zabbix-proxy-mysql zabbix-sql-scripts zabbix-selinux-policy

    I receive this:
    sudo dnf install zabbix-proxy-mysql zabbix-sql-scripts zabbix-selinux-policy
    Updating Subscription Management repositories.
    Zabbix Official Repository - x86_64 84 kB/s | 106 kB 00:01
    Zabbix Official Repository (non-supported) - x86_64 1.6 kB/s | 1.1 kB 00:00
    Zabbix Official Repository (Agent2 Plugins) - x86_64 2.5 kB/s | 1.6 kB 00:00
    Error:
    Problem: cannot install the best candidate for the job
    - nothing provides libodbc.so.2()(64bit) needed by zabbix-proxy-mysql-6.0.12-release1.el9.x86_64
    - nothing provides libmariadb.so.3()(64bit) needed by zabbix-proxy-mysql-6.0.12-release1.el9.x86_64
    - nothing provides libOpenIPMI.so.0()(64bit) needed by zabbix-proxy-mysql-6.0.12-release1.el9.x86_64
    - nothing provides libmariadb.so.3(libmysqlclient_18)(64bit) needed by zabbix-proxy-mysql-6.0.12-release1.el9.x86_64
    - nothing provides libmariadb.so.3(libmariadb_3)(64bit) needed by zabbix-proxy-mysql-6.0.12-release1.el9.x86_64
    - nothing provides libOpenIPMIposix.so.0()(64bit) needed by zabbix-proxy-mysql-6.0.12-release1.el9.x86_64
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)​

    I'm not super familiar with RHEL, I'm a Windows guy who's recently had to use Ubuntu for the last year, but this is my first attempt at doing this process on RHEL. So I'm not sure if this is a RHEL issue, a Zabbix Packaage issue, or a me issue. The RHEL has been registered with the subscription manager.

    From what I can gather from this error, it can't locate these dependencies. Not sure if those should be getting pulled automatically or if I need to add additional repos to be added?

    Here's the details of the machine from hostnamectl
    Static hostname: RedHat91
    Icon name: computer-vm
    Chassis: vm
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    It's partially a you issue, partially a RHEL issue. The system is very likely only subscribed to the "BaseOS" repo, and at least some of the stuff you need is in the "AppStream" repo.

    Code:
    sudo subscription-manager repos --list-enabled
    If you don't see "AppStream" in there, you need to enable it.


    This might do it, but I can't verify it's correct right now, so you may need some web searching.

    Code:
    sudo subscription-manager repos --enable rhel-9-for-x86_64-appstream-rpms

    Comment

    Working...