Public bug reported:

Binary package hint: bacula

Actually this is the last point of the original report of bug #207527.
I am opening this as a new bug report, since the other issues of bug #207527 
appear to be fixed.

When running the BackupCatalog job, I get the following error:

06-Mai 18:27 baculatestsrv-dir JobId 17: BeforeJob: run command "/usr/bin/awk 
-f /etc/bacula/scripts/make_catalog_backup_awk -v cat1=MyCatalog 
/etc/bacula/bacula-dir.conf"
06-Mai 18:27 baculatestsrv-dir JobId 17: BeforeJob: mysqldump: Got error: 1045: 
Access denied for user 'bacula'@'localhost' (using password: NO) when trying to 
connect

It seems that .my.cnf is not read, since the command is not executed in
a login shell and HOME is not set.

I was able to get the backup running by specifying HOME in the mysqldump
command (see attached patch).

** Affects: bacula (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Catalog Backup fails because .my.cnf is not read
https://bugs.launchpad.net/bugs/227410
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to