Ad Widget

Collapse

Zabbix 6.0 LTS installation error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GB_informatics
    Junior Member
    • Jan 2023
    • 7

    #1

    Zabbix 6.0 LTS installation error

    Hello, I want to install Zabbix 6.0 LTS on Ubuntu 22.10. When I use the command "apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent" I have this error "zabbix-server-mysql: Depends: libevent-2.1 -7 (>= 2.1.8-stable) but it is not installable". How to correct it?
  • Theo1030
    Junior Member
    • Jan 2023
    • 1

    #2
    Even I am facing the same issue

    zabbix-server-mysql : Depends: libevent-2.1-7 (>= 2.1.8-stable) but it is not installable
    Recommends: snmpd but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      If you're using Ubuntu 22.10, I don't think the Zabbix official repository provides a corresponding package. If you want to use Zabbix official packages, try using an OS version such as 22.04 where packages are provided.

      Comment

      • GB_informatics
        Junior Member
        • Jan 2023
        • 7

        #4
        For me it's impossible to downgrade to Ubuntu 22.04. How to do ?
        Zaabix 6.0 is ultimately incompatible with Ubuntu 22.10?​

        Comment

        • Markku
          Senior Member
          Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
          • Sep 2018
          • 1781

          #5
          When a software supplier packages the application for installation using the OS pckage manager, they have to define the dependencies and whatnot to get all the necessary packages installed with the app itself. That process is OS version dependent. Zabbix does not provide free installation support for operating systems that are not listed in the download pages.

          You can always try downloading the package files from repo.zabbix.com and install them manually with dpkg. Or extract the package contents manually and then copy the files to correct places etc if you like to try that but it's a hard way.

          The obvious solution is to install a supported OS and then install the Zabbix packages according to the official instructions. Your Ubuntu 22.10 will be out of support in a few months anyway.

          Markku

          Comment

          • GB_informatics
            Junior Member
            • Jan 2023
            • 7

            #6
            Hello,

            I can't find the password when asked after the "mysql -uroot -p" command. What is the default password please?

            Comment

            • Markku
              Senior Member
              Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
              • Sep 2018
              • 1781

              #7
              Does plain

              sudo mysql

              work?

              Markku

              Comment

              • GB_informatics
                Junior Member
                • Jan 2023
                • 7

                #8
                yes but after when I go to the zabbix interface, at the moment of mysql password for zabbix it displays password error.

                Comment

                • Markku
                  Senior Member
                  Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                  • Sep 2018
                  • 1781

                  #9
                  That's a different question then. The password is what you set for the zabbix user during the installation. If you don't know it, you can reset it as root (sudo mysql) using ALTER USER command, see for example https://www.cyberciti.biz/faq/mysql-...user-password/

                  Markku

                  Comment

                  • GB_informatics
                    Junior Member
                    • Jan 2023
                    • 7

                    #10
                    the problem is that I don't define it because I do the command "apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent" then follow the command "mysql - uroot -p" and I am asked for the password, which I do not know in the end

                    Comment

                    • Markku
                      Senior Member
                      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                      • Sep 2018
                      • 1781

                      #11
                      Use sudo mysql instead of that. Then you can set the zabbix database user as per the instructions.

                      Markku

                      Comment

                      • GB_informatics
                        Junior Member
                        • Jan 2023
                        • 7

                        #12
                        Is it normal that I have to install mysql-server on the side because I have the error "error: can't connect to local mysql server through socket '/var/run/mysqld/mysqld.sock' (2)" ?

                        Comment

                        • Markku
                          Senior Member
                          Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                          • Sep 2018
                          • 1781

                          #13
                          Unfortunately I'm unable to help you with that. Check that your mysql server is running, and search for helpful hints in mysql forums.

                          Markku

                          Comment

                          • GB_informatics
                            Junior Member
                            • Jan 2023
                            • 7

                            #14
                            successfull installation

                            Comment

                            Working...