Dan Langille wrote:
On 4 Mar 2006 at 9:36, LDB wrote:

Dan Langille wrote:
On 4 Mar 2006 at 8:31, LDB wrote:

I have servers on completely different networks. In addition, the
servers I am successfully backing up are on a private network. My
director is listening on both internal and external interfaces but
I still receive the following,


03-Mar 18:46 ifred-dir: No prior Full backup Job record found.
03-Mar 18:46 ifred-dir: No prior or suitable Full backup found.
Doing FULL backup. 03-Mar 18:46 ifred-dir: Start Backup JobId 22,
Job=base1.2006-03-03_18.46.24 03-Mar 18:46 base1-fd:
base1.2006-03-03_18.46.24 Fatal error: Failed to connect to Storage
daemon: ifred.example.com:9103 03-Mar 18:46 base1-fd:
base1.2006-03-03_18.46.24 Error: bnet.c:685 gethostbyname() for
host "ifred.example.com" failed: ERR=Authoritative answer for host
not found. 03-Mar 18:46 ifred-dir: base1.2006-03-03_18.46.24 Fatal
error: Socket error from Filed on Storage command: ERR=No data
available 03-Mar 18:46 ifred-dir: base1.2006-03-03_18.46.24 Error:
Bacula 1.36.3 (22Apr05): 03-Mar-2006 18:46:29



It is obviously using gethostname() to lookup the INTERNAL address
of the director. It needs to lookup the external address.

Do I have to have 2 directors?
I'm assuming you have control over your own DNS.  If you want it to
use the internal address, give it a hostname that resolves only to
the internal address.  There's no reason why a host cannot have more
than one hostname.

I need more information to help further.

What is this job backing up? The external client? The internal?
It helps if you give us the configuration files so we can see for
ourselves.

 I am not ignoring this just using it as a last resort. :(



Yes, I control my own DNS.

The job is backing up for the first time and it is backing up the
external client.


In order to try to resolve the above issues, I have addedd the
following,

   DirAddresses = {

         ip = {
                 addr = 216.93.165.137;
         }

         ip = {
                 addr = 192.168.0.137;
         }
   }


But I get the following when restarting,

 Starting the Bacula Director daemon
 04-Mar 06:23 bacula-dir: ERROR TERMINATION at address_conf.c:497
 Config error: Can't add hostname(216.93.165.137) and port() to
addrlist (the old style addresses cannot be mixed with new style)
             : line 28, col 2 of file /etc/bacula/bacula-dir.conf
         }

What is correct syntax?

The documentation posted does not match the version obviously. I am
using version, 1.36.3.

Yes, you need to use the documenation for your version.

The external client will not be able to reach the internal DIR without help. I suggest redirecting a port on your firewall to port 9103 on your SD. Your external client will connect to that port, and be redirected to your SD.

Does this make sense?

perhaps this will help:

http://www.bacula.org/rel-manual/Dealing_with_Firewalls.html


Yes, this makes sense. Thanks .. My only problem is that from the external client I can telnet to ports 910{1,2,3}. The problem is when it looks up the internal DNS address of the director. I do not think I have a firewall problem. :)

My distribution does not have documentation for this version. Can anyone suggest a list of syntaxs for DirAddresses?

Thanks,

LDB


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to