Bug 827889
Summary: | Bacula fails after F17 upgrade if using MySql for catalog | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Martin <msmith999999> |
Component: | bacula | Assignee: | Andreas Thienemann <andreas> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | andreas, fschwarz, gwync, hhorak, lnykryn, negativo17, paul, vanmeeuwen+fedora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-03 15:05:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Martin
2012-06-03 13:49:34 UTC
Are your "alternatives" settings right? # alternatives --display bacula-dir Hmmm. That doesn't display anything. Does bacula use alternatives? I can't see evidence of this in the systemd unit. It just execs /usr/sbin/bacula-dir The packaging has definitely changed from F16 though so you could be right. What would I configure? Ah yes, I seem to remember the packaging may have changed for F-17 and it's just the backend library that needs handling now (see README.Fedora from the bacula-common docs area): # alternatives --display libbaccats.so Hello, Bacula has changed drastically regarding backend and libraries from 5.0x (f16) to 5.2.x (f17). Database backends are now handled by a single library and that is what is needed to manage the catalog. Just type: # alternatives --config libbaccats.so and choose your library backends; no changes are required in the config files. Regards, --Simone Ok, that appears to be it. It seems to pick postgres regardless of which director rpm was installed in f16. I also had to run the db upgrade script from v12 to 14 manually after setting the alternative. The director is now up. Thanks for the help! I'm building now the package in Koji for 5.2.7, when it is available in updates-testing please bear the following: The symlink library name has changed because we discovered a bug during version upgrades. Please issue the following before upgrading: alternatives --remove /usr/lib64/libbaccats-mysql-5.2.6.so alternatives --remove /usr/lib64/libbaccats-sqlite3-5.2.6.so alternatives --remove /usr/lib64/libbaccats-postgresql-5.2.6.so And then set again your preference database with: # alternatives --config libbaccats.so There are 3 programs which provide 'libbaccats.so'. Selection Command ----------------------------------------------- 1 /usr/lib64/libbaccats-mysql.so + 2 /usr/lib64/libbaccats-sqlite3.so * 3 /usr/lib64/libbaccats-postgresql.so Enter to keep the current selection[+], or type selection number: |