package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1600550 reported by Ralph Borcherds
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Getting error on installing bacula the first time on Ubuntu 16.04

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: bacula-director-mysql (not installed)
ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Jul 9 21:34:44 2016
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2015-06-12 (393 days ago)
InstallationMedia: Ubuntu-Server 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: bacula
Title: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to xenial on 2016-06-29 (10 days ago)

Revision history for this message
Ralph Borcherds (3-ralph) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hmm,
From the log:
Jul 09 21:27:53 hostname bacula-console[25094]: bsock.c:118 Unable to connect to Director daemon on localhost:9101. ERR=Connection refused
Jul 09 21:28:12 hostname bacula-console[25099]: bsock.c:118 Unable to connect to Director daemon on localhost:9101. ERR=Connection refused
Jul 09 21:36:49 hostname bacula-sd[24608]: Shutting down Bacula service: hostname-sd ...
Jul 09 21:36:54 hostname bacula-fd[24449]: Shutting down Bacula service: hostname-fd ..

I found in the log that it installs bacula-director-mysql which is not the default.
I tried to install that in a fresh xenial and presse return on every question it asked (mysql setup mostly), but that worked well for me.

Did you add any special bits to the config?
Did you install he mysql director intentionally?

Changed in bacula (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in bacula (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.