Package:  bacula-director-mysql
Version: bacula-director-mysql_1.36.2-2sarge1_i386.deb


There is something wrong with bacula-director-mysql. On apt-get install
bacula-director-mysql apt will build the tables on the DB server and
populate them but then comes back and says it can not connect. It conected
to the DB at some point as I have the Tables. I have tried to install on 4
other machines that can all access the DB server with User name and Pass.

BTW even replication works as it replicated the new tables to the slave
server :)

Here is out put from apt-get

db1:/etc/mysql# apt-get install bacula-director-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  bacula-common bacula-director-common
The following NEW packages will be installed:
  bacula-common bacula-director-common bacula-director-mysql
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 656kB of archives.
After unpacking 1290kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 ftp://debian.oregonstate.edu stable/main bacula-common
1.36.2-2sarge1 [118kB]
Get:2 ftp://debian.oregonstate.edu stable/main bacula-director-common
1.36.2-2sarge1 [146kB]
Get:3 ftp://debian.oregonstate.edu stable/main bacula-director-mysql
1.36.2-2sarge1 [392kB]
Fetched 656kB in 11s (59.4kB/s)
Preconfiguring packages ...
Selecting previously deselected package bacula-common.
(Reading database ... 22693 files and directories currently installed.)
Unpacking bacula-common (from .../bacula-common_1.36.2-2sarge1_all.deb) ...
Adding user 'bacula'... Ok.
Selecting previously deselected package bacula-director-common.
Unpacking bacula-director-common (from
.../bacula-director-common_1.36.2-2sarge1_i386.deb) ...
Selecting previously deselected package bacula-director-mysql.
Unpacking bacula-director-mysql (from
.../bacula-director-mysql_1.36.2-2sarge1_i386.deb) ...
Setting up bacula-common (1.36.2-2sarge1) ...

Setting up bacula-director-common (1.36.2-2sarge1) ...

Setting up bacula-director-mysql (1.36.2-2sarge1) ...
Checking DB connectivity...Ok.
Creating Catalog "bacula" ...Ok.
Creating tables ...Ok.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)
dpkg: error processing bacula-director-mysql (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 bacula-director-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
db1:/etc/mysql#


Reply via email to