Hello Michael,

I can see that there are Bacula packages (
https://packages.debian.org/trixie/bacula) for Debian 13 (trixie).

Why are you trying to install it from source ?

Best regards

Davide

On Wed, Nov 5, 2025 at 22:27 Michael Caruso <[email protected]>
wrote:

> Greetings all.  I'm trying to get Bacula community running at home to
> provide backup services in my home lab and keep running into roadblocks,
> most of which are my fault.  I'm not an expert in Linux or c, my background
> is in web development, but I'm learning.  I'm on my fourth attempt,
> starting with a clean install of the OS (Debian 13 (trixie), install
> development tools, install PostgreSQL, and then build and install Bacula
> from source as there are no packages available yet for Debian 13.  The
> documentation I've found has provided bits of insight but all of it seems
> outdated, some don't even indicate PostgreSQL is a viable db solution.
>
> My current dilemma seems to be that, when the Director starts, it can't
> connect to the database.  I've been running the Director in debug mode like
> this:
>
> michaelc@bacula:~$ sudo /usr/sbin/bacula-dir -dt -f -c
> /etc/bacula/bacula-dir.conf
>
> and get this:
>
> 04-Nov-2025 16:13:21 bacula-dir: dird.c:1540-0 Could not open Catalog
> "MyCatalog", database "bacula".
> 04-Nov-2025 16:13:21 bacula-dir: dird.c:1546-0 postgresql.c:435 Unable to
> connect to PostgreSQL server. Database=bacula User=bacula
> Possible causes: SQL server not running; password incorrect;
> max_connections exceeded.
> 04-Nov 16:13 bacula-dir ERROR TERMINATION
> Please correct configuration file: /etc/bacula/bacula-dir.conf
>
> I have a user in the OS, bacula, and the same in the database.  When
> working as the bacula user, I can manually connect to the database using
> psql like this (the server name is bacula):
>
> bacula@bacula:~$ psql -U bacula -d bacula
>
> I can see the database and all the tables and run queries.  However, if I
> start the director as the bacula user, I get a different error:
>
> bacula@bacula:~$ /usr/sbin/bacula-dir -dt -f -c
> /etc/bacula/bacula-dir.conf
> 05-Nov-2025 14:48:37 bacula-dir: smartall.c:418-0 Orphaned buffer:
> bacula-dir 1048 bytes at 7fd0a400b338 from lib/berrno.h:92
>
> Which implies a different problem.  At this point I'm in over my head.  I
> understand the Orphaned buffer error but have no idea where to go from here.
>
> There's a lot I don't know about how services run in linux, but I'm
> hjoping someone can point me in the right direction.
>
> TIA,
> --
> Michael Caruso
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to