Bacula 9.4.1 Dbdriver Issue

Home » CentOS » Bacula 9.4.1 Dbdriver Issue
CentOS 2 Comments

Hi list, I created my rpm for Bacula 9.4.1 reading CentOS srpm spec files. I made a single package and not split in several packages because this is my first rpm so I created my spec file taking a cue from bacula-5.3 spec file.

All works as intended, an rpm was created and installed without any not fixable issue.

After installing my bacula rpm I run a test to see if all works as expected. After bacula-dir and bacula-sd configuration I run bacula-dir
-t to check error in config file and get this message:

bacula-dir: dird.c:1206-0 Dbdriver field within director config file
“dbi:PostgreSQL” mismatched with the Database argument “PostgreSQL”
passed during Bacula compilation.

I don’t know what it is referring because I don’t pass any argument like
“PostgreSQL” during configure. The only option about PostgreSQL is
–with-PostgreSQL.

This is caused by this line in catalog statement:

dbdriver = “dbi:PostgreSQL”;

I tried also using “dbi:PostgreSQL” but I got the same issue.

I searched online but found only one fedora bugreport with the same problem related to fedora29 but for a different bacula version.

Over this I tried to run bacula and all works like expected.

How I can fix this warning?

Hope in help.

Thanks in advance.

Alessandro.

2 thoughts on - Bacula 9.4.1 Dbdriver Issue

  • Am 25.01.19 um 13:13 schrieb Alessandro Baggi:

    Hi,

    i got only

      dbdriver = “PostgreSQL”

    in my config file.

    cheers

    Juergen

  • Il 28/01/19 12:53, J. Echter ha scritto:

    Hi Juergen, Sorry, I’m late but I setted dbdriver to PostgreSQL as you and worked without any issue.

    Thank you for the suggestion.