[Bug 508371] [NEW] bacula does not create database

Thomas Schweikle tps at vr-web.de
Sat Jan 16 12:48:05 GMT 2010


Public bug reported:

Binary package hint: bacula

Description: Ubuntu lucid (development branch)
Release: 10.04

root at aesculap:~# dpkg --list | grep -i "mysql\|bacula"
ii  bacula-client                        3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  bacula-common                        3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  bacula-common-mysql                  3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  bacula-console                       3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  bacula-director-common               3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  bacula-director-mysql                3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  bacula-doc                           2.4.4-1                                        Documentation for Bacula
ii  bacula-fd                            3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  bacula-sd                            3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  bacula-sd-mysql                      3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  bacula-server                        3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  bacula-traymonitor                   3.0.2-3ubuntu1                                 network backup, recovery and verification - 
ii  libdbd-mysql-perl                    4.012-1ubuntu1                                 A Perl5 database interface to the MySQL data
ii  libmysqlclient-dev                   5.1.37-1ubuntu7                                MySQL database development files
ii  libmysqlclient16                     5.1.37-1ubuntu7                                MySQL database client library
ii  libqt4-sql-mysql                     4:4.6.0-1ubuntu6                               Qt 4 MySQL database driver
ii  mysql-admin                          5.0r14+openSUSE-2                              GUI tool for intuitive MySQL administration
ii  mysql-client                         5.1.37-1ubuntu7                                MySQL database client (metapackage depending
ii  mysql-client-5.1                     5.1.37-1ubuntu7                                MySQL database client binaries
ii  mysql-common                         5.1.37-1ubuntu7                                MySQL database common files (e.g. /etc/mysql
ii  mysql-gui-tools-common               5.0r14+openSUSE-2                              Architecture independent files for MySQL GUI
ii  mysql-query-browser                  5.0r14+openSUSE-2                              Official GUI tool to query MySQL database
ii  mysql-server                         5.1.37-1ubuntu7                                MySQL database server (metapackage depending
ii  mysql-server-5.1                     5.1.37-1ubuntu7                                MySQL database server binaries
ii  mysql-server-core-5.1                5.1.37-1ubuntu7                                MySQL database core server files

How to reproduce:
1. make sure MySQL and bacula are not installed on the system.
2. Install bacula. This will install bacula and mysql-server and -client as dependency.
3. bacula is configured, including database access (failing silently).
4. MySQL is configured and started.

for step 2 database and table creation fails, since MySQL is not
configured and started at this time.

Solution:
MySQL has to be configured and successfully started before bacula is configured.

Workaround:
Install MySQL first, then install bacula.

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


** Tags: bacula database mysql

-- 
bacula does not create database
https://bugs.launchpad.net/bugs/508371
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.



More information about the Ubuntu-server-bugs mailing list