Hi Jörg,
I tried a view things... and found that bconsole needs only a long time
to connect to the director if I use the name galaxy.cac.local (
192.168.76.2). If I use localhost or one of both IP addresses
(192.168.76.2 or 127.0.0.1) it's fast. I know this seems to be a DNS
problem, but why work all other programs like ping and bareos 15.2
without any problem? Telnet opens immediately a session to
galaxy.cac.local:9101 too.
This happens on two server.
Probably there is glitch in my configuration and I don't see it.
Here my configuration:
CentOS 7.2 actual patchlevel
Bareos 16.3.1 (01 July 2016)
IPv6 disabled
Firewall disabled
hosts:
192.168.76.2 galaxy.cac.local galaxy
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
Interfaces:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.76.2 netmask 255.255.255.0 broadcast 192.168.76.255
ether 00:50:56:9c:c7:75 txqueuelen 1000 (Ethernet)
RX packets 1348739 bytes 977232768 (931.9 MiB)
RX errors 0 dropped 17 overruns 0 frame 0
TX packets 3443570 bytes
4329168020 (4.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Lokale Schleife)
RX packets 113353779 bytes 2758091387290 (2.5 TiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 113353779 bytes 2758091387290 (2.5 TiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
bconsole.conf
Director {
Name = galaxy-dir
DIRport = 9101
address = galaxy.cac.local
# address = 192.168.76.2
Password = "XXXXXccccVVVV"
}
Regards
Stefan
Am 30.08.2016 um 18:40 schrieb Jörg Steffens:
> Am 29.08.2016 um 23:46 schrieb Stefan Klatt:
>> Hi Jörg,
>>
>> I use bareos 16.3.1 (01Jul16) on two server and have a little problem
>> with bconsole. It needs a long time to connect to the director on the
>> same machine.
>> With 15.2.2 this was really fast.
> I assume, it might be a DNS lookup problem.
> Take a look into your bconsole.conf.
> Maybe change the address directive to 127.0.0.1.
>
> Jörg