On Thursday, April 30, 2026 4:01:26 PM CEST Mehrdad Ravanbod wrote: > Hi > > I recieved a rather strange error yesterday, on the inbuilt backup job > BackupCatalog > > it seems Bacula is saying it does not find the MyCatalog database, and > something about a lib-file, but all the other backup jobs are > completeing without errors so the database does not seem to have any > problems. These lines showd up in the log > > > Bacula2-dir JobId 2862: Error: Runscript: BeforeJob returned non-zero > > status=1. ERR=Child exited with code 1 > > Bacula2-dir JobId 2862: BeforeJob: Can't find your catalog (MyCatalog) > > in director configuration > > Bacula2-dir JobId 2862: BeforeJob: /opt/bacula/bin/dbcheck: > > /usr/lib64/libpq.so.5: no version information available (required by > > /opt/bacula/lib/libbaccats-15.0.2.so) > > Bacula2-dir JobId 2862: shell command: run BeforeJob > > "/opt/bacula/scripts/make_catalog_backup.pl MyCatalog" > > Anyone has seen this beforeor knows what it means??
>From this error, I would conclude that you have a job that executes /opt/ bacula/bin/dbcheck before running a job, using BeforeJob option. dbcheck tool is used to clean up the records from the database that are not needed any more. It needs to read database credentials from the bacula-dir configuration file and if the path to the configuration file is not specified, it will use some compiled-in default path. In short, dbcheck is not using the correct database connection info. Regards -- Josip Deanovic _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
