This error typically happens if you have a mixture of distro-provided packets with pgdg-sourced ones.

MK

On 8.01.2025 15:32, Edinho Lidorio wrote:

*Good morning!*

Has anyone encountered the following issue while installing Bareos Backup Community version 24? I'm trying to set it up on Alma Linux 8 with PostgreSQL 13, but I get the following error:


[root@srvbareos ~]# sudo /usr/lib/bareos/scripts/make_bareos_tables /usr/sbin/bareos-dir: /usr/pgsql-14/lib/libpq.so.5: no version information available (required by /usr/lib64/bareos/libbareossql.so.24) /usr/sbin/bareos-dir: /usr/pgsql-14/lib/libpq.so.5: no version information available (required by /usr/lib64/bareos/libbareossql.so.24) Info: Making bareos tables Info: Definitions = /usr/lib/bareos/scripts/ddl/creates/postgresql.sql /usr/sbin/bareos-dir: /usr/pgsql-14/lib/libpq.so.5: no version information available (required by /usr/lib64/bareos/libbareossql.so.24) Info: uname = Linux psql: error: connection to server on socket "/run/postgresql/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket? Error: Creation bareos tables failed.

*Environment Details:*

  * Operating system: Alma Linux 8
  * Database: PostgreSQL 13

*Observations:*

 1. The error indicates an issue with the libpq.so.5 library, which is
    used to connect Bareos to PostgreSQL.
 2. Although my setup is configured for PostgreSQL 13, the error
    mentions /usr/pgsql-14/lib/libpq.so.5, suggesting a mismatch or
    conflict between library versions.

I’ve already tried the following steps without success:

  * Verifying and reinstalling PostgreSQL libraries (postgresql-libs).
  * Configuring library paths in /etc/ld.so.conf.d.
  * Reinstalling Bareos and the PostgreSQL integration module.

Could anyone guide me on how to resolve this issue?

Thank you in advance for your assistance!

--
You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/bareos-users/62a9c1e8-bce3-4c01-877c-a0333d8f3aabn%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/62a9c1e8-bce3-4c01-877c-a0333d8f3aabn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/3255305d-58a4-415d-b0a5-ca6fecd072d4%40gmail.com.

Reply via email to