Am 29.12.2017 um 15:07 schrieb Dan Langille: >> <myhost> JobId 21: BeforeJob: could not identify current directory: >> Permission denied >> <myhost> JobId 21: BeforeJob: could not identify current directory: >> Permission denied >> <myhost> JobId 21: BeforeJob: psql: could not find own program executable >> <myhost> JobId 21: BeforeJob: root doesn't have access to the catalog >> database >> <myhost> JobId 21: Error: Runscript: BeforeJob returned non-zero >> status=1. ERR=Child exited with code 1
> What is this script doing? Oops, I missed the first line when copying. This is the relevant log output: <myhost> JobId 21: shell command: run BeforeJob "/usr/local /libexec/bacula/make_catalog_backup.pl MyCatalog" <myhost> JobId 21: BeforeJob: could not identify current directory: Permission denied <myhost> JobId 21: BeforeJob: could not identify current directory: Permission denied <myhost> JobId 21: BeforeJob: psql: could not find own program executable <myhost> JobId 21: BeforeJob: root doesn't have access to the catalog database <myhost> JobId 21: Error: Runscript: BeforeJob returned non-zero status=1. ERR=Child exited with code 1 So it's the standard database dump that is performed. Consequently, the backup of the database fails. I'm not sure if the two "could not identify current directory:" lines are related because they appear on the other machine as well, but the databse is properly dumped and backed up. The script make_catalog_backup.pl and /usr/local/bin/psql are world-executable. Matthias
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users