Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-02 Thread Kern Sibbald
On 10/02/2016 09:03 PM, Jan Martin wrote: > Hi, > > Well, if not Debian, maybe we can interest Ubuntu in fixing the 7.0.5 > bacula in their 16.04 distribution, since it's an LTS version. That > would help those distros that inherit from Ubuntu, like Mint, maybe? > > -Jan > > On 10/02/2016 09:58

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-02 Thread Sven Hartge
Um 12:03 Uhr am 02.10.16 schrieb Jan Martin: > Well, if not Debian, maybe we can interest Ubuntu in fixing the 7.0.5 > bacula in their 16.04 distribution, since it's an LTS version. That > would help those distros that inherit from Ubuntu, like Mint, maybe? No need to do this, there is

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-02 Thread Jan Martin
Hi, Well, if not Debian, maybe we can interest Ubuntu in fixing the 7.0.5 bacula in their 16.04 distribution, since it's an LTS version. That would help those distros that inherit from Ubuntu, like Mint, maybe? -Jan On 10/02/2016 09:58 AM, Sven Hartge wrote: > On 02.10.2016 09:08, Hankins,

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-02 Thread Sven Hartge
On 02.10.2016 09:08, Hankins, Jonathan wrote: > Even though it's fixed in the 7.4.x from Ubuntu (probably in debian > too), if it's indeed broken in debian, I'm going to ask if they can > release an update to their 7.0.5 package in testing, so that people who > track that, or distros that are

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-02 Thread Kern Sibbald
On 10/02/2016 09:08 AM, Hankins, Jonathan wrote: I'll have to dig a bit, but I know the package source in Mint 18 is unmodified from Ubuntu xenial, and I didn't see any indication that it was different than what's in debian.

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-02 Thread Kern Sibbald
Hello Jonathan, The only hope you have to get these changes made is to either submit a Feature Request in the bugs database for each one, or submit a patch -- also to the bugs database. With emails, these ideas disappear in about a half hour as our

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-02 Thread Hankins, Jonathan
I'll have to dig a bit, but I know the package source in Mint 18 is unmodified from Ubuntu xenial, and I didn't see any indication that it was different than what's in debian. I think what may be happening is, Ubuntu xenial (a LTS release IIRC) tracks something newer than debian stable (maybe

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-02 Thread Hankins, Jonathan
Kern, If there's any work to improve the error from bconsole when the max console connections are exceeded, it may be helpful to add a debug msg on the director indicating this too...i think was running under debug level 9 and didn't see anything indicating that condition. For that matter,

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-01 Thread Kern Sibbald
I have not heard of this on Debian, but it is a problem on Ubuntu and in their bugzilla database.  I suspect that even though Ubuntu takes a number of Debian packages, they probably add some different linking options. On 10/02/2016 01:41 AM, Sven Hartge

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-01 Thread Kern Sibbald
Hello, When one uses the -Bsymbolic_functions link option, the effect on Bacula is that the default values will not in all cases be set correctly. The exact mechanism is a bit complicated but I think it applies mostly to the Director. The "workaround" for this problem (requiring no

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-01 Thread Sven Hartge
On 01.10.2016 16:51, Hankins, Jonathan wrote: > It seems weird that the bacula package in Debian and Ubuntu, et al, is > broken and no one has noticed (checked Debian bug database). I know > Debian has been on 5.x in the stable release for years (still is). It's > possible that 7.0.5 got packaged

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-01 Thread Jan Martin
Thanks to Kern, John, and Josh, It seems I am not crazy after all :). So the current release version from Mint 18 seems to be compiled with a link switch -Bsymbolic_functions, which makes it not work. The version lines for my bacula-dir and bconsole: trinity% sudo /usr/sbin/bacula-dir -?

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-01 Thread Kern Sibbald
I cannot say for sure about Debian, but for Ubuntu there are/were bug reports open.  All have been resolved by the packagers with my input.  What happened with Ubuntu is that they simply packaged it and released it without testing (surely due to lack of

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-01 Thread Hankins, Jonathan
It seems weird that the bacula package in Debian and Ubuntu, et al, is broken and no one has noticed (checked Debian bug database). I know Debian has been on 5.x in the stable release for years (still is). It's possible that 7.0.5 got packaged for their testing release and maybe Ubuntu xenial

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-01 Thread Kern Sibbald
Hello Josh, Yes, if you build either with -D fortify-source=2 or link with -Bsymbolic-functions, Bacula will fail.  It is best to stick with the Bacula recommended build options, which is what you are using. Also if you have a Bacula

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-01 Thread Josh Fisher
On 10/1/2016 2:44 AM, Hankins, Jonathan wrote: So I've narrowed it down. If I build from Debian's patched source, but run ./configure myself, my flags in config.out look like: Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti Linker flags: However, if I

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-10-01 Thread Hankins, Jonathan
So I've narrowed it down. If I build from Debian's patched source, but run ./configure myself, my flags in config.out look like: Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti Linker flags: However, if I build using debian's rules file, my flags in

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-09-30 Thread Hankins, Jonathan
So I built the source package on Mint 18 (it's from Debian upstream) and it is still broken. Then, I extracted the original source from the Debian package, and didn't apply the debian patches (except switch-nonfree-sha1-to-openssl.patch, which I had to do to get it to build). I set prefix to

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-09-30 Thread Hankins, Jonathan
Jan, I am assuming you're on the latest Mint (18) -- my Mint 18 workstation loaded bacula 7.0.5 when I installed it just now. I am having the same issue with the default config, so let me play with it and see what I can come up with. -Jonathan Hankins On Fri, Sep 30, 2016 at 6:29 PM Jan Martin

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-09-30 Thread Jan Martin
Hi, On my system, you are right. dir runs as bacula:bacula, sd runs as bacula:tape, and fd runs as root:root trinity% bconsole -? Copyright (C) 2000-2014 Free Software Foundation Europe e.V. Version: 7.0.5 (28 July 2014) x86_64-pc-linux-gnu ubuntu 16.04 Usage: bconsole [-s] [-c config_file]

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-09-30 Thread Hankins, Jonathan
I believe the FD is the inly thing that needs to run as root. I think on Debian/Ubuntu/Mint, the dir runs as bacula:bacula and the SD as bacula:tape, but I may be wrong. Are you sure that your bconsole is 7.0.5 as well? Check everything with: dpkg -l \*bacula\* and: which bconsole ...Just to

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-09-30 Thread Elias Pereira
I'm not sure, but bacula services must be run as root both user and group. Em 30/09/2016 5:59 PM, "Jan Martin" escreveu: > Hi, > > OK, I just killed the currently running bacula-dir daemon (the nice way, > from the init.d script), and restarted it with the same command line,

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-09-30 Thread Jan Martin
Hi, OK, I just killed the currently running bacula-dir daemon (the nice way, from the init.d script), and restarted it with the same command line, but added -d200. Got some extra stuff at the beginning: trinity% sudo /usr/sbin/bacula-dir -d200 -c /etc/bacula/bacula-dir.conf -u bacula -g

Re: [Bacula-users] bconsole can't talk to bacula-dir

2016-09-30 Thread Elias Pereira
You tried to execute bacula-dir in debug mode? # bacula-dir -d200 Em 30/09/2016 4:49 PM, "Jan Martin" escreveu: > Hello bacula-users! > > I'm having a problem that I can't figure out, so I hope someone here can > help out. > > I have been using bacula 5.2.x for backing up my

[Bacula-users] bconsole can't talk to bacula-dir

2016-09-30 Thread Jan Martin
Hello bacula-users! I'm having a problem that I can't figure out, so I hope someone here can help out. I have been using bacula 5.2.x for backing up my Mint linux box and a couple of Macs. The latest version of Mint goes to bacula v7.0.5, so I installed that after saving my old database and