On Thursday 2020-09-24 16:43:04 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.
> 
> All systems involved are running Debian 10 with Bacula 9.4.2.  All
> clients are on the same subnet.
> 
> Thanks,
> Brendan Martin


Hello!

Have you tried restarting those clients?
Are you sure the passwords are matching configuration on the
client and the server?
Are you using communication encryption (TLS* options)?
Are there any logs on the client or server side?

If you are sure configuration is correct you should try debug it.
It's either the configuration (IP/password) or the network.
Here are some ideas.

Check if you have selinux on those servers (use the command getenforce)
and if yes, turn it of (at least temporarily) using the command
setenforce 0

You could stop the bacula-fd on those servers and run nc on the
port 9102 using the command "nc -l 9102", then try to connect
to it using telnet or nc from the bacula server.

During tests, try using IP addresses instead of hostnames to
eliminate the possibility of wrong DNS or /etc/hosts entries.

Check the firewall rules on the backup client and you might
temporarily for the purpose of testing stop the firewall and
get it up later.

On the backup client you could use tcpdump to check if your
packets from the backup server are really reaching your client
server using the command such as this:
tcpdump -i any -nnn -vvv 'port 9102'

Then do the same from client toward your bacula storage server
using port 9103.


Regards!

-- 
Josip Deanovic


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

Reply via email to