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

2020-03-02 Thread Marcin Haba
Hello Jose, Error 83 means that JSON tool (bdirjson in this case) returned something different than JSON output. To see what it is, you can enable debug in Baculum API. To do that you can switch in the following file: /usr/share/baculum/htdocs/protected/API/Config/api.conf in [api] section the o

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

2020-03-02 Thread Marcin Haba
Hello Heitor, Bacula Console password is something different than OAuth2 token. I mean that Bacula Director Console resource password should be defined idependently from any Baculum configuration. Tokens are Baculum specific and they are not used in Bacula configuration. In general you don't need

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

2020-03-02 Thread Jose Alberto
Hi. I have bacula for more than 6 months working well. but days ago I have trouble writing in the principal's file (bacula-dir.conf) with error: JSON tool output was unable to parse 83. But i edit bacula-sd.conf or bacula-fd.conf with baculum, all good. no problem. The fields are not s

Re: [Bacula-users] [Baculum Multi-user] Apache Test Page after changing Location tag to /api/page

2020-03-02 Thread Marcin Haba
Hello Heitor, Thanks for the confirmation that you edited wrong file. Yes, these errors can happen because this Apache section should not be changed. To always know which section change, you can follow on a comment inside this Apache config file. The comment is written above the valid section to

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

2020-03-02 Thread Marcin Haba
Hi Jose, Yes, you can use Baculum 9.6.2 with Bacula 9.4.4. There is also possible to use Baculum with older Bacula than 9.4.4. If Baculum config part is used, then even Bacula 9.0.0 works well. For Baculum without config part it can be older Bacula than 9.0.0. Best regards, Marcin Haba (gani) On

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

2020-03-02 Thread Heitor Faria
Dear Users, Still configuring the Baculum Multi-user interface such as in . After changing the API Apache Conf. Locationg TAG, creating the OAuth users and Console entries in the bacul

Re: [Bacula-users] [Baculum Multi-user] Apache Test Page after changing Location tag to /api/page

2020-03-02 Thread Heitor Faria
Nevermind, it worked. I was changing the wrong stanza. This is the correct: # AuthType Basic AuthName "Baculum Auth" AuthUserFile /usr/share/baculum/htdocs/protected/API/Config/baculum.users Require valid-user # Regards, > From: "Heitor Faria" > To: "ganiuszka" > Cc: "bacula-us

Re: [Bacula-users] [Baculum Multi-user] Apache Test Page after changing Location tag to /api/page

2020-03-02 Thread Heitor Faria
Hello Marcin, Indeed, I was editing the wrong (baculum Apache conf) file. But as in the attachments, I got a lot of errors when changing the API config. file to the following: DocumentRoot /usr/share/baculum/htdocs ServerName localhost CustomLog /var/log/httpd/baculum-api-access.log combi

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

2020-03-02 Thread Chaz Vidal
Thanks Josh for the response. My team have recently just taken over this Bacula system and have it on previous reports that we have had backup jobs running for more than 6 days so potentially this Watchdog is not being triggered. In archive examples I found that when the watchdog is triggered i

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

2020-03-02 Thread Jose Alberto
Hi. Can I Use Baculum 9.6.2 with Bacula 9.4.4? I have debian 9 amd64. Intall Baculum and Bacula from Repo (apt) But, I want upgrade only Baculum. is possible? work? Bacula 9.4.4 Baculum 9.6.2 Thanks. -- # # Sistema Operativo: Debian # #Caracas

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

2020-03-02 Thread Josh Fisher
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 https://www.bacula.org/9.6.x-manuals/en/main/Configuring_Director.html --- *Andrea Brancatell

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

2020-03-02 Thread Andrea Brancatelli via Bacula-users
Are you sure about this? We have a job that takes 25 days to complete without any recompiling. --- Andrea Brancatelli On 2020-03-02 12:15, Josh Fisher wrote: > Bacula has a built-in watchdog that kills a job that runs for more than 6 > days. That period can be extended at compile time, so yo

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

2020-03-02 Thread Yale Kozinski
Does that include a job that requests regular intervention? If so, I guess I need to recompile Bacula before attempting to backup 50 terabytes of data onto LTO6 media. I’m fairly new to Bacula and I was planning to just change tapes every day while in the office, but if it’s just going to crash

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

2020-03-02 Thread Josh Fisher
Bacula has a built-in watchdog that kills a job that runs for more than 6 days. That period can be extended at compile time, so you have to compile your own binaries after a change to the source. I don't remember where in the source, but this has come up before and should be searchable. If you