Bacula-users

Re: [Bacula-users] Could not connect to server Director daemon ....

2015-06-05 14:18:12
Subject: Re: [Bacula-users] Could not connect to server Director daemon ....
From: olx69 <ope-linux AT gmx DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 05 Jun 2015 20:17:23 +0200
Hello Ana,

> Your daemons are listening on 127.0.0.2, and bacula is trying to connect
> on 198.162.1.11. You can configure Bacula to listen to any IP commenting
> the lines: DirAddress, FDAddress and SDAddress in bacula-dir.conf,
> bacula-fd.conf and bacula-sd.conf. Or you can check your DNS resolution.
> Maybe the FQDN hostname is being resolved to a local IP.

A quick search on the config files got:

$ find . -name \*.conf -exec egrep -H -i Address {} \; | sed -e '/:#/d' 

./bacula-dir.conf:  DirAddress = tux64.home.lan
./bacula-sd.conf:  SDAddress = tux64.home.lan
./bacula-dir.conf.d/storage.conf:  Address = tux64.home.lan
./bacula-dir.conf.d/client-tux32.conf:  Address = tux32.home.lan
./bacula-dir.conf.d/client-tux64.conf:  Address = tux64.home.lan
./bconsole.conf:  address = tux64.home.lan
./tray-monitor.conf:  Address = tux64.home.lan
./tray-monitor.conf:  Address = tux64.home.lan
./tray-monitor.conf:  Address = tux64.home.lan
./bat.conf:  address = tux64.home.lan

$ cat /etc/hosts
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6

$ hostname
tux64.home.lan

so, why does it bind to loopback device ip?

>     ​> Have you changed your PID directory to /var/run after upgrade?
>     Can you
>       > post the output of "netstat -nltup | grep bacula"?
>
>     $ sudo netstat -nltup | grep bacula
>     tcp        0      0 127.0.0.2:9101 <http://127.0.0.2:9101>
>     0.0.0.0:*             LISTEN
>            855/bacula-dir
>     tcp        0      0 127.0.0.2:9102 <http://127.0.0.2:9102>
>     0.0.0.0:*
>     LISTEN      857/bacula-fd
>     tcp        0      0 127.0.0.2:9103 <http://127.0.0.2:9103>
>     0.0.0.0:*
>     LISTEN      851/bacula-sd
>

Thank you,
Olaf


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