pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: markus.weyermann@gmx.net
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17315: Postgresql needs reinstall after restore
Date: Sun, 05 Dec 2021 11:10:29 -0500
Message-ID: <2814159.1638720629@sss.pgh.pa.us> (raw)
In-Reply-To: <17315-cefb698e069aa044@postgresql.org>
References: <17315-cefb698e069aa044@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> 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





view thread (2+ messages)

Message-ID: <2814159.1638720629@sss.pgh.pa.us>
Permalink:  ../2814159.1638720629@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2814159.1638720629@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, markus.weyermann@gmx.net, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17315: Postgresql needs reinstall after restore
  In-Reply-To: <2814159.1638720629@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox