package bacula-director-mysql 5.0.1-1ubuntu1 failed to install

Bug #651432 reported by Lasse Vinther Tyron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: bacula

I'm a newbie but think this error is not an actual error but just a result of no server.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bacula-director-mysql 5.0.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic i686
Architecture: i386
Date: Wed Sep 29 21:37:09 2010
ErrorMessage: underproces installed post-installation script returnerede afslutningsstatus 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: bacula
Title: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: underproces installed post-installation script returnerede afslutningsstatus 1

Revision history for this message
Lasse Vinther Tyron (lasse) wrote :
Revision history for this message
James Page (james-page) wrote :

Actual error message from DpkgTerminalLog:

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)
GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3079: signal name `depressed' is invalid for instance `0x9d594f0' at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 120, <GEN6> line 16.
dbconfig-common: bacula-director-mysql configure: aborted.
dbconfig-common: flushing administrative password
dpkg: fejl under behandling af bacula-director-mysql (--configure):
 underproces installed post-installation script returnerede afslutningsstatus 1

Revision history for this message
James Page (james-page) wrote :

It appears that the installation process was unable to contact the MySQL database locally

Did you have any reported issues during the bacula-director-mysql configuration steps?

Thanks

Revision history for this message
James Page (james-page) wrote :

I have reproduced your issue; it appears that the mysql instance is not started until after the bacula-director-mysql configuration step is completed (which will obviously cause this step to fail)

If you allow the installation to complete and then re-configure bacula after mysql has started you should be up and running using the following command:

    dpkg-reconfigure bacula-director-mysql

summary: - package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade:
- underproces installed post-installation script returnerede
- afslutningsstatus 1
+ package bacula-director-mysql 5.0.1-1ubuntu1 failed to install
Revision history for this message
James Page (james-page) wrote :

Proposed status: confirmed
Proposed importance: low

C de-Avillez (hggdh2)
Changed in bacula (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
James Page (james-page) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 616754, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Lasse Vinther Tyron (lasse) wrote :

#4

Up and running after Your comment and reading the bug #616754.

Thank You.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.