bacula-server installation runs dbconfig-common before installing and starting mysql-server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bacula (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When installing the meta package bacula-server it will reach the point of configuring the database for bacula-
This was previously reported (https:/
# apt-get install bacula-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
bacula-common bacula-common-mysql bacula-
libdbd-mysql-perl libdbi-perl libhtml-
mysql-client-5.5 mysql-client-
Suggested packages:
bacula-doc bacula-traymonitor dds2tar scsitools sg3-utils mt-st libipc-
The following NEW packages will be installed
bacula-common bacula-common-mysql bacula-
heirloom-mailx libdbd-mysql-perl libdbi-perl libhtml-
mysql-client mysql-client-5.5 mysql-client-
0 upgraded, 27 newly installed, 0 to remove and 81 not upgraded.
Need to get 30.5 MB of archives.
After this operation, 107 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Fetched 30.5 MB in 0s (37.1 MB/s)
Preconfiguring packages ...
Selecting previously unselected package bacula-common.
(Reading database ... 79940 files and directories currently installed.)
Unpacking bacula-common (from .../bacula-
Adding user 'bacula'... Ok.
Selecting previously unselected package mysql-common.
Unpacking mysql-common (from .../mysql-
Selecting previously unselected package libmysqlclient18.
Unpacking libmysqlclient18 (from .../libmysqlcli
Selecting previously unselected package bacula-
Unpacking bacula-common-mysql (from .../bacula-
Selecting previously unselected package libsigsegv2.
Unpacking libsigsegv2 (from .../libsigsegv2
Processing triggers for man-db ...
Setting up libsigsegv2 (2.9-4ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously unselected package gawk.
(Reading database ... 80121 files and directories currently installed.)
Unpacking gawk (from .../gawk_
Selecting previously unselected package heirloom-mailx.
Unpacking heirloom-mailx (from .../heirloom-
Processing triggers for man-db ...
Setting up bacula-common (5.2.5-0ubuntu6.2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously unselected package bacula-
(Reading database ... 80219 files and directories currently installed.)
Unpacking bacula-
Selecting previously unselected package dbconfig-common.
Unpacking dbconfig-common (from .../dbconfig-
Selecting previously unselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-
Selecting previously unselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-
Selecting previously unselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-
Selecting previously unselected package mysql-client-
Unpacking mysql-client-
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-
Selecting previously unselected package mysql-client.
Unpacking mysql-client (from .../mysql-
Selecting previously unselected package bacula-
Unpacking bacula-
Selecting previously unselected package liblzo2-2.
Unpacking liblzo2-2 (from .../liblzo2-
Selecting previously unselected package mtx.
Unpacking mtx (from .../mtx_
Selecting previously unselected package bacula-sd.
Unpacking bacula-sd (from .../bacula-
Selecting previously unselected package mysql-server-
Unpacking mysql-server-
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Setting up mysql-common (5.5.29-
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 80899 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-
Selecting previously unselected package bacula-fd.
Unpacking bacula-fd (from .../bacula-
Selecting previously unselected package bacula-sd-mysql.
Unpacking bacula-sd-mysql (from .../bacula-
Selecting previously unselected package bacula-server.
Unpacking bacula-server (from .../bacula-
Selecting previously unselected package libhtml-
Unpacking libhtml-
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libmysqlclient18 (5.5.29-
Setting up bacula-common-mysql (5.2.5-0ubuntu6.2) ...
Setting up gawk (1:3.1.
Setting up heirloom-mailx (12.5-1build1) ...
update-
Setting up bacula-
Setting up dbconfig-common (1.8.47) ...
Creating config file /etc/dbconfig-
Setting up libnet-daemon-perl (0.48-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.616-1build2) ...
Setting up libdbd-mysql-perl (4.020-1build2) ...
Setting up mysql-client-
Setting up mysql-client-5.5 (5.5.29-
Setting up mysql-client (5.5.29-
Setting up bacula-
dbconfig-common: writing config to /etc/dbconfig-
Creating config file /etc/dbconfig-
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
dbconfig-common: bacula-
dbconfig-common: writing config to /etc/dbconfig-
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
dbconfig-common: bacula-
dbconfig-common: writing config to /etc/dbconfig-
Replacing config file /etc/dbconfig-
Processing configuration...Ok.
* Starting Bacula Director... [ OK ]
Setting up liblzo2-2 (2.06-1) ...
Setting up mtx (1.3.12-4ubuntu1) ...
Setting up bacula-sd (5.2.5-0ubuntu6.2) ...
* Starting Bacula Storage daemon... [ OK ]
Setting up mysql-server-
Setting up mysql-server-5.5 (5.5.29-
130205 20:27:35 [Note] Plugin 'FEDERATED' is disabled.
130205 20:27:35 InnoDB: The InnoDB memory heap is disabled
130205 20:27:35 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130205 20:27:35 InnoDB: Compressed tables use zlib 1.2.3.4
130205 20:27:35 InnoDB: Initializing buffer pool, size = 128.0M
130205 20:27:35 InnoDB: Completed initialization of buffer pool
130205 20:27:35 InnoDB: highest supported file format is Barracuda.
130205 20:27:35 InnoDB: Waiting for the background threads to start
130205 20:27:36 InnoDB: 1.1.8 started; log sequence number 1595675
130205 20:27:36 InnoDB: Starting shutdown...
130205 20:27:37 InnoDB: Shutdown completed; log sequence number 1595675
mysql start/running, process 7674
Setting up bacula-fd (5.2.5-0ubuntu6.2) ...
* Starting Bacula File daemon... [ OK ]
Setting up bacula-sd-mysql (5.2.5-0ubuntu6.2) ...
Setting up bacula-server (5.2.5-0ubuntu6.2) ...
Setting up libhtml-
Setting up mysql-server (5.5.29-
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
You have new mail in /var/mail/root
Changed in bacula (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Workaround is to run `dpkg-reconfigure bacula- director- mysql` after installation.