package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
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-
ProcVersionSign
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)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: bacula
Title: package bacula-
UpgradeStatus: Upgraded to xenial on 2016-06-29 (10 days ago)
tags: | removed: need-duplicate-check |
Hmm, console[ 25094]: bsock.c:118 Unable to connect to Director daemon on localhost:9101. ERR=Connection refused console[ 25099]: bsock.c:118 Unable to connect to Director daemon on localhost:9101. ERR=Connection refused
From the log:
Jul 09 21:27:53 hostname bacula-
Jul 09 21:28:12 hostname bacula-
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?