[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Bacula 2.03-10 director issues



On Wed, November 7, 2007 6:42 am, Paul Howarth wrote:
> 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.

Thanks, Paul!  I took your suggestion and looked into the post section to
see if something do not run.  You were right!  For some reason, the post
section for the bacula packages did not run.  I ended up removing and
reinstalling bacula and everything installed just fine. So, I am not sure
why the post section did not run.  I have looked through the yum and
message log files and did not see any errors.  Again, thanks for your
help!

Best Regards,
Jason Hartley


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]