Thanks for picking this up. This is the complete bacula-fd.conf:
# File daemon Name to
#
#
# Copyright (C) 2000-2020 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#
#
# List Directors who are permitted to contact this File daemon
#
Director {
Name = bacula-dir
Password = “redacted"
# DirPort = 9101
Address = bacula-dir.lan.net
ConnectToDirector = yes
ReconnectionTime = 40 min
}
#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
#Director {
# Name = bacula-mon
# Password = “redacted"
# Monitor = yes
#}
#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = redacted-fd
# FDport = 9102 # where we listen for the director
WorkingDirectory = /var/lib/bacula
Pid Directory = /run/bacula
Maximum Concurrent Jobs = 20
Plugin Directory = /usr/lib/bacula
# FDAddress = 127.0.0.1
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = bacula-dir = all, !skipped, !restored
}
> On 17. Jun 2022, at 14:16, Josh Fisher <[email protected]> wrote:
>
> Did you follow the error message's suggestion? "Perhaps you left the trailing
> brace off of the previous resource...." (or A previous resource in the
> bacula-fd.conf file) We would need to see the entire bacula-fd.conf file in
> order to help.
>
> On 6/15/22 22:36, Justin Case wrote:
>> Hi there,
>>
>> I have a client behind a firewall and the director is unable to connect to
>> this client, but the client may connect to the director and to the SD.
>>
>> In the main manual is documented that one should to this:
>>
>> on the Director side in the Client directive:
>> AllowFDConnections = yes
>>
>> on the FD side in the Director directive:
>> Director {
>> Name = bacula-dir
>> Password = “redacted”
>> # DirPort = 9101
>> Address = bacula-dir.lan.net
>> ConnectToDirector = yes
>> ReconnectionTime = 40 min
>> }
>>
>> I have done this, but the bacula-fd complains:
>>
>> bacula-fd: ERROR TERMINATION at parse_conf.c:1157
>> Config error: Keyword "ConnectToDirector" not permitted in this resource.
>> Perhaps you left the trailing brace off of the previous resource.
>> : line 22, col 20 of file /etc/bacula/bacula-fd.conf
>> ConnectToDirector = yes
>>
>> Actually it would also complain about DirPort in the same way if I remove
>> the comment character.
>>
>> It looks like the documentation does not fit the behaviour of the Debian
>> bacula-client package.
>>
>> What can I do now?
>>
>> Best
>> J/C
>>
>>
>>
>> _______________________________________________
>> Bacula-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users