Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qfjrQ-00Cwy9-DN for pgsql-general@arkaria.postgresql.org; Mon, 11 Sep 2023 16:34:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qfjrO-0020ac-98 for pgsql-general@arkaria.postgresql.org; Mon, 11 Sep 2023 16:34:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qfjrN-0020aO-T9 for pgsql-general@lists.postgresql.org; Mon, 11 Sep 2023 16:34:01 +0000 Received: from mout.kundenserver.de ([212.227.17.24]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qfjrK-004U5D-1p for pgsql-general@lists.postgresql.org; Mon, 11 Sep 2023 16:34:00 +0000 Received: from [192.168.1.9] ([78.141.12.8]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.179]) with ESMTPSA (Nemesis) id 1M6VRf-1qYtAL22LB-006uPd for ; Mon, 11 Sep 2023 18:33:56 +0200 Content-Type: multipart/alternative; boundary="------------4k8MuNAJ5MmlKLhvpB9N0TPw" Message-ID: <471b28f6-28ec-40ac-af69-510e4c642270@gemmill.name> Date: Mon, 11 Sep 2023 17:33:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Upgrade problem Content-Language: en-GB To: pgsql-general@lists.postgresql.org References: From: Graeme In-Reply-To: X-Provags-ID: V03:K1:hBWMKeBs1vRdZvBrfh5plAgGJc+Z/2aBf7eK3TVBeJiixCLsxk9 8O12i5Op17piRwdatNdNGTkdBETv3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ynMUkUx4WYHQINPoJXwz fMG5YDu2sb8k7tw== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------4k8MuNAJ5MmlKLhvpB9N0TPw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 11/09/2023 17:13, Adrian Klaver wrote: > On 9/11/23 09:04, Graeme wrote: >> Preparing to upgrade my small cluster from Mageia 8/Pg 9 to Mageia >> 9/Pg 15. I'm at the point of running pg_upgrade but have received >> anerror message: > > You are going to have to be more specific on the Postgres version. > Prior to Postgres 10 major version changes where two digits. So for > Postgres 9.X.x that meant 9.0.x --> 9.6.x Don't have access to that version without re-booting; probably 9.5 > >> >> /mga8/usr/bin/postgres: error while loading shared libraries: >> libssl.so.1.1: cannot open shared object file: No such file or directory >> no data was returned by command ""/mga8/usr/bin/postgres" -V" > > Where are you running the pg_upgrade and what version of it are you > using? > pg_upgrade (PostgreSQL) 15.3 I specified -B /usr/bin >> >> However: >> >> [root@bach lib64]# cd /mga8/usr/lib64 >> [root@bach lib64]# ls -l|grep libssl >> -rwxr-xr-x  1 root root      426192 Jul  5 23:07 libssl3.so* >> lrwxrwxrwx  1 root root          13 Jun  1 09:35 libssl.so -> >> libssl.so.1.1* >> -r-xr-xr-x  1 root root      442424 Feb 27  2021 libssl.so.1.0.0* >> -rwxr-xr-x  1 root root      666496 Jun  1 09:36 libssl.so.1.1* >> >> Can someone suggest my next move please? >> >> Ta >> >> Graeme Gemmill > --------------4k8MuNAJ5MmlKLhvpB9N0TPw Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 11/09/2023 17:13, Adrian Klaver wrote:
On 9/11/23 09:04, Graeme wrote:
Preparing to upgrade my small cluster from Mageia 8/Pg 9 to Mageia 9/Pg 15. I'm at the point of running pg_upgrade but have received anerror message:

You are going to have to be more specific on the Postgres version. Prior to Postgres 10 major version changes where two digits. So for Postgres 9.X.x that meant 9.0.x --> 9.6.x
Don't have access to that version without re-booting; probably 9.5


/mga8/usr/bin/postgres: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
no data was returned by command ""/mga8/usr/bin/postgres" -V"

Where are you running the pg_upgrade and what version of it are you using?

pg_upgrade (PostgreSQL) 15.3

I specified  -B /usr/bin




However:

[root@bach lib64]# cd /mga8/usr/lib64
[root@bach lib64]# ls -l|grep libssl
-rwxr-xr-x  1 root root      426192 Jul  5 23:07 libssl3.so*
lrwxrwxrwx  1 root root          13 Jun  1 09:35 libssl.so -> libssl.so.1.1*
-r-xr-xr-x  1 root root      442424 Feb 27  2021 libssl.so.1.0.0*
-rwxr-xr-x  1 root root      666496 Jun  1 09:36 libssl.so.1.1*

Can someone suggest my next move please?

Ta

Graeme Gemmill


--------------4k8MuNAJ5MmlKLhvpB9N0TPw--