package bacula-director upgrade failed because it couldn't connect to mysql-server

Bug #569313 reported by kofitw
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dbconfig-common (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: bacula

ubuntu 10.04 LTS

I did an upgrade from karmic 9.04 to to Lucid 10.04.
After upgrade mysql became corrupted
it wouldn't start and removing became difficult
I updated some of the system files last night and added the bacula-director package
The package needed to communicate with mysql server which has been corrupted : it asked for the password to the mysql server
which cannot start the mysql in any case.
Bacula package could therefore not install completely.
It throws this error,

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bacula-director-mysql 5.0.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
Architecture: amd64
Date: Sat Apr 24 05:49:31 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
SourcePackage: bacula
Title: package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
kofitw (apepau2gh) wrote :
Chuck Short (zulcss)
affects: bacula (Ubuntu) → dbconfig-common (Ubuntu)
Chuck Short (zulcss)
Changed in dbconfig-common (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Paul Gevers (paul-climbing) wrote :

Can you please explain why this is considered a bug? If the database is corrupt (or at least, the operator configured the package to use a wrong database) isn't this "expected" behavior?

Relevant part of the DpkgTerminalLog.gz:
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: aborted.

Changed in dbconfig-common (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for dbconfig-common (Ubuntu) because there has been no activity for 60 days.]

Changed in dbconfig-common (Ubuntu):
status: Incomplete → Expired
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.