I'm using Bacula 2.2.5 on Linux.  I went through the tutorial in the 
manual and got the local client up and running just fine.  Then I 
installed the same version of the client on a second machine running the 
same Linux distribution and tried to run a job.  The second client can't 
connect to the storage daemon.  I took the firewall down on the storage 
daemon box just to make sure that's not the issue and I have nothing in 
hosts.deny.  The message from bconsole is "12-Nov 12:07 ori-fd JobId 17: 
Warning: bsock.c:123 Could not connect to Storage daemon on 
mysd.fqdn:9103. ERR=Connection refused" where mysd.fqdn is the correct 
fqdn of the machine running the storage daemon and the director and 
first client.  netcat gets the same thing "mysd.fqdn [mysd.ip] 9103 
(bacula-sd) : Connection refused" and verifies that it is resolving the 
name to the correct IP address.  If I understand the way this works 
correctly, the configuration of my directory must be OK as it 
successfully contacted the second client's file daemon and instructed it 
to contact the correct storage daemon.  Any ideas?

    Well I checked one more thing before sending this and found the 
problem.  I'm sending it anyway just in case someone else runs across 
it.  The storage daemon was bound only to the loopback address.  In it's 
config file I had specified the fqdn of the host it was running on but 
that host name was only listed as an alias of the loopback address in 
/etc/hosts and not listed with it's real IP.  I removed the SDPort and 
SDAddress from the storage daemon configuration.  Then it was bound to 
all addresses and all is well.


Jason Joines
=================================

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to