Ad Widget

Collapse

Unable to Install Zabbix on CentOS 7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gcirtwell
    Junior Member
    • Apr 2022
    • 5

    #1

    Unable to Install Zabbix on CentOS 7

    Hello,

    Trying to get Zabbix setup on CentOS 7 to replace the barebones (and what I find difficult to customize) LibreNMS. I have Apache and MySQL installed. Trying to follow the commands on https://www.zabbix.com/download?zabb...centos&os_vers ion=7&db=&ws= and experiencing a set of errors. (apologies in advance, I can't find how to insert or highlight the commands and output to delineate)

    Command that causes the error:
    yum install zabbix-agent

    Output from the command:
    # yum install zabbix-agent
    Loaded plugins: fastestmirror
    Determining fastest mirrors
    * base: repos.forethought.net
    * extras: mirror.us.oneandone.net
    * updates: bay.uchicago.edu
    base | 3.6 kB 00:00:00
    extras | 2.9 kB 00:00:00
    updates | 2.9 kB 00:00:00
    zabbix | 2.9 kB 00:00:00
    zabbix-non-supported | 3.0 kB 00:00:00
    (1/6): extras/7/x86_64/primary_db | 246 kB 00:00:00
    (2/6): base/7/x86_64/group_gz | 153 kB 00:00:00
    (3/6): base/7/x86_64/primary_db | 6.1 MB 00:00:00
    (4/6): zabbix/x86_64/primary_db | 42 kB 00:00:00
    (5/6): zabbix-non-supported/x86_64/primary_db | 2.0 kB 00:00:00
    (6/6): updates/7/x86_64/primary_db | 14 MB 00:00:02
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-agent.x86_64 0:6.0.3-1.el8 will be installed
    --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_1)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libcrypto.so.1.1()(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libpcre2-8.so.0()(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libssl.so.1.1()(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Running transaction check
    ---> Package pcre2.x86_64 0:10.23-2.el7 will be installed
    ---> Package zabbix-agent.x86_64 0:6.0.3-1.el8 will be installed
    --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_1)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libcrypto.so.1.1()(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libssl.so.1.1()(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Finished Dependency Resolution
    Error: Package: zabbix-agent-6.0.3-1.el8.x86_64 (zabbix)
    Requires: libssl.so.1.1()(64bit)
    Error: Package: zabbix-agent-6.0.3-1.el8.x86_64 (zabbix)
    Requires: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
    Error: Package: zabbix-agent-6.0.3-1.el8.x86_64 (zabbix)
    Requires: libssl.so.1.1(OPENSSL_1_1_1)(64bit)
    Error: Package: zabbix-agent-6.0.3-1.el8.x86_64 (zabbix)
    Requires: libcrypto.so.1.1()(64bit)
    Error: Package: zabbix-agent-6.0.3-1.el8.x86_64 (zabbix)
    Requires: libssl.so.1.1(OPENSSL_1_1_0)(64bit)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

    When I attempt adding --skip-broken I receive:
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: repos.forethought.net
    * extras: mirror.us.oneandone.net
    * updates: bay.uchicago.edu
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-agent.x86_64 0:6.0.3-1.el8 will be installed
    --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_1)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libcrypto.so.1.1()(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libpcre2-8.so.0()(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libssl.so.1.1()(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Running transaction check
    ---> Package pcre2.x86_64 0:10.23-2.el7 will be installed
    ---> Package zabbix-agent.x86_64 0:6.0.3-1.el8 will be installed
    --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_1)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libcrypto.so.1.1()(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    --> Processing Dependency: libssl.so.1.1()(64bit) for package: zabbix-agent-6.0.3-1.el8.x86_64
    zabbix/x86_64/filelists_db | 42 kB 00:00:00
    base/7/x86_64/filelists_db | 7.2 MB 00:00:00

    Packages skipped because of dependency problems:
    pcre2-10.23-2.el7.x86_64 from base
    zabbix-agent-6.0.3-1.el8.x86_64 from zabbix

    Question
    Anyone know of the solution to what's happening and how to install Zabbix on CentOS 7?
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Looking at the logs, it looks like you have installed the zabbix-release package for RHEL 8. Packages for RHEL 8 cannot be used on RHEL 7 (CentOS 7). Please reinstall to zabbix-release package for RHEL 7.

    Comment

    • gcirtwell
      Junior Member
      • Apr 2022
      • 5

      #3
      Thanks! I did take a look yesterday, but couldn't figure out how to take this down. I was definitely using the wrong package. Used the one for CentOS 7 and made it further. You replied in my other post seeking help that the install completed with no errors, but there is a file missing from the directory. We can continue the conversation over there.

      Comment

      Working...