I am trying to update Zabbix to the latest version (6.0) but when doing so via SSH commands on CentOs8, I get the following:
[root@MGMT-MON01 ~]# rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/9/x86_64/z abbix-release-latest.el9.noarch.rpm
Retrieving https://repo.zabbix.com/zabbix/6.0/r...-release-lates t.el9.noarch.rpm
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to repo.zabbix.c om:443
error: skipping https://repo.zabbix.com/zabbix/6.0/r...abbix-release- latest.el9.noarch.rpm - transfer failed
However, I then tried the wget command as follows below and it appeared to upgrade, but it only updated to 5.0.39 by the looks of things. I was on 5.0.26.
[root@MGMT-MON01 ~]# wget https://repo.zabbix.com/zabbix/6.0/rhel/9/x86_64/zabbi x-release-latest.el9.noarch.rpm
--2023-10-31 14:27:57-- https://repo.zabbix.com/zabbix/6.0/rhel/9/x86_64/zabbix -release-latest.el9.noarch.rpm
Resolving repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::20 62:d001
Connecting to repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... connected.
HTTP request sent, awaiting response... Read error (The request is invalid.) in headers.
Retrying.
--2023-10-31 14:28:18-- (try: 2) https://repo.zabbix.com/zabbix/6.0/rhel/9/x86 _64/zabbix-release-latest.el9.noarch.rpm
Connecting to repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 17433 (17K) [application/x-redhat-package-manager]
Saving to: ‘zabbix-release-latest.el9.noarch.rpm’
zabbix-release-late 100%[===================>] 17.02K --.-KB/s in 0s
2023-10-31 14:28:30 (180 MB/s) - ‘zabbix-release-latest.el9.noarch.rpm’ saved [1 7433/17433]
[root@MGMT-MON01 ~]#
[root@MGMT-MON01 ~]# dnf upgrade zabbix-server-pgsql zabbix-web-pgsql zabbix-age nt
Last metadata expiration check: 0:55:36 ago on Tue 31 Oct 2023 13:33:45 GMT.
Dependencies resolved.
================================================== ==============================
Package Architecture Version Repository Size
================================================== ==============================
Upgrading:
zabbix-agent x86_64 5.0.39-1.el8 zabbix 503 k
zabbix-apache-conf noarch 5.0.39-1.el8 zabbix 21 k
zabbix-server-pgsql x86_64 5.0.39-1.el8 zabbix 3.2 M
zabbix-web noarch 5.0.39-1.el8 zabbix 3.4 M
zabbix-web-deps x86_64 5.0.39-1.el8 zabbix 21 k
zabbix-web-mysql noarch 5.0.39-1.el8 zabbix 20 k
zabbix-web-pgsql noarch 5.0.39-1.el8 zabbix 20 k
Transaction Summary
================================================== ==============================
Upgrade 7 Packages
Total download size: 7.2 M
Is this ok [y/N]: y
Downloading Packages:
[MIRROR] zabbix-agent-5.0.39-1.el8.x86_64.rpm: Curl error (56): Failure when rec eiving data from the peer for http://repo.zabbix.com/zabbix/5.0/rhel/8/x86_64/za bbix-agent-5.0.39-1.el8.x86_64.rpm [Recv failure: Connection reset by peer]
[MIRROR] zabbix-apache-conf-5.0.39-1.el8.noarch.rpm: Curl error (56): Failure wh en receiving data from the peer for http://repo.zabbix.com/zabbix/5.0/rhel/8/x86 _64/zabbix-apache-conf-5.0.39-1.el8.noarch.rpm [Recv failure: Connection reset b y peer]
[MIRROR] zabbix-server-pgsql-5.0.39-1.el8.x86_64.rpm: Curl error (56): Failure w hen receiving data from the peer for http://repo.zabbix.com/zabbix/5.0/rhel/8/x8 6_64/zabbix-server-pgsql-5.0.39-1.el8.x86_64.rpm [Recv failure: Connection reset by peer]
(1/7): zabbix-apache-conf-5.0.39-1.el8.noarch.r 2.6 kB/s | 21 kB 00:07
(2/7): zabbix-agent-5.0.39-1.el8.x86_64.rpm 35 kB/s | 503 kB 00:14
(3/7): zabbix-web-deps-5.0.39-1.el8.x86_64.rpm 4.8 kB/s | 21 kB 00:04
(4/7): zabbix-server-pgsql-5.0.39-1.el8.x86_64. 165 kB/s | 3.2 MB 00:20
(5/7): zabbix-web-mysql-5.0.39-1.el8.noarch.rpm 10 kB/s | 20 kB 00:01
(6/7): zabbix-web-5.0.39-1.el8.noarch.rpm 255 kB/s | 3.4 MB 00:13
(7/7): zabbix-web-pgsql-5.0.39-1.el8.noarch.rpm 8.9 kB/s | 20 kB 00:02
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 328 kB/s | 7.2 MB 00:22
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: zabbix-web-5.0.39-1.el8.noarch 1/1
Upgrading : zabbix-web-5.0.39-1.el8.noarch 1/14
Running scriptlet: zabbix-web-5.0.39-1.el8.noarch 1/14
Upgrading : zabbix-web-deps-5.0.39-1.el8.x86_64 2/14
Upgrading : zabbix-web-mysql-5.0.39-1.el8.noarch 3/14
Upgrading : zabbix-apache-conf-5.0.39-1.el8.noarch 4/14
Running scriptlet: zabbix-apache-conf-5.0.39-1.el8.noarch 4/14
Upgrading : zabbix-web-pgsql-5.0.39-1.el8.noarch 5/14
Running scriptlet: zabbix-server-pgsql-5.0.39-1.el8.x86_64 6/14
Upgrading : zabbix-server-pgsql-5.0.39-1.el8.x86_64 6/14
Running scriptlet: zabbix-server-pgsql-5.0.39-1.el8.x86_64 6/14
Running scriptlet: zabbix-agent-5.0.39-1.el8.x86_64 7/14
Upgrading : zabbix-agent-5.0.39-1.el8.x86_64 7/14
Running scriptlet: zabbix-agent-5.0.39-1.el8.x86_64 7/14
Cleanup : zabbix-web-pgsql-5.0.38-1.el8.noarch 8/14
Cleanup : zabbix-apache-conf-5.0.38-1.el8.noarch 9/14
Cleanup : zabbix-web-deps-5.0.38-1.el8.x86_64 10/14
Cleanup : zabbix-web-mysql-5.0.38-1.el8.noarch 11/14
Running scriptlet: zabbix-web-5.0.38-1.el8.noarch 12/14
Cleanup : zabbix-web-5.0.38-1.el8.noarch 12/14
Running scriptlet: zabbix-server-pgsql-5.0.38-1.el8.x86_64 13/14
Cleanup : zabbix-server-pgsql-5.0.38-1.el8.x86_64 13/14
Running scriptlet: zabbix-server-pgsql-5.0.38-1.el8.x86_64 13/14
Running scriptlet: zabbix-agent-5.0.38-1.el8.x86_64 14/14
Cleanup : zabbix-agent-5.0.38-1.el8.x86_64 14/14
Running scriptlet: zabbix-agent-5.0.38-1.el8.x86_64 14/14
Running scriptlet: zabbix-agent-5.0.39-1.el8.x86_64 14/14
Running scriptlet: zabbix-agent-5.0.38-1.el8.x86_64 14/14
[/usr/lib/tmpfiles.d/postgresql.conf:1] Line references path below legacy directory /var/run/, updating /var/run/postgresql → /run/postgresql; please update the tmpfiles.d/ drop-in file accordingly.
Verifying : zabbix-agent-5.0.39-1.el8.x86_64 1/14
Verifying : zabbix-agent-5.0.38-1.el8.x86_64 2/14
Verifying : zabbix-apache-conf-5.0.39-1.el8.noarch 3/14
Verifying : zabbix-apache-conf-5.0.38-1.el8.noarch 4/14
Verifying : zabbix-server-pgsql-5.0.39-1.el8.x86_64 5/14
Verifying : zabbix-server-pgsql-5.0.38-1.el8.x86_64 6/14
Verifying : zabbix-web-5.0.39-1.el8.noarch 7/14
Verifying : zabbix-web-5.0.38-1.el8.noarch 8/14
Verifying : zabbix-web-deps-5.0.39-1.el8.x86_64 9/14
Verifying : zabbix-web-deps-5.0.38-1.el8.x86_64 10/14
Verifying : zabbix-web-mysql-5.0.39-1.el8.noarch 11/14
Verifying : zabbix-web-mysql-5.0.38-1.el8.noarch 12/14
Verifying : zabbix-web-pgsql-5.0.39-1.el8.noarch 13/14
Verifying : zabbix-web-pgsql-5.0.38-1.el8.noarch 14/14
Installed products updated.
Upgraded:
zabbix-agent-5.0.39-1.el8.x86_64 zabbix-apache-conf-5.0.39-1.el8.noarch zabbix-server-pgsql-5.0.39-1.el8.x86_64 zabbix-web-5.0.39-1.el8.noarch zabbix-web-deps-5.0.39-1.el8.x86_64 zabbix-web-mysql-5.0.39-1.el8.noarch
zabbix-web-pgsql-5.0.39-1.el8.noarch
Complete!
[root@MGMT-MON01 ~]# systemctl start zabbix-server
Please can someone advise on how to get it to the latest version.
[root@MGMT-MON01 ~]# rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/9/x86_64/z abbix-release-latest.el9.noarch.rpm
Retrieving https://repo.zabbix.com/zabbix/6.0/r...-release-lates t.el9.noarch.rpm
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to repo.zabbix.c om:443
error: skipping https://repo.zabbix.com/zabbix/6.0/r...abbix-release- latest.el9.noarch.rpm - transfer failed
However, I then tried the wget command as follows below and it appeared to upgrade, but it only updated to 5.0.39 by the looks of things. I was on 5.0.26.
[root@MGMT-MON01 ~]# wget https://repo.zabbix.com/zabbix/6.0/rhel/9/x86_64/zabbi x-release-latest.el9.noarch.rpm
--2023-10-31 14:27:57-- https://repo.zabbix.com/zabbix/6.0/rhel/9/x86_64/zabbix -release-latest.el9.noarch.rpm
Resolving repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::20 62:d001
Connecting to repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... connected.
HTTP request sent, awaiting response... Read error (The request is invalid.) in headers.
Retrying.
--2023-10-31 14:28:18-- (try: 2) https://repo.zabbix.com/zabbix/6.0/rhel/9/x86 _64/zabbix-release-latest.el9.noarch.rpm
Connecting to repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 17433 (17K) [application/x-redhat-package-manager]
Saving to: ‘zabbix-release-latest.el9.noarch.rpm’
zabbix-release-late 100%[===================>] 17.02K --.-KB/s in 0s
2023-10-31 14:28:30 (180 MB/s) - ‘zabbix-release-latest.el9.noarch.rpm’ saved [1 7433/17433]
[root@MGMT-MON01 ~]#
[root@MGMT-MON01 ~]# dnf upgrade zabbix-server-pgsql zabbix-web-pgsql zabbix-age nt
Last metadata expiration check: 0:55:36 ago on Tue 31 Oct 2023 13:33:45 GMT.
Dependencies resolved.
================================================== ==============================
Package Architecture Version Repository Size
================================================== ==============================
Upgrading:
zabbix-agent x86_64 5.0.39-1.el8 zabbix 503 k
zabbix-apache-conf noarch 5.0.39-1.el8 zabbix 21 k
zabbix-server-pgsql x86_64 5.0.39-1.el8 zabbix 3.2 M
zabbix-web noarch 5.0.39-1.el8 zabbix 3.4 M
zabbix-web-deps x86_64 5.0.39-1.el8 zabbix 21 k
zabbix-web-mysql noarch 5.0.39-1.el8 zabbix 20 k
zabbix-web-pgsql noarch 5.0.39-1.el8 zabbix 20 k
Transaction Summary
================================================== ==============================
Upgrade 7 Packages
Total download size: 7.2 M
Is this ok [y/N]: y
Downloading Packages:
[MIRROR] zabbix-agent-5.0.39-1.el8.x86_64.rpm: Curl error (56): Failure when rec eiving data from the peer for http://repo.zabbix.com/zabbix/5.0/rhel/8/x86_64/za bbix-agent-5.0.39-1.el8.x86_64.rpm [Recv failure: Connection reset by peer]
[MIRROR] zabbix-apache-conf-5.0.39-1.el8.noarch.rpm: Curl error (56): Failure wh en receiving data from the peer for http://repo.zabbix.com/zabbix/5.0/rhel/8/x86 _64/zabbix-apache-conf-5.0.39-1.el8.noarch.rpm [Recv failure: Connection reset b y peer]
[MIRROR] zabbix-server-pgsql-5.0.39-1.el8.x86_64.rpm: Curl error (56): Failure w hen receiving data from the peer for http://repo.zabbix.com/zabbix/5.0/rhel/8/x8 6_64/zabbix-server-pgsql-5.0.39-1.el8.x86_64.rpm [Recv failure: Connection reset by peer]
(1/7): zabbix-apache-conf-5.0.39-1.el8.noarch.r 2.6 kB/s | 21 kB 00:07
(2/7): zabbix-agent-5.0.39-1.el8.x86_64.rpm 35 kB/s | 503 kB 00:14
(3/7): zabbix-web-deps-5.0.39-1.el8.x86_64.rpm 4.8 kB/s | 21 kB 00:04
(4/7): zabbix-server-pgsql-5.0.39-1.el8.x86_64. 165 kB/s | 3.2 MB 00:20
(5/7): zabbix-web-mysql-5.0.39-1.el8.noarch.rpm 10 kB/s | 20 kB 00:01
(6/7): zabbix-web-5.0.39-1.el8.noarch.rpm 255 kB/s | 3.4 MB 00:13
(7/7): zabbix-web-pgsql-5.0.39-1.el8.noarch.rpm 8.9 kB/s | 20 kB 00:02
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 328 kB/s | 7.2 MB 00:22
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: zabbix-web-5.0.39-1.el8.noarch 1/1
Upgrading : zabbix-web-5.0.39-1.el8.noarch 1/14
Running scriptlet: zabbix-web-5.0.39-1.el8.noarch 1/14
Upgrading : zabbix-web-deps-5.0.39-1.el8.x86_64 2/14
Upgrading : zabbix-web-mysql-5.0.39-1.el8.noarch 3/14
Upgrading : zabbix-apache-conf-5.0.39-1.el8.noarch 4/14
Running scriptlet: zabbix-apache-conf-5.0.39-1.el8.noarch 4/14
Upgrading : zabbix-web-pgsql-5.0.39-1.el8.noarch 5/14
Running scriptlet: zabbix-server-pgsql-5.0.39-1.el8.x86_64 6/14
Upgrading : zabbix-server-pgsql-5.0.39-1.el8.x86_64 6/14
Running scriptlet: zabbix-server-pgsql-5.0.39-1.el8.x86_64 6/14
Running scriptlet: zabbix-agent-5.0.39-1.el8.x86_64 7/14
Upgrading : zabbix-agent-5.0.39-1.el8.x86_64 7/14
Running scriptlet: zabbix-agent-5.0.39-1.el8.x86_64 7/14
Cleanup : zabbix-web-pgsql-5.0.38-1.el8.noarch 8/14
Cleanup : zabbix-apache-conf-5.0.38-1.el8.noarch 9/14
Cleanup : zabbix-web-deps-5.0.38-1.el8.x86_64 10/14
Cleanup : zabbix-web-mysql-5.0.38-1.el8.noarch 11/14
Running scriptlet: zabbix-web-5.0.38-1.el8.noarch 12/14
Cleanup : zabbix-web-5.0.38-1.el8.noarch 12/14
Running scriptlet: zabbix-server-pgsql-5.0.38-1.el8.x86_64 13/14
Cleanup : zabbix-server-pgsql-5.0.38-1.el8.x86_64 13/14
Running scriptlet: zabbix-server-pgsql-5.0.38-1.el8.x86_64 13/14
Running scriptlet: zabbix-agent-5.0.38-1.el8.x86_64 14/14
Cleanup : zabbix-agent-5.0.38-1.el8.x86_64 14/14
Running scriptlet: zabbix-agent-5.0.38-1.el8.x86_64 14/14
Running scriptlet: zabbix-agent-5.0.39-1.el8.x86_64 14/14
Running scriptlet: zabbix-agent-5.0.38-1.el8.x86_64 14/14
[/usr/lib/tmpfiles.d/postgresql.conf:1] Line references path below legacy directory /var/run/, updating /var/run/postgresql → /run/postgresql; please update the tmpfiles.d/ drop-in file accordingly.
Verifying : zabbix-agent-5.0.39-1.el8.x86_64 1/14
Verifying : zabbix-agent-5.0.38-1.el8.x86_64 2/14
Verifying : zabbix-apache-conf-5.0.39-1.el8.noarch 3/14
Verifying : zabbix-apache-conf-5.0.38-1.el8.noarch 4/14
Verifying : zabbix-server-pgsql-5.0.39-1.el8.x86_64 5/14
Verifying : zabbix-server-pgsql-5.0.38-1.el8.x86_64 6/14
Verifying : zabbix-web-5.0.39-1.el8.noarch 7/14
Verifying : zabbix-web-5.0.38-1.el8.noarch 8/14
Verifying : zabbix-web-deps-5.0.39-1.el8.x86_64 9/14
Verifying : zabbix-web-deps-5.0.38-1.el8.x86_64 10/14
Verifying : zabbix-web-mysql-5.0.39-1.el8.noarch 11/14
Verifying : zabbix-web-mysql-5.0.38-1.el8.noarch 12/14
Verifying : zabbix-web-pgsql-5.0.39-1.el8.noarch 13/14
Verifying : zabbix-web-pgsql-5.0.38-1.el8.noarch 14/14
Installed products updated.
Upgraded:
zabbix-agent-5.0.39-1.el8.x86_64 zabbix-apache-conf-5.0.39-1.el8.noarch zabbix-server-pgsql-5.0.39-1.el8.x86_64 zabbix-web-5.0.39-1.el8.noarch zabbix-web-deps-5.0.39-1.el8.x86_64 zabbix-web-mysql-5.0.39-1.el8.noarch
zabbix-web-pgsql-5.0.39-1.el8.noarch
Complete!
[root@MGMT-MON01 ~]# systemctl start zabbix-server
Please can someone advise on how to get it to the latest version.
Comment