Ad Widget

Collapse

Installation zabbix problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • przemo2
    Junior Member
    • Oct 2020
    • 23

    #1

    Installation zabbix problem

    During the installation I always used the commands from zabbix.com everything was fine, now I want to install on Ubuntu 22.04 and when I try to install

    # apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent

    N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease' doesn't support architecture 'i386'
    N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease' doesn't support architecture 'amd64'

    will you help !!!​​
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    On which platform are you running Ubuntu? You are using arm64 architecture in your repository.

    Markku

    Comment

    • przemo2
      Junior Member
      • Oct 2020
      • 23

      #3
      hello, thank you made me aware. I'm working on ESXI, set up the machine and forgot to add CPU resources. But after entering the command,

      # apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix- sql-scripts zabbix-agent

      I have an error​

      The package could not be found
      zabbix-apache-conf
      zabbix-sql-scripts​


      so I run

      # apt-get update
      and I'll get you

      N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease' doesn't support architecture 'i386'
      N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease' doesn't support architecture 'amd64'
      ​​
      Last edited by przemo2; 20-10-2022, 19:12.

      Comment

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

        #4
        Please show the output of the following commands (run as root, or with sudo):

        apt update
        dpkg -l zabbix\*
        apt install zabbix-apache-conf zabbix-sql-scripts


        Markku

        Comment

        • przemo2
          Junior Member
          • Oct 2020
          • 23

          #5
          [HASHTAG="t4118"]apt[/HASHTAG] update
          Stary:1 http://pl.archive.ubuntu.com/ubuntu jammy InRelease
          Stary:2 http://pl.archive.ubuntu.com/ubuntu jammy-updates InRelease
          Stary:3 http://pl.archive.ubuntu.com/ubuntu jammy-backports InRelease
          Pobieranie:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
          Stary:5 https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease
          Pobrano 110 kB w 1s (114 kB/s)
          Czytanie list pakietów... Gotowe
          Budowanie drzewa zależności... Gotowe
          Odczyt informacji o stanie... Gotowe
          117 packages can be upgraded. Run 'apt list --upgradable' to see them.
          N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease' doesn't support architecture 'amd64'
          N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease' doesn't support architecture 'i386'

          #dpkg -l zabbix\*

          Wybór:U=nieznany/I=instalacja/R=usunięcie/P=wyczyszczenie/H=zatrzymanie
          | Stan:N=brak/I=zainstalowany/C=skonfigurowany/U=rozpakowany/
          |/ F=częśc. skonfigurowany/H=częśc. zainstalowany/W=wyzw. czek./T=wyzw. zapl.
          || Błędy?=(brak)/R-do pon. inst. (duże litery w "Stan" i "Błędy"=problemy)
          ||/ Nazwa Wersja Architektura Opis
          +++-==============-===================-============-===========================>
          ii zabbix-release 1:6.2-2+ubuntu22.04 all Zabbix official repository >


          [HASHTAG="t4118"]apt[/HASHTAG] install zabbix-apache-conf zabbix-sql-scripts

          Czytanie list pakietów... Gotowe
          Budowanie drzewa zależności... Gotowe
          Odczyt informacji o stanie... Gotowe
          E: Nie udało się odnaleźć pakietu zabbix-apache-conf
          E: Nie udało się odnaleźć pakietu zabbix-sql-scripts



          Comment

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

            #6
            You are still using the incorrect repository ("arm64") for an x64 ESXi host.

            apt purge zabbix\*

            and then follow the instructions at zabbix.com download section, select Ubuntu (not Ubuntu arm64).

            Markku

            Comment

            • przemo2
              Junior Member
              • Oct 2020
              • 23

              #7
              Executes commands
              https://www.zabbix.com/download?zabb...ubuntu&os_vers ion=22.04&components=server_frontend_agent&db=mysq l&ws=apache


              and still receives

              117 packages can be upgraded. Run 'apt list --upgradable' to see them.
              N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease' doesn't support architecture 'amd64'
              N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease' doesn't support architecture 'i386'
              root@zabbix:/home/przemo# apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
              Czytanie list pakietów... Gotowe
              Budowanie drzewa zależności... Gotowe
              Odczyt informacji o stanie... Gotowe
              E: Nie udało się odnaleźć pakietu zabbix-apache-conf
              E: Nie udało się odnaleźć pakietu zabbix-sql-scripts
              ​​​

              Comment

              • Atsushi
                Senior Member
                • Aug 2013
                • 2028

                #8
                The current state seems to be accessing the repository for arm64. Did you run apt update after installing the zabbix-release package for amd64?

                Comment

                • przemo2
                  Junior Member
                  • Oct 2020
                  • 23

                  #9
                  Originally posted by Markku
                  You are still using the incorrect repository ("arm64") for an x64 ESXi host.

                  apt purge zabbix\*

                  and then follow the instructions at zabbix.com download section, select Ubuntu (not Ubuntu arm64).

                  Markku

                  i did so now i download Ubuntu​ :

                  # wget https://repo.zabbix.com/zabbix/6.2/u...u22.04_all.deb
                  # dpkg -i zabbix-release_6.2-2+ubuntu22.04_all.deb
                  # apt update

                  and still receives

                  N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease' doesn't support architecture 'amd64'
                  N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.zabbix.com/zabbix/6.2/ubuntu-arm64 jammy InRelease' doesn't support architecture 'i386'​​

                  Comment

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

                    #10
                    You still have your repositories messed up.

                    Go to /etc/apt/sources.list.d directory. Delete all files related to Zabbix there. Then:

                    apt purge zabbix\*
                    dpkg -l zabbix\*
                    apt update
                    cd
                    (or go to wherever directory you saved the deb file)
                    dpkg -i zabbix-release_6.2-2+ubuntu22.04_all.deb
                    apt update​
                    apt install zabbix-apache-conf zabbix-sql-scripts
                    dpkg -l zabbix\*


                    Also show us all the output when you do the above.

                    Markku

                    Comment

                    • B3-Admin
                      Junior Member
                      • Jun 2023
                      • 3

                      #11
                      Hello
                      After upgrading to the latest Zabbix agent I have the same problem:​
                      Code:
                      root@xxx-xxx-xxx:/etc/apt/sources.list.d# dpkg -l zabbix\*
                      Desired=Unknown/Install/Remove/Purge/Hold
                      | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                      |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                      ||/ Name                            Version               Architecture Description
                      +++-===============================-=====================-============-============================================================
                      ii  zabbix-agent2                   1:6.4.3-1+ubuntu20.04 amd64        Zabbix network monitoring solution - agent
                      ii  zabbix-agent2-plugin-mongodb    6.4.3-1+ubuntu20.04   amd64        Zabbix Agent2 plugin for monitoring MongoDB installations
                      ii  zabbix-agent2-plugin-postgresql 6.4.3-1+ubuntu20.04   amd64        Zabbix Agent2 plugin for monitoring PostgreSQL installations
                      ii  zabbix-proxy-mysql              1:6.4.3-1+ubuntu20.04 amd64        Zabbix network monitoring solution - proxy (MySQL)
                      un  zabbix-proxy-pgsql              <none>                <none>       (no description available)
                      un  zabbix-proxy-sqlite3            <none>                <none>       (no description available)
                      ii  zabbix-release                  1:6.4-1+ubuntu20.04   all          Zabbix official repository configuration
                      root@xxx-xxx-xxx:/etc/zabbix# apt purge zabbix\*
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      Note, selecting 'zabbix-agent2' for glob 'zabbix*'
                      Note, selecting 'zabbix-proxy-pgsql' for glob 'zabbix*'
                      Note, selecting 'zabbix-agent' for glob 'zabbix*'
                      Note, selecting 'zabbix-server-pgsql' for glob 'zabbix*'
                      Note, selecting 'zabbix-apache-conf' for glob 'zabbix*'
                      Note, selecting 'zabbix-agent2-plugin-postgresql' for glob 'zabbix*'
                      Note, selecting 'zabbix-agent-dbgsym' for glob 'zabbix*'
                      Note, selecting 'zabbix-js-dbgsym' for glob 'zabbix*'
                      Note, selecting 'zabbix-web-service' for glob 'zabbix*'
                      Note, selecting 'zabbix-sender-dbgsym' for glob 'zabbix*'
                      Note, selecting 'zabbix-proxy-mysql' for glob 'zabbix*'
                      Note, selecting 'zabbix-server-mysql' for glob 'zabbix*'
                      Note, selecting 'zabbix-agent2-dbgsym' for glob 'zabbix*'
                      Note, selecting 'zabbix-proxy-pgsql-dbgsym' for glob 'zabbix*'
                      Note, selecting 'zabbix-sender' for glob 'zabbix*'
                      Note, selecting 'zabbix-nginx-conf' for glob 'zabbix*'
                      Note, selecting 'zabbix-proxy-sqlite3' for glob 'zabbix*'
                      Note, selecting 'zabbix-get-dbgsym' for glob 'zabbix*'
                      Note, selecting 'zabbix-proxy-mysql-dbgsym' for glob 'zabbix*'
                      Note, selecting 'zabbix-get' for glob 'zabbix*'
                      Note, selecting 'zabbix-js' for glob 'zabbix*'
                      Note, selecting 'zabbix-frontend-php' for glob 'zabbix*'
                      Note, selecting 'zabbix-agent2-plugin-mongodb' for glob 'zabbix*'
                      Note, selecting 'zabbix-server-pgsql-dbgsym' for glob 'zabbix*'
                      Note, selecting 'zabbix-sql-scripts' for glob 'zabbix*'
                      Note, selecting 'zabbix-java-gateway' for glob 'zabbix*'
                      Note, selecting 'zabbix-release' for glob 'zabbix*'
                      Note, selecting 'zabbix-server-mysql-dbgsym' for glob 'zabbix*'
                      Note, selecting 'zabbix-proxy-sqlite3-dbgsym' for glob 'zabbix*'
                      Package 'zabbix-agent' is not installed, so not removed
                      Package 'zabbix-agent-dbgsym' is not installed, so not removed
                      Package 'zabbix-agent2-dbgsym' is not installed, so not removed
                      Package 'zabbix-apache-conf' is not installed, so not removed
                      Package 'zabbix-frontend-php' is not installed, so not removed
                      Package 'zabbix-get' is not installed, so not removed
                      Package 'zabbix-get-dbgsym' is not installed, so not removed
                      Package 'zabbix-java-gateway' is not installed, so not removed
                      Package 'zabbix-js' is not installed, so not removed
                      Package 'zabbix-js-dbgsym' is not installed, so not removed
                      Package 'zabbix-nginx-conf' is not installed, so not removed
                      Package 'zabbix-proxy-mysql-dbgsym' is not installed, so not removed
                      Package 'zabbix-proxy-pgsql' is not installed, so not removed
                      Package 'zabbix-proxy-pgsql-dbgsym' is not installed, so not removed
                      Package 'zabbix-proxy-sqlite3' is not installed, so not removed
                      Package 'zabbix-proxy-sqlite3-dbgsym' is not installed, so not removed
                      Package 'zabbix-sender' is not installed, so not removed
                      Package 'zabbix-sender-dbgsym' is not installed, so not removed
                      Package 'zabbix-server-mysql' is not installed, so not removed
                      Package 'zabbix-server-mysql-dbgsym' is not installed, so not removed
                      Package 'zabbix-server-pgsql' is not installed, so not removed
                      Package 'zabbix-server-pgsql-dbgsym' is not installed, so not removed
                      Package 'zabbix-sql-scripts' is not installed, so not removed
                      Package 'zabbix-web-service' is not installed, so not removed
                      The following packages were automatically installed and are no longer required:
                        fping libevent-2.1-7 libevent-core-2.1-7 libevent-pthreads-2.1-7 libopenipmi0 libssh2-1 linux-headers-5.4.0-100 linux-headers-5.4.0-100-generic linux-image-5.4.0-100-generic linux-modules-5.4.0-100-generic linux-modules-extra-5.4.0-100-generic
                      Use 'apt autoremove' to remove them.
                      The following packages will be REMOVED:
                        zabbix-agent2* zabbix-agent2-plugin-mongodb* zabbix-agent2-plugin-postgresql* zabbix-proxy-mysql* zabbix-release*
                      0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
                      After this operation, 39.4 MB disk space will be freed.
                      Do you want to continue? [Y/n] Y
                      (Reading database ... 223519 files and directories currently installed.)
                      Removing zabbix-agent2 (1:6.4.3-1+ubuntu20.04) ...
                      Removing zabbix-agent2-plugin-mongodb (6.4.3-1+ubuntu20.04) ...
                      Removing zabbix-agent2-plugin-postgresql (6.4.3-1+ubuntu20.04) ...
                      Removing zabbix-proxy-mysql (1:6.4.3-1+ubuntu20.04) ...
                      Removing zabbix-release (1:6.4-1+ubuntu20.04) ...
                      Processing triggers for man-db (2.9.1-1) ...
                      (Reading database ... 223486 files and directories currently installed.)
                      Purging configuration files for zabbix-agent2-plugin-postgresql (6.4.3-1+ubuntu20.04) ...
                      Purging configuration files for zabbix-release (1:6.4-1+ubuntu20.04) ...
                      Purging configuration files for zabbix-proxy-mysql (1:6.4.3-1+ubuntu20.04) ...
                      dpkg: warning: while removing zabbix-proxy-mysql, directory '/var/log/zabbix' not empty so not removed
                      Purging configuration files for zabbix-agent2-plugin-mongodb (6.4.3-1+ubuntu20.04) ...
                      Purging configuration files for zabbix-agent2 (1:6.4.3-1+ubuntu20.04) ...
                      dpkg: warning: while removing zabbix-agent2, directory '/etc/zabbix/zabbix_agent2.d' not empty so not removed
                      Processing triggers for systemd (245.4-4ubuntu3.21) ...
                      root@xxx-xxx-xxx:/etc/zabbix# dpkg -l zabbix\*
                      dpkg-query: no packages found matching zabbix*
                      root@xxx-xxx-xxx:/etc/zabbix# apt update
                      Hit:1 http://asi-fs-d.contabo.net/ubuntu focal InRelease
                      Hit:2 http://asi-fs-d.contabo.net/ubuntu focal-updates InRelease
                      Hit:3 http://asi-fs-d.contabo.net/ubuntu focal-backports InRelease
                      Hit:4 http://autoinstall.plesk.com/pool/PSA_18.0.52_11753 focal InRelease
                      Hit:5 http://autoinstall.plesk.com/PHP74_17 focal InRelease
                      Hit:6 http://autoinstall.plesk.com/PHP80_17 focal InRelease
                      Hit:7 https://autoinstall.plesk.com/grafana/deb stable InRelease
                      Hit:8 http://security.ubuntu.com/ubuntu focal-security InRelease
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      All packages are up to date.
                      root@xxx-xxx-xxx:/etc/zabbix# ls -trla
                      total 24
                      -rw-r--r--   1 root root    33 Aug 23  2021 zabbix_psk.key
                      drwxr-xr-x 119 root root 12288 Jun  6 07:09 ..
                      drwxr-xr-x   3 root root  4096 Jun  6 07:15 .
                      drwxr-xr-x   2 root root  4096 Jun  6 07:15 zabbix_agent2.d
                      root@xxx-xxx-xxx:/etc/zabbix# apt install zabbix-agent2 zabbix-agent2-plugin-*
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      E: Unable to locate package zabbix-agent2
                      E: Unable to locate package zabbix-agent2-plugin-*
                      E: Couldn't find any package by glob 'zabbix-agent2-plugin-*'
                      root@xxx-xxx-xxx:/etc/zabbix# cd /root
                      root@xxx-xxx-xxx:~# ls -trla
                      total 35628
                      ...
                      -rw-r--r--  1 root root     3752 Mar  6 17:21 zabbix-release_6.4-1+ubuntu20.04_all.deb
                      ...
                      drwx------ 14 root root     4096 Jun  6 07:06 .
                      root@xxx-xxx-xxx:~# dpkg -i zabbix-release_6.4-1+ubuntu20.04_all.deb
                      Selecting previously unselected package zabbix-release.
                      (Reading database ... 223469 files and directories currently installed.)
                      Preparing to unpack zabbix-release_6.4-1+ubuntu20.04_all.deb ...
                      Unpacking zabbix-release (1:6.4-1+ubuntu20.04) ...
                      Setting up zabbix-release (1:6.4-1+ubuntu20.04) ...
                      root@xxx-xxx-xxx:~# apt update
                      Hit:1 http://asi-fs-d.contabo.net/ubuntu focal InRelease
                      Hit:2 http://autoinstall.plesk.com/pool/PSA_18.0.52_11753 focal InRelease
                      Hit:3 http://asi-fs-d.contabo.net/ubuntu focal-updates InRelease
                      Hit:4 http://asi-fs-d.contabo.net/ubuntu focal-backports InRelease
                      Hit:5 http://autoinstall.plesk.com/PHP74_17 focal InRelease
                      Hit:6 http://autoinstall.plesk.com/PHP80_17 focal InRelease
                      Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
                      Hit:8 https://autoinstall.plesk.com/grafana/deb stable InRelease
                      Get:9 https://repo.zabbix.com/zabbix/6.4/ubuntu focal InRelease [4,958 B]
                      Get:10 https://repo.zabbix.com/zabbix/6.4/ubuntu focal/main Sources [1,941 B]
                      Get:11 https://repo.zabbix.com/zabbix/6.4/ubuntu focal/main amd64 Packages [5,496 B]
                      Fetched 126 kB in 1s (126 kB/s)
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      All packages are up to date.
                      N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.zabbix.com/zabbix/6.4/ubuntu focal InRelease' doesn't support architecture 'i386'
                      root@xxx-xxx-xxx:~# apt install zabbix-agent2 zabbix-agent2-plugin-*
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      Note, selecting 'zabbix-agent2-plugin-postgresql' for glob 'zabbix-agent2-plugin-*'
                      Note, selecting 'zabbix-agent2-plugin-mongodb' for glob 'zabbix-agent2-plugin-*'
                      The following packages were automatically installed and are no longer required:
                        fping libevent-2.1-7 libevent-core-2.1-7 libevent-pthreads-2.1-7 libopenipmi0 libssh2-1 linux-headers-5.4.0-100 linux-headers-5.4.0-100-generic linux-image-5.4.0-100-generic linux-modules-5.4.0-100-generic linux-modules-extra-5.4.0-100-generic
                      Use 'apt autoremove' to remove them.
                      The following NEW packages will be installed:
                        zabbix-agent2 zabbix-agent2-plugin-mongodb zabbix-agent2-plugin-postgresql
                      0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
                      Need to get 10.3 MB of archives.
                      After this operation, 35.0 MB of additional disk space will be used.
                      Get:1 https://repo.zabbix.com/zabbix/6.4/ubuntu focal/main amd64 zabbix-agent2 amd64 1:6.4.3-1+ubuntu20.04 [4,758 kB]
                      Get:2 https://repo.zabbix.com/zabbix/6.4/ubuntu focal/main amd64 zabbix-agent2-plugin-mongodb amd64 0:6.4.3-1+ubuntu20.04 [3,078 kB]
                      Get:3 https://repo.zabbix.com/zabbix/6.4/ubuntu focal/main amd64 zabbix-agent2-plugin-postgresql amd64 0:6.4.3-1+ubuntu20.04 [2,484 kB]
                      Fetched 10.3 MB in 5s (2,103 kB/s)
                      Selecting previously unselected package zabbix-agent2.
                      (Reading database ... 223475 files and directories currently installed.)
                      Preparing to unpack .../zabbix-agent2_1%3a6.4.3-1+ubuntu20.04_amd64.deb ...
                      Unpacking zabbix-agent2 (1:6.4.3-1+ubuntu20.04) ...
                      Selecting previously unselected package zabbix-agent2-plugin-mongodb.
                      Preparing to unpack .../zabbix-agent2-plugin-mongodb_0%3a6.4.3-1+ubuntu20.04_amd64.deb ...
                      Unpacking zabbix-agent2-plugin-mongodb (6.4.3-1+ubuntu20.04) ...
                      Selecting previously unselected package zabbix-agent2-plugin-postgresql.
                      Preparing to unpack .../zabbix-agent2-plugin-postgresql_0%3a6.4.3-1+ubuntu20.04_amd64.deb ...
                      Unpacking zabbix-agent2-plugin-postgresql (6.4.3-1+ubuntu20.04) ...
                      Setting up zabbix-agent2-plugin-postgresql (6.4.3-1+ubuntu20.04) ...
                      Setting up zabbix-agent2-plugin-mongodb (6.4.3-1+ubuntu20.04) ...
                      Setting up zabbix-agent2 (1:6.4.3-1+ubuntu20.04) ...
                      Created symlink /etc/systemd/system/multi-user.target.wants/zabbix-agent2.service → /lib/systemd/system/zabbix-agent2.service.
                      Processing triggers for man-db (2.9.1-1) ...
                      Processing triggers for systemd (245.4-4ubuntu3.21) ...
                      root@xxx-xxx-xxx:~# systemctl restart zabbix-agent2
                      root@xxx-xxx-xxx:~# systemctl enable zabbix-agent2
                      Synchronizing state of zabbix-agent2.service with SysV service script with /lib/systemd/systemd-sysv-install.
                      Executing: /lib/systemd/systemd-sysv-install enable zabbix-agent2
                      root@xxx-xxx-xxx:~# systemctl status zabbix-agent2
                      ● zabbix-agent2.service - Zabbix Agent 2
                           Loaded: loaded (/lib/systemd/system/zabbix-agent2.service; enabled; vendor preset: enabled)
                           Active: active (running) since Tue 2023-06-06 07:17:24 CEST; 12s ago
                         Main PID: 2165088 (zabbix_agent2)
                            Tasks: 11 (limit: 38471)
                           Memory: 11.1M
                           CGroup: /system.slice/zabbix-agent2.service
                                   └─2165088 /usr/sbin/zabbix_agent2 -c /etc/zabbix/zabbix_agent2.conf
                      
                      Jun 06 07:17:24 xxx.xxx.xx systemd[1]: Started Zabbix Agent 2.
                      Jun 06 07:17:24 xxx.xxx.xx zabbix_agent2[2165088]: Starting Zabbix Agent 2 (6.4.3)
                      Jun 06 07:17:24 xxx.xxx.xx zabbix_agent2[2165088]: Zabbix Agent2 hostname: [xxx.xxx.xx]
                      Jun 06 07:17:24 xxx.xxx.xx zabbix_agent2[2165088]: Press Ctrl+C to exit.
                      root@xxx-xxx-xxx:~# apt update
                      Hit:1 http://asi-fs-d.contabo.net/ubuntu focal InRelease
                      Hit:2 http://asi-fs-d.contabo.net/ubuntu focal-updates InRelease
                      Hit:3 http://asi-fs-d.contabo.net/ubuntu focal-backports InRelease
                      Hit:4 http://autoinstall.plesk.com/pool/PSA_18.0.52_11753 focal InRelease
                      Hit:5 http://autoinstall.plesk.com/PHP74_17 focal InRelease
                      Hit:6 http://autoinstall.plesk.com/PHP80_17 focal InRelease
                      Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease
                      Hit:8 https://autoinstall.plesk.com/grafana/deb stable InRelease
                      Hit:9 https://repo.zabbix.com/zabbix/6.4/ubuntu focal InRelease
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      All packages are up to date.
                      N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.zabbix.com/zabbix/6.4/ubuntu focal InRelease' doesn't support architecture 'i386'
                      root@xxx-xxx-xxx:~# dpkg -l zabbix\*
                      Desired=Unknown/Install/Remove/Purge/Hold
                      | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                      |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                      ||/ Name                            Version               Architecture Description
                      +++-===============================-=====================-============-============================================================
                      ii  zabbix-agent2                   1:6.4.3-1+ubuntu20.04 amd64        Zabbix network monitoring solution - agent
                      ii  zabbix-agent2-plugin-mongodb    6.4.3-1+ubuntu20.04   amd64        Zabbix Agent2 plugin for monitoring MongoDB installations
                      ii  zabbix-agent2-plugin-postgresql 6.4.3-1+ubuntu20.04   amd64        Zabbix Agent2 plugin for monitoring PostgreSQL installations
                      ii  zabbix-release                  1:6.4-1+ubuntu20.04   all          Zabbix official repository configuration

                      Comment

                      • ManWithNoBrows
                        Junior Member
                        • Nov 2023
                        • 1

                        #12
                        It took me an hour to figure out why this issue is happening on a 64 bit system. Zabbix' repo is misconfigured. I found that if I change `/etc/apt/sources.list.d/zabbix.list` to say the following, then it works just fine. (Note the added `[arch=amd64]​` portion of the following text.

                        ```
                        # Zabbix main repository
                        deb [arch=amd64] https://repo.zabbix.com/zabbix/6.4/ubuntu jammy main
                        deb-src https://repo.zabbix.com/zabbix/6.4/ubuntu jammy main

                        # Zabbix unstable repository
                        #deb https://repo.zabbix.com/zabbix/6.3/ubuntu jammy main
                        #deb-src https://repo.zabbix.com/zabbix/6.3/ubuntu jammy main
                        ​```

                        Comment


                        • zorito
                          zorito commented
                          Editing a comment
                          Thanks ManWithNoBrows, I was trying download on my raspberry pi 3B and i change `/etc/apt/sources.list.d/zabbix.list`.
                          But for work me `[arch=arm64]​`

                        • normic
                          normic commented
                          Editing a comment
                          You made my day. Thanks for saving *me* an hour ;-)
                      Working...