Ad Widget

Collapse

I am no longer able to install Zabbix 6.0 LTS on Debian 9 (stretch)

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • celsoannes
    Junior Member
    • May 2023
    • 6

    #1

    I am no longer able to install Zabbix 6.0 LTS on Debian 9 (stretch)

    This problem started last week, the problem already occurs at the moment of downloading the package.

    HTML Code:
    wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian9_all.deb
    --2023-05-08 15:43:42--  https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian9_all.deb
    Resolvendo repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001
    Conectando-se a repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... conectado.
    ERROR: The certificate for "repo.zabbix.com" is not trusted.
    ERROR: The certificate for "repo.zabbix.com" has expired.​
    ​
    It is possible to work around this problem by using the --no-check-certificate parameter.

    No problems at:
    HTML Code:
    dpkg -i zabbix-release_6.0-4+debian9_all.deb



    The update does not work:
    HTML Code:
    root@asterisk-16:/home/suporte/etc/apt/sources.list.d# apt-get update
    Ign:1 http://archive.debian.org/debian stretch InRelease
    Atingido:2 http://archive.debian.org/debian stretch Release
    Ign:3 https://repo.zabbix.com/zabbix/6.0/debian stretch InRelease
    Ign:5 https://repo.zabbix.com/zabbix/6.0/debian stretch Release
    Ign:6 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Sources
    Ign:7 https://repo.zabbix.com/zabbix/6.0/debian stretch/main all Packages
    Ign:8 https://repo.zabbix.com/zabbix/6.0/debian stretch/main amd64 Packages
    Ign:9 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt
    Ign:10 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt_BR
    Ign:11 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-en
    Ign:6 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Sources
    Ign:7 https://repo.zabbix.com/zabbix/6.0/debian stretch/main all Packages
    Ign:8 https://repo.zabbix.com/zabbix/6.0/debian stretch/main amd64 Packages
    Ign:9 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt
    Ign:10 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt_BR
    Ign:11 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-en
    Ign:6 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Sources
    Ign:7 https://repo.zabbix.com/zabbix/6.0/debian stretch/main all Packages
    Ign:8 https://repo.zabbix.com/zabbix/6.0/debian stretch/main amd64 Packages
    Ign:9 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt
    Ign:10 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt_BR
    Ign:11 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-en
    Ign:6 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Sources
    Ign:7 https://repo.zabbix.com/zabbix/6.0/debian stretch/main all Packages
    Ign:8 https://repo.zabbix.com/zabbix/6.0/debian stretch/main amd64 Packages
    Ign:9 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt
    Ign:10 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt_BR
    Ign:11 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-en
    Ign:6 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Sources
    Ign:7 https://repo.zabbix.com/zabbix/6.0/debian stretch/main all Packages
    Ign:8 https://repo.zabbix.com/zabbix/6.0/debian stretch/main amd64 Packages
    Ign:9 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt
    Ign:10 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt_BR
    Ign:11 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-en
    Err:6 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Sources
      server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    Ign:7 https://repo.zabbix.com/zabbix/6.0/debian stretch/main all Packages
    Ign:8 https://repo.zabbix.com/zabbix/6.0/debian stretch/main amd64 Packages
    Ign:9 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt
    Ign:10 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-pt_BR
    Ign:11 https://repo.zabbix.com/zabbix/6.0/debian stretch/main Translation-en
    Lendo listas de pacotes... Pronto
    W: The repository 'https://repo.zabbix.com/zabbix/6.0/debian stretch Release' does not have a Release file.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: Falhou ao buscar https://repo.zabbix.com/zabbix/6.0/debian/dists/stretch/main/source/Sources  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    E: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.
    It installs Zabbix through apt, but not the correct version, it installs version 3 of Zabbix:
    HTML Code:
    apt install zabbix-agent
    HTML Code:
    # zabbix_agentd --version
    
    zabbix_agentd (daemon) (Zabbix) 3.0.7
    Revision 64609 21 December 2016, compilation time: Jun  4 2017 07:14:06
    
    Copyright (C) 2016 Zabbix SIA
    License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it according to
    the license. There is NO WARRANTY, to the extent permitted by law.​
    What can I do to install Zabbix 6.0 LTS on Debian 9 (stretch)?
  • Answer selected by celsoannes at 12-05-2023, 15:54.
    celsoannes
    Junior Member
    • May 2023
    • 6

    I found a way to work around these issues and install Zabbix 6.0 LTS on Debian 9 (stretch).
    1. vim /etc/ca-certificates.conf
    2. comment line -> mozilla/DST_Root_CA_X3.crt
    3. update-ca-certificates -f -v
    4. wget https://repo.zabbix.com/zabbix/6.0/d...ebian9_all.deb
    5. mkdir zabbix
    6. dpkg -x zabbix-release_6.0-4+debian9_all.deb zabbix
    7. cp -av zabbix/etc/apt /etc/apt/
    8. apt update
    9. apt install zabbix-agent
    10. systemctl restart zabbix-agent
    11. systemctl enable zabbix-agent



    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2
      Originally posted by celsoannes
      What can I do to install Zabbix 6.0 LTS on Debian 9 (stretch)?
      Nothing. Its too old to install Zabbix 6.​

      Comment

      • celsoannes
        Junior Member
        • May 2023
        • 6

        #3
        Originally posted by cyber

        Nothing. Its too old to install Zabbix 6.​
        Is there any version that I can install and run?

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #4
          4 should still run there..
          Zabbix is being downloaded over 4 000 000 times every year for a reason. Download and install Zabbix for free and try it yourself!

          Comment

          • celsoannes
            Junior Member
            • May 2023
            • 6

            #5
            Originally posted by cyber
            I tried to install this version but it didn't work:

            Code:
            dpkg -i zabbix-release_4.0-3+stretch_all.deb
            dpkg: aviso: a fazer downgrade a zabbix-release de 1:6.0-4+debian9 para 1:4.0-3+stretch
            (Lendo banco de dados ... 71575 ficheiros e directórios actualmente instalados.)
            A preparar para desempacotar zabbix-release_4.0-3+stretch_all.deb ...
            A descompactar zabbix-release (1:4.0-3+stretch) sobre (1:6.0-4+debian9) ...
            Configurando zabbix-release (1:4.0-3+stretch) ...
            Instalando nova versão do arquivo de configuração /etc/apt/sources.list.d/zabbix.list ...
            Instalando nova versão do arquivo de configuração /etc/apt/trusted.gpg.d/zabbix-official-repo.gpg ...
            ​

            Code:
            apt update
            Obter:1 http://repo.zabbix.com/zabbix/4.0/debian stretch InRelease [7.097 B]
            Ign:2 http://archive.debian.org/debian stretch InRelease
            Atingido:3 http://archive.debian.org/debian stretch Release
            Obter:4 http://repo.zabbix.com/zabbix/4.0/debian stretch/main Sources [1.169 B]
            Ign:6 https://repo.zabbix.com/zabbix-agent2-plugins/1/debian stretch InRelease
            Obter:7 http://repo.zabbix.com/zabbix/4.0/debian stretch/main amd64 Packages [4.006 B]
            Err:8 https://repo.zabbix.com/zabbix-agent2-plugins/1/debian stretch Release
              server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
            Lendo listas de pacotes... Pronto
            E: The repository 'https://repo.zabbix.com/zabbix-agent2-plugins/1/debian stretch Release' does not have a Release file.
            N: Updating from such a repository can't be done securely, and is therefore disabled by default.
            N: See apt-secure(8) manpage for repository creation and user configuration details.​

            Just like version 4, version 6 is still there, but I can't install it...
            Zabbix is being downloaded over 4 000 000 times every year for a reason. Download and install Zabbix for free and try it yourself!

            Comment

            • celsoannes
              Junior Member
              • May 2023
              • 6

              #6
              I was able to install Zabbix from the repository provided by the Debian archive repository, but I cannot get it to run. How can I find out why it's not running?

              Code:
              deb http://archive.debian.org/debian stretch main contrib non-free
              zz0.xqzmgvisctfzz
              # zabbix_agentd --version
              Code:
              zabbix_agentd (daemon) (Zabbix) 3.0.7
              Revision 64609 21 December 2016, compilation time: Jun  4 2017 07:14:06
              
              Copyright (C) 2016 Zabbix SIA
              License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
              This is free software: you are free to change and redistribute it according to
              the license. There is NO WARRANTY, to the extent permitted by law.
              zz0.ljsiyh5k70qzz
              # systemctl status zabbix-agent
              Code:
              ● zabbix-agent.service - Zabbix Agent
                 Loaded: loaded (/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: enabled)
                Drop-In: /etc/systemd/system/zabbix-agent.service.d
                         └─override.conf
                 Active: failed (Result: exit-code) since Thu 2023-05-11 09:11:47 -03; 17s ago
                   Docs: man:zabbix_agentd
                Process: 30728 ExecStart=/usr/sbin/zabbix_agentd --foreground (code=exited, status=1/FAILURE)
               Main PID: 30728 (code=exited, status=1/FAILURE)
              
              mai 11 09:11:47 campanhas systemd[1]: Started Zabbix Agent.
              mai 11 09:11:47 campanhas zabbix_agentd[30728]: zabbix_agentd [30728]: cannot run as root!
              mai 11 09:11:47 campanhas systemd[1]: zabbix-agent.service: Main process exited, code=exited, status=1/FAILURE
              mai 11 09:11:47 campanhas systemd[1]: zabbix-agent.service: Unit entered failed state.
              mai 11 09:11:47 campanhas systemd[1]: zabbix-agent.service: Failed with result 'exit-code'.
              zz0.5lgt2cv7wfxzz

              Comment

              • celsoannes
                Junior Member
                • May 2023
                • 6

                #7
                Why do I get a certificate error when trying to download Zabbix 6.0 LTS from Debian 9.13 (Stretch) for any version?

                Code:
                # lsb_release -a
                No LSB modules are available.
                Distributor ID: Debian
                Description:    Debian GNU/Linux 9.13 (stretch)
                Release:        9.13
                Codename:       stretch
                ​
                • zabbix-release_6.0-4+debian9_all.deb
                Code:
                # wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian9_all.deb
                --2023-05-11 19:04:55--  https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian9_all.deb
                Resolvendo repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001
                Conectando-se a repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... conectado.
                ERROR: The certificate for "repo.zabbix.com" is not trusted.
                ERROR: The certificate for "repo.zabbix.com" has expired.​
                ​
                • zabbix-release_6.0-4+debian10_all.deb
                Code:
                # wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian10_all.deb
                --2023-05-11 19:05:11--  https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian10_all.deb
                Resolvendo repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001
                Conectando-se a repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... conectado.
                ERROR: The certificate for "repo.zabbix.com" is not trusted.
                ERROR: The certificate for "repo.zabbix.com" has expired.​​
                ​
                • zabbix-release_6.0-4+debian11_all.deb
                Code:
                # wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian11_all.de
                --2023-05-11 19:05:23--  https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian11_all.de
                Resolvendo repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001
                Conectando-se a repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... conectado.
                ERROR: The certificate for "repo.zabbix.com" is not trusted.
                ERROR: The certificate for "repo.zabbix.com" has expired.​​​​

                But I don't have any problem downloading it on Debian 11?

                Code:
                # lsb_release -a
                No LSB modules are available.
                Distributor ID: Debian
                Description:    Debian GNU/Linux 11 (bullseye)
                Release:        11
                Codename:       bullseye
                ​
                • zabbix-release_6.0-4+debian9_all.deb

                Code:
                # wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian9_all.deb
                --2023-05-11 19:15:14--  https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian9_all.deb
                Resolvendo repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001
                Conectando-se a repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... conectado.
                A requisição HTTP foi enviada, aguardando resposta... 200 OK
                Tamanho: 3588 (3,5K) [application/octet-stream]
                Salvando em: “zabbix-release_6.0-4+debian9_all.deb”
                
                zabbix-release_6.0-4+debian9_all.deb                                            100%[====================================================================================================================================================================================================>]   3,50K  --.-KB/s    em 0s
                
                2023-05-11 19:15:15 (68,8 MB/s) - “zabbix-release_6.0-4+debian9_all.deb” salvo [3588/3588]​
                • zabbix-release_6.0-4+debian10_all.deb
                Code:
                wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian10_all.deb
                --2023-05-11 19:16:09--  https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian10_all.deb
                Resolvendo repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001
                Conectando-se a repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... conectado.
                A requisição HTTP foi enviada, aguardando resposta... 200 OK
                Tamanho: 3672 (3,6K) [application/octet-stream]
                Salvando em: “zabbix-release_6.0-4+debian10_all.deb”
                
                zabbix-release_6.0-4+debian10_all.deb                                           100%[====================================================================================================================================================================================================>]   3,59K  --.-KB/s    em 0s
                
                2023-05-11 19:16:10 (65,2 MB/s) - “zabbix-release_6.0-4+debian10_all.deb” salvo [3672/3672]​
                • zabbix-release_6.0-4+debian11_all.deb
                Code:
                # wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian11_all.deb
                --2023-05-11 19:17:06--  https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian11_all.deb
                Resolvendo repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001
                Conectando-se a repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... conectado.
                A requisição HTTP foi enviada, aguardando resposta... 200 OK
                Tamanho: 3668 (3,6K) [application/octet-stream]
                Salvando em: “zabbix-release_6.0-4+debian11_all.deb”
                
                zabbix-release_6.0-4+debian11_all.deb                                           100%[====================================================================================================================================================================================================>]   3,58K  --.-KB/s    em 0,002s
                
                2023-05-11 19:17:06 (2,04 MB/s) - “zabbix-release_6.0-4+debian11_all.deb” salvo [3668/3668]​
                This certificate problem that occurs during wget on Debian 9 also happens during apt. I believe that if it is possible to solve this, I can install Zabbix. Can you explain to me what is happening or give me some tips on how to solve this?

                Comment

                • celsoannes
                  Junior Member
                  • May 2023
                  • 6

                  #8
                  I found a way to work around these issues and install Zabbix 6.0 LTS on Debian 9 (stretch).
                  1. vim /etc/ca-certificates.conf
                  2. comment line -> mozilla/DST_Root_CA_X3.crt
                  3. update-ca-certificates -f -v
                  4. wget https://repo.zabbix.com/zabbix/6.0/d...ebian9_all.deb
                  5. mkdir zabbix
                  6. dpkg -x zabbix-release_6.0-4+debian9_all.deb zabbix
                  7. cp -av zabbix/etc/apt /etc/apt/
                  8. apt update
                  9. apt install zabbix-agent
                  10. systemctl restart zabbix-agent
                  11. systemctl enable zabbix-agent



                  Comment

                  Working...