Ad Widget

Collapse

Error installing Zabbix 4.4 on Fedora 31/32

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jagadees
    Junior Member
    • Dec 2019
    • 3

    #1

    Error installing Zabbix 4.4 on Fedora 31/32

    Hi all
    I am new here and trying to install Zabbix on my Dedicated server running Fedora Server 31/32 and I get the below error. Can anyone help ?
    xxxx@xxxxxx ~# dnf -y install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agent Fedora - Modular Rawhide - Developmental packages for the next Fedora release 2.9 MB/s | 4.1 MB 00:01 Fedora - Rawhide - Developmental packages for the next Fedora release 7.9 MB/s | 70 MB 00:08 Zabbix Official Repository - x86_64 53 kB/s | 41 kB 00:00 Zabbix Official Repository non-supported - x86_64 1.9 kB/s | 1.2 kB 00:00 Dependencies resolved. ================================================== ================================================== ================================================== ===== Package Architecture Version Repository Size ================================================== ================================================== ================================================== ===== Installing: zabbix-agent x86_64 1:4.0.15-1.fc32 rawhide 227 k zabbix-server-mysql x86_64 1:4.0.15-1.fc32 rawhide 775 k zabbix-web-mysql noarch 1:4.0.15-1.fc32 rawhide 8.3 k zabbix-apache-conf noarch 4.4.3-1.el8 zabbix 227 k Installing dependencies: OpenIPMI-libs x86_64 2.0.27-5.fc32 rawhide 518 k fping x86_64 4.2-2.fc31 rawhide 39 k js-jquery1 noarch 1.12.4-7.fc30 rawhide 185 k net-snmp-libs x86_64 1:5.8-14.fc32 rawhide 751 k php-bcmath x86_64 7.4.0-1.fc32 rawhide 48 k php-gd x86_64 7.4.0-1.fc32 rawhide 60 k web-assets-httpd noarch 5-10.fc31 rawhide 8.6 k zabbix x86_64 1:4.0.15-1.fc32 rawhide 349 k zabbix-dbfiles-mysql noarch 1:4.0.15-1.fc32 rawhide 1.1 M zabbix-server noarch 1:4.0.15-1.fc32 rawhide 20 k zabbix-web noarch 1:4.0.15-1.fc32 rawhide 3.3 M Transaction Summary ================================================== ================================================== ================================================== ===== Install 15 Packages Total download size: 7.5 M Installed size: 55 M Downloading Packages: (1/15): js-jquery1-1.12.4-7.fc30.noarch.rpm 2.2 MB/s | 185 kB 00:00 (2/15): fping-4.2-2.fc31.x86_64.rpm 361 kB/s | 39 kB 00:00 (3/15): php-bcmath-7.4.0-1.fc32.x86_64.rpm 1.8 MB/s | 48 kB 00:00 (4/15): php-gd-7.4.0-1.fc32.x86_64.rpm 3.6 MB/s | 60 kB 00:00 (5/15): OpenIPMI-libs-2.0.27-5.fc32.x86_64.rpm 3.1 MB/s | 518 kB 00:00 (6/15): web-assets-httpd-5-10.fc31.noarch.rpm 145 kB/s | 8.6 kB 00:00 (7/15): zabbix-4.0.15-1.fc32.x86_64.rpm 2.8 MB/s | 349 kB 00:00 (8/15): net-snmp-libs-5.8-14.fc32.x86_64.rpm 3.5 MB/s | 751 kB 00:00 (9/15): zabbix-agent-4.0.15-1.fc32.x86_64.rpm 2.6 MB/s | 227 kB 00:00 (10/15): zabbix-server-4.0.15-1.fc32.noarch.rpm 1.1 MB/s | 20 kB 00:00 (11/15): zabbix-dbfiles-mysql-4.0.15-1.fc32.noarch.rpm 4.8 MB/s | 1.1 MB 00:00 (12/15): zabbix-web-mysql-4.0.15-1.fc32.noarch.rpm 308 kB/s | 8.3 kB 00:00 (13/15): zabbix-server-mysql-4.0.15-1.fc32.x86_64.rpm 2.7 MB/s | 775 kB 00:00 (14/15): zabbix-web-4.0.15-1.fc32.noarch.rpm 7.1 MB/s | 3.3 MB 00:00 (15/15): zabbix-apache-conf-4.4.3-1.el8.noarch.rpm 240 kB/s | 227 kB 00:00 ----------------------------------------------------------------------------------------------------------------------------------------------------------- Total 4.8 MB/s | 7.5 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction test error: file /etc/httpd/conf.d/zabbix.conf conflicts between attempted installs of zabbix-apache-conf-4.4.3-1.el8.noarch and zabbix-web-1:4.0.15-1.fc32.noarch Thanks

    Regards
    Jagadeesan
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    I think the problem is that fc32 and rhel8 repositories are mixed. Try disabling access to the rhel8 repository.

    Comment

    • jagadees
      Junior Member
      • Dec 2019
      • 3

      #3
      Thanks Atsushi. I just checked the repo files and do not see any RHEL8 related repos enabled.
      Can you please let me know if there is any other way to check if RNHEL8 repos are enabled? Sorry if this is a NOOB question.

      Comment

      • jagadees
        Junior Member
        • Dec 2019
        • 3

        #4
        Here is the enabled repo list:

        #dnf repolist
        repo id repo name
        rawhide Fedora - Rawhide - Developmental packages for the next Fedora release
        rawhide-modular Fedora - Modular Rawhide - Developmental packages for the next Fedora release

        Comment

        • Atsushi
          Senior Member
          • Aug 2013
          • 2028

          #5
          The log seems to be trying to install a package called zabbix-apache-conf-4.4.3-1.el8.noarch. If the Zabbix official RHEL 8 repository is not output in repolist, have you manually added to the existing file?

          Comment

          Working...