Bacula 2.03-10 director issues

Paul Howarth paul at city-fan.org
Wed Nov 7 11:42:11 UTC 2007


Jason Hartley wrote:
> I updated Bacula director package to bacula-director-mysql-2.0.3-10.el5 on
> my centos 5 box and had some issues. One, the bacula-dir rc script wants
> to run bacula-dir, but only bacula-dir.mysql exists.  Second, the catalog
> backup script that is called in /etc/bacula/bacula-dir.conf wants to run
> make_catalog_backup, but only make_catalog_backup.mysql exits.  I have
> fixed the issues by using links, but wanted to find out if this was a know
> issue or something new.  I image it is just a simple fix to a spec file.
> 
> Here is a file listing:
> # rpm -ql bacula-director-mysql
> /usr/libexec/bacula/create_bacula_database.mysql
> /usr/libexec/bacula/create_mysql_database
> /usr/libexec/bacula/drop_bacula_database.mysql
> /usr/libexec/bacula/drop_bacula_tables.mysql
> /usr/libexec/bacula/drop_mysql_database
> /usr/libexec/bacula/drop_mysql_tables
> /usr/libexec/bacula/grant_bacula_privileges.mysql
> /usr/libexec/bacula/grant_mysql_privileges
> /usr/libexec/bacula/make_bacula_tables.mysql
> /usr/libexec/bacula/make_catalog_backup.mysql
> /usr/libexec/bacula/make_mysql_tables
> /usr/libexec/bacula/update_bacula_tables.mysql
> /usr/libexec/bacula/update_mysql_tables
> /usr/sbin/bacula-dir.mysql
> /usr/sbin/dbcheck.mysql

These symlinks (and several others) should be set up in the %post script 
using alternatives.

Perhaps there was some error that prevented the %post script from running?

try running:
# alternatives --config bacula-dir
to fix up any remaining links

Paul.




More information about the epel-devel-list mailing list