Ad Widget

Collapse

Issues installing zabbix 5.2 on RedHatcat 7.9

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Trusty_Rusty_Admin
    Junior Member
    • Nov 2020
    • 4

    #1

    Issues installing zabbix 5.2 on RedHatcat 7.9

    OS = RedHat 7.9
    PHP = remi 7.4
    the server can not connect to the repos so I download RPMs and transfer RPMs to server.
    the RPMs download page for 5.1 has 5.2 RPMs.
    I will try them any way.
    I get this error.

    sudo yum localinstall zabbix-server-mysql-5.2.0-0.1alpha1.el7.x86_64.rpm

    Requires: libmysqlclient.so.21(libmysqlclient_21.0)(64bit)
    ************************************************** ********************
    yum can be configured to try to resolve such errors by temporarily enabling
    disabled repos and searching for missing dependencies.
    To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.co nf
    ************************************************** ********************

    Error: Package: zabbix-server-mysql-5.2.0-0.1alpha1.el7.x86_64 (/zabbix-server-mysql-5.2.0-0.1alpha1.el7. x86_64)
    Requires: libmysqlclient.so.21()(64bit)
    Error: Package: zabbix-server-mysql-5.2.0-0.1alpha1.el7.x86_64 (/zabbix-server-mysql-5.2.0-0.1alpha1.el7. x86_64)
    Requires: libmysqlclient.so.21(libmysqlclient_21.0)(64bit)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest


  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    You will get an error because the dependent packages are not installed. The 5.1 directory is a pre-release test package and should not be used in a production environment.
    If you are currently building a Zabbix 5.2 server using official Zabbix packages, I recommend using RHEL 8.

    Comment

    • Trusty_Rusty_Admin
      Junior Member
      • Nov 2020
      • 4

      #3
      thank you.
      use the RHEL8 packages on RHEL7 system? the server doesn't have access to the internet so I have to download the RPMs and then transfer them to the server and install. I looked in the official Zabbix repo and these pre-release packages are all that I found for 5.2 on RHEL7 am I mistaken.

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        You cannot use packages for RHEL 8 on RHEL 7. And the server package for the officially released version of Zabbix 5.2 for RHEL 7 has not been released. At this time, only agents for RHEL 7 are published. If you want to build Zabbix 5.2 server with official Zabbix package now, please use new OS such as RHEL 8.

        Comment

        • dimir
          Zabbix developer
          • Apr 2011
          • 1080

          #5
          See additional information here: https://www.zabbix.com/forum/zabbix-...t-not-centos-7

          Comment

          • Trusty_Rusty_Admin
            Junior Member
            • Nov 2020
            • 4

            #6
            Thank you for your help.
            this is what i have started to do instead.
            install zabbix 5.0.5. we can not upgrade to RedHat8 we are stuck with RHEL 7 for now.

            because of the fire wall i have to download the RPMs and then run YUM localinstall XXX.rpm

            sudo yum list installed|grep zabbix
            iksemel.x86_64 1.4-2.el7.centos @zabbix-non-supported
            zabbix-agent.x86_64 5.0.5-1.el7 @/zabbix-agent-5.0.5-1.el7.x86_64
            zabbix-server-mysql.x86_64 5.0.5-1.el7 @/zabbix-server-mysql-5.0.5-1.el7.x86_64
            zabbix-web.noarch 5.0.5-1.el7 @/zabbix-web-5.0.5-1.el7.noarch


            I want to install now the other web rpms but get these errors.



            Error: Package: zabbix-web-mysql-scl-5.0.5-1.el7.noarch (/zabbix-web-mysql-scl-5.0.5-1.el7.noarch)
            Requires: zabbix-web-deps-scl = 5.0.5-1.el7

            Error: Package: zabbix-web-deps-scl-5.0.5-1.el7.noarch (/zabbix-web-deps-scl-5.0.5-1.el7.noarch)
            Requires: zabbix-web-database-scl = 5.0.5-1.el7


            what is zabbix-web-database-scl = 5.0.5-1.el7???

            thank you.


            Comment

            • Atsushi
              Senior Member
              • Aug 2013
              • 2028

              #7
              zabbix-web-database-scl refers to zabbix-web-mysql-scl or zabbix-web-pgsql-scl. If you are using MySQL, it's zabbix-web-mysql-scl. If there are any dependent packages, install them together with the yum command.
              However, it is said that you cannot connect to the Internet. Can you access the RHEL repository? If you can't, you'll need the SCL packages, and you'll need to get and install them as well.

              Comment

              • Trusty_Rusty_Admin
                Junior Member
                • Nov 2020
                • 4

                #8
                thank you. I ran this command. sudo yum localinstal zabbix-web-*.rpm and both RPMs installed.

                Comment

                Working...