Ad Widget

Collapse

Fresh install getting error: Unable to locate package Zabbix-xxxxxxxx

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tufyuma
    Junior Member
    • Nov 2024
    • 4

    #1

    Fresh install getting error: Unable to locate package Zabbix-xxxxxxxx

    I'm ok with Linux but not great....
    using Lubuntu (but had the same issue on Ubuntu Server, which i would prefer to use).
    Installed Dependencies without issue: apache, php, mariadb, mysql.
    Zabbix repository seemed to work fine:
    # wget https://repo.zabbix.com/zabbix/7.0/u...u24.04_all.deb
    # dpkg -i zabbix-release_latest+ubuntu24.04_all.deb
    # apt update

    The problem comes when i try to "install zabbix server, frontend, agent.
    root@xxxxx:/home/xx# 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-server-mysql
    E: Unable to locate package zabbix-agent


    Can anyone point me in the correct direction.

    install info:
    root@xxxxx:/home/xxxx# cat /etc/os-release
    PRETTY_NAME="Ubuntu 24.04.1 LTS"
    NAME="Ubuntu"
    VERSION_ID="24.04"
    VERSION="24.04.1 LTS (Noble Numbat)"
    VERSION_CODENAME=noble
    ID=ubuntu
    ID_LIKE=debian
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    UBUNTU_CODENAME=noble
    LOGO=ubuntu-logo

    Thanks in advance!

    Jim
  • Tufyuma
    Junior Member
    • Nov 2024
    • 4

    #2
    I tried that,and I am still getting the same error:

    here is the outcome:
    jim@zabbix:~$ sudo apt install mysql-server mysql-client
    [sudo] password for jim:
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    mysql-server is already the newest version (8.0.40-0ubuntu0.24.04.1).
    The following packages were automatically installed and are no longer required:
    galera-4 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libmariadb3
    libmysqlclient21 libterm-readkey-perl liburing2 mariadb-common pv socat
    Use 'sudo apt autoremove' to remove them.
    The following NEW packages will be installed:
    mysql-client
    0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
    Need to get 9,416 B of archives.
    After this operation, 41.0 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 mysql-client all 8.0.40-0ubuntu0.24.04.1 [9,416 B]
    Fetched 9,416 B in 0s (49.5 kB/s)
    Selecting previously unselected package mysql-client.
    (Reading database ... 305055 files and directories currently installed.)
    Preparing to unpack .../mysql-client_8.0.40-0ubuntu0.24.04.1_all.deb ...
    Unpacking mysql-client (8.0.40-0ubuntu0.24.04.1) ...
    Setting up mysql-client (8.0.40-0ubuntu0.24.04.1) ...
    jim@zabbix:~$ sudo 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-server-mysql

    I even tried rebooting, but still getting E: Unable to locate package zabbix-server-mysql

    Thanks, I think i got a step farther, though!
    Jim​

    Comment

    • Tufyuma
      Junior Member
      • Nov 2024
      • 4

      #3
      I decided to do a fresh install of Ubuntu Server and things seem to be running better, will report back when I am sure it's working.

      Comment

      • Tufyuma
        Junior Member
        • Nov 2024
        • 4

        #4
        I finally got it working on Ubuntu Server.
        I had to run what Donkey suggested (sudo apt install mysql-server mysql-client) between steps 2b and 2c

        Then when I ran (in step 2d) : zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix
        I may have gotten impatient, a time or two, there is no status or anything to tell you it's running, I got sidetracked and later noticed that it was at # and had finished!
        I can now log into the gui, so now i just have to teach myself how to use it!

        Thanks for your help Donkey, it really was the piece I was missing!

        Jim

        Comment

        Working...