Just a Postscript to my original message above (#55), in case it is of
help to anyone else:-
the bug fix and update has worked for me. I did a fresh install using
bacula-director-mysql, followed by 'bacula-client' followed by 'bacula-
sd-mysql'. My system has been backing up for a week now with
This bug was fixed in the package bacula - 7.0.5+dfsg-4ubuntu0.1
---
bacula (7.0.5+dfsg-4ubuntu0.1) xenial; urgency=medium
* debian/patches/libmysqlclient_r.patch: Fix bug where MySQL 5.7 is
improperly linked on Ubuntu 16.04. Closes LP: #1570923.
*
I got here after upgrading 14.04 to 16.04. At first I got the problem as
originally described. Then I installed the proposed packages (7.0.5
+dfsg-4ubuntu0.1).
This appears to have solved the original problem. However, I get the
same error as Marcus Meyer above:
23-Oct 03:05 tomcat-dir JobId 0:
Thanks Nish for getting back to me. I'll wait for the update to come
through. What kind of time scale will this be from now, a month, two
months or 6 months ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Hello Kevin, I'm not sure what is going wrong with your system, but it's
definitely not running the proposed packages. I just tested them and
they work fine. Please try to find me on #ubuntu (nacc) if you want some
help, or you can just wait for the normal update to come through.
Verified with
I apologize before hand if I am not following the accepted protocol. I've been
using Ubuntu for only a few weeks and haven't got up to speed with how the
whole ecosystem works yet.
The following may be a stream of consciousness but I hope you get enough of the
gist of things to tell me what I
I still have the problem with Ubuntu 16.04 and Bacula 7.0.5:
$ apt-cache madison bacula
bacula | 7.0.5+dfsg-4build1 | http://be.archive.ubuntu.com/ubuntu
xenial/universe amd64 Packages
bacula | 7.0.5+dfsg-4build1 | http://be.archive.ubuntu.com/ubuntu
xenial/universe i386 Packages
** Changed in: bacula (Ubuntu Xenial)
Assignee: Nish Aravamudan (nacc) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start with "undefined
Based upon the prior comment, marking v-d.
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
Installed 7.0.5+dfsg-4ubuntu0.1 from proposed and can confirm this fixed
the issue with the director service not starting due to the following
error:
bacula-dir: symbol lookup error: /usr/lib/bacula/libbaccats-7.0.5.so:
undefined symbol: mysql_init
NOTE: bconsole connected fine to the director
** Project changed: bacula => ubuntu-translations
** No longer affects: ubuntu-translations
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start with "undefined
Hello Dirk, or anyone else affected,
Accepted bacula into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/bacula/7.0.5+dfsg-
4ubuntu0.1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
** Changed in: bacula (Ubuntu)
Assignee: Nish Aravamudan (nacc) => (unassigned)
** Changed in: bacula (Ubuntu Xenial)
Assignee: (unassigned) => Nish Aravamudan (nacc)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
The PPA from https://launchpad.net/~nacc/+archive/ubuntu/bacula3 works
fine for me! Thanks ;-)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start with "undefined
** Changed in: bacula
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start with "undefined symbol: mysql_init"
To manage
@Marcus any update? I've been holding off on pushing the bacula updates
based upon your testing results.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start with
I just did a test upgrade from 14.04 -> 16.04.1 in a lxd:
mysql> show columns from Job from bacula like 'StartTime';
+---+--+--+-+-+---+
| Field | Type | Null | Key | Default | Extra |
@Marcus
Thank you for testing. Can you clarify if this was a 14.04 -> 16.04.1
upgrade?
Can you, to be sure, provide the `apt-cache policy bacula` output?
I don't believe (not 100%) the issue you're hitting is directly related
to my backport. StartTime should have a default value of 0, if I'm
@Nish
I tried your packages from
https://launchpad.net/~nacc/+archive/ubuntu/bacula3
I'm running 16.04.1 LTS since today and I get the following error with
your packages:
Run Backup job
JobName: SLIMSERVER
Level:Incremental
Client: slimserver-fd
FileSet: SLIMSERVER FULL Set
Pool:
Hello all,
After reviewing the other open Bacula bugs, I've set up a new PPA with a
more normal versioning and (hopefully) fixes to all the issues I know
about on 16.04 and 16.10 (and I think handles upgrading from 14.04 to
16.04)
https://launchpad.net/~nacc/+archive/ubuntu/bacula3
16.04:
Hi, I've read through the bug and while it seems good progress is being
made, AFAICT there isn't anything to be uploaded yet and so I'm going to
unsubscribe sponsors. Please give clear instructions when you re-
subscribe the team :-)
--
You received this bug notification because you are a member
@Kern and others affected, I have uploaded to the same PPA
(ppa:nacc/bacula) updated packages including the MySQL fix mentioned in
LP: #1592749.
Please test the version for your system and report back.
Xenial: 7.4.1~dfsg-1.1~ppa8.is.actually.7.0.5+dfsg-4.1~ppa3
Yakkety: 7.4.1~dfsg-1ubuntu1~ppa2
** Patch removed: "attachment"
https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1570923/+attachment/4689919/+files/attachment
** Attachment added: "attachment"
https://bugs.launchpad.net/bugs/1570923/+attachment/4696475/+files/attachment
--
You received this bug notification because
@Kern, thanks for the updates! I will get a new build going ASAP.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start with "undefined symbol: mysql_init"
To manage
Oops, sorry, I attached the patch twice :-(
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start with "undefined symbol: mysql_init"
To manage notifications about
Please note that the above fixes do make Bacula run, but as was
discovered in bug #1592749, MySQL runs ~10 times slower than it should.
I attach a patch here and in the other bug as well that fixes this
problem. The patch is relative to released version 7.4.1, and may (I am
not sure) apply
** Patch added: "Fixes broken Bacula batch mode for MySQL 5.7 -- applies to
Bacula version 7.4.1"
https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1570923/+attachment/4694834/+files/mysql_thread_safe.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs,
** Changed in: bacula (Ubuntu)
Status: Triaged => In Progress
** Changed in: bacula (Ubuntu Xenial)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Please test the potential fix version at:
https://launchpad.net/~nacc/+archive/ubuntu/bacula
Which results in 7.4.1~dfsg-1ubuntu1~ppa1 on yakkety or
7.4.1~dfsg-1.1~ppa8.is.actually.7.0.5+dfsg-4.1~ppa2 on xenial.
** Description changed:
- 1. Ubuntu release :
+ [Impact]
+
+ * bacula-dir fails
** Attachment removed: "attachment"
https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1570923/+attachment/4689883/+files/attachment
** Attachment added: "attachment"
https://bugs.launchpad.net/bugs/1570923/+attachment/4689919/+files/attachment
--
You received this bug notification
Hello, I have done some backporting and integrating of the suggestion in
LP# 1553563 c11.
Please test the 'fixed' version at:
https://launchpad.net/~nacc/+archive/ubuntu/bacula, specifically
7.4.1~dfsg-1.1~ppa7 and report back if it resolves the issue in this bug
for you.
--
You received this
This is getting a bit off the subject of this bug report, but ...
The only thing difficult about PostgreSQL with Bacula is getting the
authentication to work, and there is a chapter in the Bacula main manual
on PostgreSQL that tells how to get Bacula working with it. That said,
there is one
It would appear utilising PostgreSQL does allow Bacula-Director to start
and listen on 9101.
Unfortunately I am getting the "Director authorization problem. / Most
likely the passwords do not agree." error, despite triple-checking the
Name and Password match perfectly. Granted that's an issue
I found this thread searching for the exact same error. It's reassuring
to see you folks endeavouring to remedy the bug.
Bacula have PPAs for 15.04 and 15.10, which seem short-sighted given the
none-LTS nature of these editions; 15.10 is expiring support next month.
I cannot find Bacula in the
On Tue, Jun 14, 2016 at 01:35:05PM -, Kern Sibbald wrote:
> Please let me know if I should open a new ticket on this.
Please do. I believe that MySQL upstream are quite keen to help with
this kind of thing. With a separate bug, I can track assignment and
progress separately.
--
You received
The good news is that I have now build and tested Bacula version 7.4.1
with the patch for getting Bacula to properly link with MySQL 5.7 on
Ubuntu 16.04, and it does work.
The bad news is that the "out of the box" MySQL performs very badly to
the point of being unusable with Bacula -- it is
Robie,
Thank you for your quick response. It makes sense that the default MySQL
is thread-safe and there is no _r variant. Your patch looks fine, but
please be aware that I suspect that it may link Bacula with the static
version of MySQL rather than the shared object (.so), and your patch is
Kern,
libmysqlclient_r.so was deprecated in MySQL 5.6 and removed in MySQL
5.7. See comment 12. libmysqlclient.so is thread-safe (and has been for
a few MySQL releases) so the _r variant is no longer required. The fix
is to simply link against libmysqlclient.so instead.
I am a little surprised
Linking of Bacula 7.4.x on Ubuntu 16.04 has the same problem described
in this bug report.
It seems to me that something is wrong with the Ubuntu 16.04 packaging
of MySQL. Bacula needs libmysqlclient_r.so to work correctly, and that
shared library is not installed on Ubuntu 16.04 (at least not
I compiled following a pt_BR guide, and it says that, for Ubuntu Xenial, we
have to do this before running make:
edit file "bacula-7.4.0/src/cats/Makefile" and modifiy the variable MYSQL_LIBS
to:
(64bit)
MYSQL_LIBS = /usr/lib/x86_64-linux-gnu/libmysqlclient.a
(32bit)
MYSQL_LIBS =
I'm reassigning from Norvald (MySQL upstream) to Nish (Ubuntu server
team) as we have a patch that is confirmed to work. I thought a fix for
bug 1553563 needed to land at the same time in order for the fix for
this bug to be useful, but based on Liam's comments, perhaps not. I'll
let Nish look
** Also affects: bacula
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start with "undefined symbol: mysql_init"
To
Robie - do you have any idea when a fix for the mysql_init bug might
flow through the normal updates channel? I have a broken bacula setup
here in the office and need to make a call on whether to sit tight.
Thanks.
--
You received this bug notification because you are a member of Ubuntu
Bugs,
(Ignore my comment #19. Accidentally reposted one of my earlier
comments. Sorry. If an admin can delete it - and this one - please do)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
Thanks for getting back to me, Robie.
I'm hoping the bconsole issue won't affect me unless there are side
effects that I don't understand to that one. I don't use bconsole. I use
bat which may or may not have the same problem but, even if it does, my
backup jobs are automated so I'm hoping that
Liam, will you not be blocked by bug 1553563 even with a fix for this
mysql_init bug?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start with "undefined symbol:
Robie - do you have any idea when a fix for the mysql_init bug might
flow through the normal updates channel? I have a broken bacula setup
here in the office and need to make a call on whether to sit tight.
Thanks.
--
You received this bug notification because you are a member of Ubuntu
Bugs,
** Also affects: bacula (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: bacula (Ubuntu Xenial)
Importance: Undecided => High
** Changed in: bacula (Ubuntu Xenial)
Status: New => Triaged
--
You received this bug notification because you are a member of
Hiroaki and Dirk: thank you for testing. Your reports are very useful.
It seems that we have three separate root problems here. The one with
mysql linking that my PPA fixes, but also the mysql.cnf sql_mode issue
Robin mentioned and this one about bconcole.
It would be best to track these issues
@Robie Basak (racb) : I just tried your packages and they work perfectly.
bacula-dir does start as expected.
But I also found the same bug concerning "bconsole" that was already
mentioned by Hiroaki Hashi (hashiz)
--
You received this bug notification because you are a member of Ubuntu
Bugs,
** Changed in: bacula (Ubuntu)
Assignee: (unassigned) => Norvald H. Ryeng (nryeng)
** Changed in: bacula (Ubuntu)
Milestone: None => ubuntu-16.05
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I test Robie's ppa https://launchpad.net/~racb/+archive/ubuntu/proposed-sru.
bacula-dir work again, but another problem found.
bacula-dir daemon running, but "bconsole" can not connect to daemon.
ahonen% ps -ef | grep bacula
bacula7832 1 0 16:06 ?00:00:00 /usr/sbin/bacula-sd -c
** Tags added: mysql-5.7-transition
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
To manage notifications about this bug go to:
I found that /usr/lib/bacula/libbaccats-mysql.so wasn't properly linked
to libmysqlclient in Xenial, even though the build was succeeding. I
have fixed this in a test package I have uploaded to my PPA:
https://launchpad.net/~racb/+archive/ubuntu/proposed-sru
I appreciate Robin's PPA update, but
** Changed in: bacula (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
To manage notifications about this bug go to:
Same here, works!
Thanks Robin!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
To manage notifications about this bug go to:
I just tried successfully Robin's ppa installation. Thanks Robin, bacula
works again!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
To manage notifications
@Ivo: I placed the line in /etc/mysql/mysql.conf.d/mysqld.cnf under
[mysqld] as it is a server side config entry.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
@Robin, where do I have to set sql_mode='' ? In
/etc/mysql/conf.d/mysql.cnf under [mysql]?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
To manage
@Denny, yes when using the packages from my PPA everything works fine.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
To manage notifications about this bug go
Robin, does your PPA work around the bug or will the bug still need to
be resolved before your PPA will work?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
To
By the way I have build Bacula packages for Xenial based upon Bacula 7.4 and
added it to my ppa:
https://launchpad.net/~robin-romaww/+archive/ubuntu/ppa
Bacula 7.4 OSS is based upon Bacula Enterprise 8.4 and contains many bug fixes
and improvements.
The 7.4 director is compatible with 7.0.5
One more thing to consider :
You can not backup a 7.0.5 bacula-fd as included in Ubuntu 16.04 with a 5.2.6
bacula-dir/-bacula-sd as included in 14.04
So you shouldn't upgrade your clients either until this particular bug is fixed.
A possible workaround if you have absolutely have to upgrade
This bug should get a high priority.
Do not upgrade your Bacula backup servers to 16.04 before this bug is
fixed!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't
bacula-sd and bacula-fd seem to work fine. Problem is in the mysql
version of the bacula-director
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
To manage
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: bacula (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
** Summary changed:
- bacula-dir won't st
+ bacula-dir won't start
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start
To manage notifications about this bug go
67 matches
Mail list logo