bacula director (mysql) error in generated conf file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bacula (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Natty |
Won't Fix
|
Undecided
|
Unassigned | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 11.04
Release: 11.04
bacula-
Installed: 5.0.3-0ubuntu2
Candidate: 5.0.3-0ubuntu2
Version table:
*** 5.0.3-0ubuntu2 0
500 http://
100 /var/lib/
Error in initial configuration file /etc/bacula/
I received following log error:
20-Aug 16:46 bacula-dir JobId 0: Fatal error: Could not open Catalog "MyCatalog", database "bacula;".
20-Aug 16:46 bacula-dir JobId 0: Fatal error: mysql.c:194 Unable to connect to MySQL server.
Database=bacula; User=bacula
MySQL connect failed either server not running or your authorization is incorrect.
20-Aug 16:46 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/
And it's really easy to fix it:
> diff /etc/bacula/
236c236
< dbname = "bacula;" DB Address = ""; dbuser = "bacula"; dbpassword = "bacula"
---
> dbname = "bacula"; DB Address = ""; dbuser = "bacula"; dbpassword = "bacula"
Related branches
summary: |
- bacula director eror in initial conf file + bacula director error in initial conf file |
summary: |
- bacula director error in initial conf file + bacula director (mysql) error in generated conf file |
Thanks for the bug report, looks like a typo has been introduced with the ;.
/etc/bacula/ bacula- dir.conf:
dbname = "bacula;" should be dbname = "bacula";