Ad Widget

Collapse

Zabbix server is not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #16
    Its been a while, since I did something with debian... Probably need to modify your repo list...

    First thing was to install new repo, was that successful?
    Code:
    # wget https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian11_all.deb
    # dpkg -i zabbix-release_6.4-1+debian11_all.deb
    # apt update
    There is some deb or dpkg option to identify which repo provides you the package.. maybe you need to remove some older zabbix repo from your repo list and update to new one...

    Comment

    • grohlfer
      Junior Member
      • Apr 2024
      • 7

      #17
      Well, I started over with a fresh install of Debian and Zabbix, this time using version 6.0 packages, but it won't install:
      Click image for larger version

Name:	Screenshot 2024-04-01 120154.png
Views:	463
Size:	360.4 KB
ID:	481681
      Code:
      root@orangepi3-lts:/usr/src#wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian11_all.deb
      --2024-04-01 11:56:19-- https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-4+debian11_all.deb
      Resolving repo.zabbix.com (repo.zabbix.com)... 2604:a880:2:d0::2062:d001, 178.128.6.101
      Connecting to repo.zabbix.com (repo.zabbix.com)|2604:a880:2:d0::2062:d001|:443.. . connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 3668 (3.6K) [application/octet-stream]
      Saving to: ‘zabbix-release_6.0-4+debian11_all.deb’
      
      zabbix-release_6.0-4+debian11_all.deb 100%[================================================== ==========================================>] 3.58K --.-KB/s in 0s
      
      2024-04-01 11:56:20 (24.2 MB/s) - ‘zabbix-release_6.0-4+debian11_all.deb’ saved [3668/3668]
      Code:
      root@orangepi3-lts:/usr/src# dpkg -i zabbix-release_6.0-4+debian11_all.deb
      Selecting previously unselected package zabbix-release.
      (Reading database ... 129674 files and directories currently installed.)
      Preparing to unpack zabbix-release_6.0-4+debian11_all.deb ...
      Unpacking zabbix-release (1:6.0-4+debian11) ...
      Setting up zabbix-release (1:6.0-4+debian11) ...
      Code:
      root@orangepi3-lts:/usr/src# apt update
      Get:1 https://repo.zabbix.com/zabbix-agent2-plugins/1/debian bullseye InRelease [4,927 B]
      Get:2 https://repo.zabbix.com/zabbix/6.0/debian bullseye InRelease [4,933 B]
      Hit:3 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye InRelease
      Get:4 https://repo.zabbix.com/zabbix-agent2-plugins/1/debian bullseye/main Sources [1,001 B]
      Hit:5 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye-updates InRelease
      Get:6 https://repo.zabbix.com/zabbix-agent2-plugins/1/debian bullseye/main amd64 Packages [621 B]
      Hit:7 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye-backports InRelease
      Get:8 https://repo.zabbix.com/zabbix/6.0/debian bullseye/main Sources [2,262 B]
      Get:9 http://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security InRelease [48.4 kB]
      Fetched 62.1 kB in 4s (14.4 kB/s)
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      All packages are up to date.
      N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://repo.zabbix.com/zabbix/6.0/debian bullseye InRelease' doesn't support architecture 'arm64'
      N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'https://repo.zabbix.com/zabbix/6.0/debian bullseye InRelease' doesn't support architecture 'armhf'
      Code:
      root@orangepi3-lts:/usr/src# apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      E: Unable to locate package zabbix-apache-conf
      E: Unable to locate package zabbix-sql-scripts

      Any ideas why?

      Comment

      • grohlfer
        Junior Member
        • Apr 2024
        • 7

        #18
        Originally posted by cyber
        Its been a while, since I did something with debian... Probably need to modify your repo list...

        First thing was to install new repo, was that successful?
        Code:
        # wget https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian11_all.deb
        # dpkg -i zabbix-release_6.4-1+debian11_all.deb
        # apt update
        There is some deb or dpkg option to identify which repo provides you the package.. maybe you need to remove some older zabbix repo from your repo list and update to new one...
        Yes, it works:
        Code:
        root@orangepi3-lts:/usr/src# wget https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian11_all.deb
        --2024-04-01 12:05:53-- https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian11_all.deb
        Resolving repo.zabbix.com (repo.zabbix.com)... 2604:a880:2:d0::2062:d001, 178.128.6.101
        Connecting to repo.zabbix.com (repo.zabbix.com)|2604:a880:2:d0::2062:d001|:443.. . connected.
        HTTP request sent, awaiting response... 200 OK
        Length: 3740 (3.7K) [application/octet-stream]
        Saving to: ‘zabbix-release_6.4-1+debian11_all.deb’
        
        zabbix-release_6.4-1+debian11_all.deb 100%[================================================== ==========================================>] 3.65K --.-KB/s in 0s
        
        2024-04-01 12:05:55 (23.2 MB/s) - ‘zabbix-release_6.4-1+debian11_all.deb’ saved [3740/3740]
        Code:
        root@orangepi3-lts:/usr/src# dpkg -i zabbix-release_6.4-1+debian11_all.deb
        (Reading database ... 129681 files and directories currently installed.)
        Preparing to unpack zabbix-release_6.4-1+debian11_all.deb ...
        Unpacking zabbix-release (1:6.4-1+debian11) over (1:6.0-4+debian11) ...
        Setting up zabbix-release (1:6.4-1+debian11) ...
        Installing new version of config file /etc/apt/sources.list.d/zabbix.list ...
        Code:
        root@orangepi3-lts:/usr/src# apt update
        Hit:1 https://repo.zabbix.com/zabbix-agent2-plugins/1/debian bullseye InRelease
        Get:2 https://repo.zabbix.com/zabbix/6.4/debian bullseye InRelease [2,874 B]
        Get:3 https://repo.zabbix.com/zabbix/6.4/debian bullseye/main Sources [14.8 kB]
        Get:4 https://repo.zabbix.com/zabbix/6.4/debian bullseye/main all Packages [9,204 B]
        Hit:5 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye InRelease
        Get:6 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye-updates InRelease [44.1 kB]
        Get:7 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye-backports InRelease [49.0 kB]
        Hit:8 http://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security InRelease
        Fetched 120 kB in 6s (21.7 kB/s)
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        All packages are up to date.
        N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://repo.zabbix.com/zabbix/6.4/debian bullseye InRelease' doesn't support architecture 'arm64'
        N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'https://repo.zabbix.com/zabbix/6.4/debian bullseye InRelease' doesn't support architecture 'armhf'
        ​
        The problem seems to be on the next step, when invoking installation of zabbix-server and zabbix-agent install version 5.0.8 instead of 6.4...
        Code:
        root@orangepi3-lts:/usr/src# apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        The following additional packages will be installed:
        fonts-dejavu fonts-dejavu-extra libodbc1 libopenipmi0
        Suggested packages:
        libmyodbc odbc-postgresql tdsodbc unixodbc-bin zabbix-nginx-conf snmp-mibs-downloader
        Recommended packages:
        snmpd nmap traceroute
        The following NEW packages will be installed:
        fonts-dejavu fonts-dejavu-extra libodbc1 libopenipmi0 zabbix-agent zabbix-apache-conf zabbix-frontend-php zabbix-server-mysql zabbix-sql-scripts
        0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
        Need to get 22.8 MB of archives.
        After this operation, 68.4 MB of additional disk space will be used.
        Do you want to continue? [Y/n] y
        Get:1 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye/main arm64 zabbix-agent arm64 1:5.0.8+dfsg-1 [565 kB]
        Get:2 https://repo.zabbix.com/zabbix/6.4/debian bullseye/main all zabbix-frontend-php all 1:6.4.13-1+debian11 [7,747 kB]
        Get:3 https://repo.zabbix.com/zabbix/6.4/debian bullseye/main all zabbix-apache-conf all 1:6.4.13-1+debian11 [430 kB]
        Get:4 https://repo.zabbix.com/zabbix/6.4/debian bullseye/main all zabbix-sql-scripts all 1:6.4.13-1+debian11 [8,268 kB]
        Get:5 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye/main arm64 fonts-dejavu-extra all 2.37-2 [2,070 kB]
        Get:6 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye/main arm64 fonts-dejavu all 2.37-2 [32.6 kB]
        Get:7 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye/main arm64 libodbc1 arm64 2.3.6-0.1+b1 [202 kB]
        Get:8 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye/main arm64 libopenipmi0 arm64 2.0.29-0.1+b1 [520 kB]
        Get:9 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye/main arm64 zabbix-server-mysql arm64 1:5.0.8+dfsg-1 [2,963 kB]
        Fetched 22.8 MB in 6s (3,986 kB/s)
        Selecting previously unselected package zabbix-agent.
        (Reading database ... 129681 files and directories currently installed.)
        Preparing to unpack .../0-zabbix-agent_1%3a5.0.8+dfsg-1_arm64.deb ...
        Unpacking zabbix-agent (1:5.0.8+dfsg-1) ...
        Selecting previously unselected package fonts-dejavu-extra.
        Preparing to unpack .../1-fonts-dejavu-extra_2.37-2_all.deb ...
        Unpacking fonts-dejavu-extra (2.37-2) ...
        Selecting previously unselected package fonts-dejavu.
        Preparing to unpack .../2-fonts-dejavu_2.37-2_all.deb ...
        Unpacking fonts-dejavu (2.37-2) ...
        Selecting previously unselected package libodbc1:arm64.
        Preparing to unpack .../3-libodbc1_2.3.6-0.1+b1_arm64.deb ...
        Unpacking libodbc1:arm64 (2.3.6-0.1+b1) ...
        Selecting previously unselected package libopenipmi0.
        Preparing to unpack .../4-libopenipmi0_2.0.29-0.1+b1_arm64.deb ...
        Unpacking libopenipmi0 (2.0.29-0.1+b1) ...
        Selecting previously unselected package zabbix-frontend-php.
        Preparing to unpack .../5-zabbix-frontend-php_1%3a6.4.13-1+debian11_all.deb ...
        Unpacking zabbix-frontend-php (1:6.4.13-1+debian11) ...
        Selecting previously unselected package zabbix-apache-conf.
        Preparing to unpack .../6-zabbix-apache-conf_1%3a6.4.13-1+debian11_all.deb ...
        Unpacking zabbix-apache-conf (1:6.4.13-1+debian11) ...
        Selecting previously unselected package zabbix-server-mysql.
        Preparing to unpack .../7-zabbix-server-mysql_1%3a5.0.8+dfsg-1_arm64.deb ...
        Unpacking zabbix-server-mysql (1:5.0.8+dfsg-1) ...
        Selecting previously unselected package zabbix-sql-scripts.
        Preparing to unpack .../8-zabbix-sql-scripts_1%3a6.4.13-1+debian11_all.deb ...
        Unpacking zabbix-sql-scripts (1:6.4.13-1+debian11) ...
        Setting up zabbix-sql-scripts (1:6.4.13-1+debian11) ...
        Setting up libodbc1:arm64 (2.3.6-0.1+b1) ...
        Setting up fonts-dejavu-extra (2.37-2) ...
        Setting up zabbix-agent (1:5.0.8+dfsg-1) ...
        
        Creating config file /etc/zabbix/zabbix_agentd.conf with new version
        Created symlink /etc/systemd/system/multi-user.target.wants/zabbix-agent.service → /lib/systemd/system/zabbix-agent.service.
        Setting up libopenipmi0 (2.0.29-0.1+b1) ...
        Setting up fonts-dejavu (2.37-2) ...
        Setting up zabbix-server-mysql (1:5.0.8+dfsg-1) ...
        
        Creating config file /etc/zabbix/zabbix_server.conf with new version
        
        Creating config file /etc/sudoers.d/zabbix with new version
        Created symlink /etc/systemd/system/multi-user.target.wants/zabbix-server.service → /lib/systemd/system/zabbix-server.service.
        Setting up zabbix-frontend-php (1:6.4.13-1+debian11) ...
        update-alternatives: using /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf to provide /usr/share/zabbix/assets/fonts/graphfont.ttf (zabbix-frontend-font) in auto mode
        Setting up zabbix-apache-conf (1:6.4.13-1+debian11) ...
        Enabling conf zabbix.
        To activate the new configuration, you need to run:
        systemctl reload apache2
        Processing triggers for libc-bin (2.31-13+deb11u8) ...
        Processing triggers for man-db (2.9.4-2) ...
        Processing triggers for fontconfig (2.13.1-4.2) ...
        ​

        Comment

        • grohlfer
          Junior Member
          • Apr 2024
          • 7

          #19
          I'm hopeless! After 48 hours trying to install something supposed to be straightforward since all steps and scripts where provided by Zabbix themselves, my conclusion is that it must be something wrong that need their attention to be fixed.
          I'm giving up!

          Comment

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

            #20
            Code:
            Get:9 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye/main arm64 zabbix-server-mysql arm64 1:5.0.8+dfsg-1 [2,963 kB]
            Other packages it takes directly from zabbix repo, but this one from mirror, where it finds wrong version... You should be able to force usage of particular repo for specific package... There are some hints for this in here -> https://superuser.com/questions/1241...nstalled-emacs

            This is not Zabbix issue, but your local issue with repos and their priorities.

            Comment

            Working...