Good day,

I followed your instructions to setup and install Bacula, everything works except I am unable to connect to the PostgreSQL database.

I am unable to figure out the error, first time trying PostgreSQL with Bacula.

When I test my bacula-dir file I get the following error:

[root@bacula hums]# bacula-dir -t /etc/bacula/bacula-dir.conf
bacula-dir: dird.c:1540-0 Could not open Catalog "MyCatalog", database "bacula". bacula-dir: dird.c:1546-0 Query failed: SELECT VersionId FROM Version: ERR=ERROR:  relation "version" does not exist
LINE 1: SELECT VersionId FROM Version
                              ^
12-Aug 10:11 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf

Any help appreciated.

Thanks in advance

On 8/8/25 10:49 PM, Rob Gerber wrote:
Humphrey,

You will want to install bacula using the community repo. I have bacula community installed on 3 different machines, with a mix of physical and virtual.

1. Get your bacula community repository key at the link below. It will claim that it will email you. maybe it will, maybe it won't. if it doesn't, get your key from the page that loads after you complete the 3 field 'contact us' type form on the page linked below. note that it looks like a contact us form, but it's actually how your register for your key.
Look for this text in the middle of the page:
"You may now access the bacula binaries located here <https://www.bacula.org/packages/REDACTED> (please bookmark this link)." <-- I redacted my key, but you get the idea.
https://www.bacula.org/bacula-binary-package-download/

2. read the installation guide linked below. it was last updated in the days of centos 7, so some changes have occurred since then. however, the general principles still apply. One of the biggest new changes is that rocky linux 9 doesn't allow sha1 signed packages by default. Bacula is signed by a sha1 package. yes this needs fixed, no it hasn't been fixed yet. your only solution will be to globally enable sha1 hashes, or disable crypto signature checking for the bacula package only.
https://bacula.org/whitepapers/CommunityInstallationGuide.pdf

3. I have a playbook I use to set these systems up. it looks like a bash script. it IS NOT a  bash script. you must read through it and make changes periodically. in particular, I have redacted my bacula repo key. use your own. Also, my last setup was with bacula 15.0.2. I believe 15.0.3 is out now, and you should probably use that instead. paste the repo link into a browser, go back, and find the el9 repo for the most recent version of bacula. use that link instead. plz note that in the instructions I specify to globally enable sha1 package signing. At this point, I might actually prefer to set "gpgcheck=0" for bacula only. Your call. I mention disabling sha1 signing after installing bacula, and it seems that this might cause some annoying messages later.
See attached file.



Robert Gerber
402-237-8692
r...@craeon.net

On Fri, Aug 8, 2025, 10:29 PM Humphrey Bryant via Bacula-users <bacula-users@lists.sourceforge.net> wrote:

    Hey All,

    Is it possible to install Bacula-Community from a repository for
    Rocky Linux 9.6 ?

    I just finished setup a Rocky Linux 9.6 server which comes with
    Bacula Community 11.0.1 as the default in their Base Repo. I am
    currently running bacula 13.0.3 on a CentOS 7.x Server that I am
    trying to retire so I dont want to downgrade Bacula. Can someone
    please provide some steps or links to access a Bacula Repo with
    Bacula 13 or 15 to install on Rocky Linux 9.6.

    Thanks in advance

    Regards,

--
    _______________________________________________
    Bacula-users mailing list
    Bacula-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/bacula-users

--
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to