Re: [Bacula-users] Baculum JSON tool output was unable to parse 83 Only file bacula-dir.conf

2020-03-03 Thread Marcin Haba
Hello Jose, One more note. It can be less visible, because unfortunately the line with command has been wrapped, but between echo and json_last_error_msg() there is a space character. Best regards Marcin Haba (gani) On Wed, 4 Mar 2020 at 07:12, Marcin Haba wrote: > > Hello Jose, > > It looks

Re: [Bacula-users] [Baculum 9.6.2] Error code: 6 Message: Problem with authorization to Baculum API.

2020-03-03 Thread Marcin Haba
Hello Heitor, Thanks for your response that you were able to make it working. As addition to it I would like to add that the API Client short name is string used to identify by administrator which OAuth2 API account is used by which user. So the short name is used only for information. It can be

Re: [Bacula-users] Baculum JSON tool output was unable to parse 83 Only file bacula-dir.conf

2020-03-03 Thread Marcin Haba
Hello Jose, It looks that something is wrong with that JSON string. Baculum uses PHP json_decode() function to decode JSON string, which doesn't show in which part of JSON string is the problem. To check what is wrong you can try to put to a file all this JSON string from 'Parse output' line

Re: [Bacula-users] Baculum JSON tool output was unable to parse 83 Only file bacula-dir.conf

2020-03-03 Thread Jose Alberto
Result: Mar 03 20:24:22 [Debug] [External] Command=Parse output, Output=[{ "Director": {"Name": "s1vmbaculapro-dir","Messages": "Daemon", "QueryFile": "/opt/bacula/scripts/query.sql","WorkingDirectory": "/opt/bacula/working","PidDirectory": "/opt/bacula/working",

Re: [Bacula-users] [Baculum 9.6.2] Error code: 6 Message: Problem with authorization to Baculum API.

2020-03-03 Thread Heitor Faria
Hello Marcin, I was able to make it work. Many thanks for that. One caveat was that I needed to create the Baculum API Access for each user using the same user as the API Shortname. Also, I think it should be clear that it is necessary to create a (e.g.) bconsole-.conf for each user, if willing

Re: [Bacula-users] Bacula Crashed / Segementation Violation

2020-03-03 Thread Chaz Vidal
This may be unfortunate but I got the email with the following contents: # #/usr/sbin/btraceback: 60: /usr/sbin/btraceback: gdb: not found # # Is there something fundamental that we are missing with this installation? Thanks Chaz Chaz Vidal | ICT Infrastructure | Tel: +61-8-812804397 | Mob:

Re: [Bacula-users] Can I Use Baculum 9.6.2 with Bacula 9.4.4?

2020-03-03 Thread Jose Alberto
Hi. Update without Problem. Centos 7 amd64. Mysql Bacula 9.4.4 Baculum 9.6.2 https://bacula.org/downloads/baculum/stable/centos/ On Mon, Mar 2, 2020 at 11:10 PM Marcin Haba wrote: > Hi Jose, > > Yes, you can use Baculum 9.6.2 with Bacula 9.4.4. There is also > possible to use Baculum

Re: [Bacula-users] Bacula Crashed / Segementation Violation

2020-03-03 Thread Martin Simmons
Did you also get an email about this crash (see the postfix lines in the log)? If not, check /usr/sbin/btraceback for the email address. It should contain the gdb information needed to diagnose this. If so, please post it here. __Martin > On Sun, 1 Mar 2020 23:22:59 +, Chaz Vidal

Re: [Bacula-users] Bacula Crashed / Segementation Violation

2020-03-03 Thread Martin Simmons
> On Mon, 2 Mar 2020 09:44:41 -0500, Josh Fisher said: > > On 3/2/2020 8:45 AM, Andrea Brancatelli wrote: > > > > Are you sure about this? > > > > We have a job that takes 25 days to complete without any recompiling. > > > > Yes. See Max Run Time in the Job resource docs at >

Re: [Bacula-users] Bacula Crashed / Segementation Violation

2020-03-03 Thread Kern Sibbald
Hello, There is no reason for Bacula to crash at any point.  The watchdog may cancel jobs after a period of time, but that is not a Bacula crash. Best regards, Kern On 3/2/20 2:02 PM, Yale Kozinski wrote: Does that include a job that requests regular intervention? If so, I guess I need to

Re: [Bacula-users] Bacula Crashed / Segementation Violation

2020-03-03 Thread Kern Sibbald
Hello, To respond to a seg fault, we need a number of things: 1. The Bacula version of all your components (Dir, SD, FD) 2. Where did you get your binairies?  Download from where, build-yourself.  If you built them, what commands did you use? 3. A traceback.  I don't see a valid traceback