Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtu60-0008GO-N8 for pgsql-bugs@arkaria.postgresql.org; Sun, 05 Dec 2021 16:10:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mtu5z-0003YS-II for pgsql-bugs@arkaria.postgresql.org; Sun, 05 Dec 2021 16:10:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtu5z-0003YI-98 for pgsql-bugs@lists.postgresql.org; Sun, 05 Dec 2021 16:10:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtu5x-0005WW-1O for pgsql-bugs@lists.postgresql.org; Sun, 05 Dec 2021 16:10:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1B5GAT8R2814160; Sun, 5 Dec 2021 11:10:29 -0500 From: Tom Lane To: markus.weyermann@gmx.net cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17315: Postgresql needs reinstall after restore In-reply-to: <17315-cefb698e069aa044@postgresql.org> References: <17315-cefb698e069aa044@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Sat, 04 Dec 2021 22:19:52 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2814158.1638720629.1@sss.pgh.pa.us> Date: Sun, 05 Dec 2021 11:10:29 -0500 Message-ID: <2814159.1638720629@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > After restore, when trying to start postgres by "systemctl start postgres" > errors are logged: > /usr/lib/postgresql/14/bin/postgres: error while loading shared libraries: > libicui18n.so.63: cannot open shared object file: No such file or > directory I don't see any reason to call that a Postgres bug. Postgres certainly did not remove that library --- even if it tried, it wouldn't have the privileges to do so. My guess is that you (or some administrative process) incorrectly uninstalled that version of libicui18n some time ago, but the existing PG server kept running because it had an open handle to the shared library file. After process shutdown, the kernel finished removing the now-unreferenced library file, and then of course starting PG up again would fail. regards, tom lane