It looks like the mysql server wasnt running:

Creating config file /etc/dbconfig-common/bacula-director-mysql.conf with new 
version
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)
dbconfig-common: bacula-director-mysql configure: trying again.
dbconfig-common: writing config to 
/etc/dbconfig-common/bacula-director-mysql.conf
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)
dpkg: error processing bacula-director-mysql (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up mtx (1.3.12-2ubuntu1) ...

You should just do dpkg-reconfigure bacula-director-mysq

Regards
chuck

** Changed in: bacula (Ubuntu)
       Status: New => Won't Fix

-- 
package bacula-director-mysql 2.4.4-1ubuntu9 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/497560
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to