All i was able to locate in bareos-dir.trace was just evidence that 99%
it's an ssl issue:

* if you are using any self-signed certificate on Bareos (highly suggest
you start using it)
* i saw that your Bareos director is called on few lines with >>> hostname
<<< which is not recommended
* if you are using internal/NAT-ed network, > ensure < that every other
module of network/iptables is loaded

you can check if your Bareos has enabled SSL by simply using *bconsole* and
it should produce something liket this:

Connecting to Director localhost:9101
 Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
1000 OK: bareos-dir Version: 20.0.0 (16 December 2020)

I can think of only one other thing that you might missing - postgresql -
check SSL, try to login with user/pass from localhost using bareos
credentials. everything from top to bottom.
Not sure how many installation you made either Bareos or Bacula, but
having such issues is step one of learning "what's exactly is Bareos" - the
config structure, the definitions of file-daemon, storage-daemon and
director

~br


On Wed, Mar 31, 2021 at 6:21 PM Kaushal Shriyan <kaushalshri...@gmail.com>
wrote:

> Hi,
>
> I have attached the debug logs for your reference.
>
> *setdebug level=100 trace=1 dir
> level=100 trace=1 hangup=0 timestamp=0
> tracefilename=/var/lib/bareos/bareos-dir.trace
>
> Best Regards,
>
> On Wednesday, 31 March 2021 at 00:51:53 UTC+5:30 ymar...@gmail.com wrote:
>
>> Hello,
>>
>> on totally unrelated topic it's not *BareOS, *but simple Bareos. Had
>> this issues on some other apps and i can confirm that the issue was caused
>> because of SSL_ERROR_SYSCALL along with the wsa error_code 10054 which both
>> says that the connection has been terminated by the remote host - also, had
>> experience with old curl / certificates / javastores packages which could
>> be possible reason, just because of the deprecated or old or whatever
>> functions. Overall, i don't think this could be set as bug, just because
>> simple firewall, or NAT-ed VM/baremetal could cause this issue.
>>
>> Strongly suggesting you to turn on some debugging and see what's exactly
>> makes the remote host to drop your connection.
>>
>> ~br
>>
>> On Tue, Mar 30, 2021 at 8:18 PM Kaushal Shriyan <kaushal...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Checking in again if someone can pitch in for my earlier post to the
>>> bareos-users google group.  I have already raised a bug report in
>>> https://bugs.bareos.org/view.php?id=1331. Thanks in advance. I look
>>> forward to hearing from you.
>>>
>>> Best Regards,
>>>
>>> Kaushal
>>> On Sunday, 28 March 2021 at 10:57:37 UTC+5:30 Kaushal Shriyan wrote:
>>>
>>>> On Sun, Mar 28, 2021 at 5:18 AM Larry G. Wapnitsky <la...@wapnitsky.com>
>>>> wrote:
>>>>
>>>>> Curious about this as well. Haven't used BareOS in a few years, but
>>>>> want to set it up in my homelab with Wasabi, and am running into the same
>>>>> errors.
>>>>>
>>>>
>>>> Hi,
>>>>
>>>> I have already raised a bug report in
>>>> https://bugs.bareos.org/view.php?id=1331. Thanks in Advance.
>>>>
>>>> Best Regards,
>>>>
>>> --
>>>
>> You received this message because you are subscribed to the Google Groups
>>> "bareos-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to bareos-users...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/bareos-users/16eabca4-8f95-4417-8353-909bcffb6fdan%40googlegroups.com
>>> <https://groups.google.com/d/msgid/bareos-users/16eabca4-8f95-4417-8353-909bcffb6fdan%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bareos-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/dbdceb53-636e-4836-b248-1ed5726f8d19n%40googlegroups.com
> <https://groups.google.com/d/msgid/bareos-users/dbdceb53-636e-4836-b248-1ed5726f8d19n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/CAA6m8tTasis-h8dMQAu%3Dg0DUhJxH6Y5Q0TnD8SC_NN%3Db9Ow5uA%40mail.gmail.com.

Reply via email to