On 9/24/20 5:43 PM, Brendan Martin wrote:
Greetings.

I need to revisit a topic I saw a little over a year ago that didn't get any response.

I have added several clients to a new director.  Of those added so far, I have two to which the director is unable to connect.  They both report

    Fatal error: bsockcore.c:209 Unable to connect to Client

with either a connection timeout or an interrupted system call.

I have compared the stanzas in bacula-dir.conf for the clients that are working normally against those that aren't and validated the local bacula-fd.conf files.  I see no apparent configuration errors.


Since other clients are working, the cause is most likely in the new clients. First, make sure that the bacula-fd daemon is indeed being started on the client and is running. Make sure that TCP port 9102 is open on the client and not blocked by the client's firewall. Make sure that the hostname of the client resolves from the machines running bacula-dir and bacula-sd.

An easy way to test this is to attempt to connect using telnet. From the machine running bacula-dir:

  telnet client.host.name 9102

This should connect and display a telnet-like prompt, awaiting a command. If it does not connect, then look into why. If telnet cannot resolve the client's hostname, then the error will be "name or service not known". Correct DNS entries to fix. If it times out, then either bacula-fd is not running on the client or the client's firewall is blocking connections to TCP 9102,

If connecting with telnet DOES work, go into bconsole and issue a 'stat client=client-name'. If that does not work, then almost certainly the password is incorrect in bacula-fd.conf on the client.



All systems involved are running Debian 10 with Bacula 9.4.2.  All clients are on the same subnet.

Thanks,
Brendan Martin



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to