Issue with Bareos Community 24 on Alma Linux 8 with PostgreSQL 13

82 views
Skip to first unread message

Edinho Lidorio

unread,
Jan 8, 2025, 9:32:53 AM1/8/25
to bareos-users

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!

Spadajspadaj

unread,
Jan 8, 2025, 9:38:15 AM1/8/25
to bareos...@googlegroups.com

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

MK

--
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 bareos-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bareos-users/62a9c1e8-bce3-4c01-877c-a0333d8f3aabn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages