[Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-04 Thread pgf
Bruno Friedmann wrote: > On 01/04/2011 06:35 PM, pgf wrote: > services that can be a killer in the case of change > avahi-dns > & > nscd (there's actually two daemon with that name and unscd is worst that the > old nscd ) > It was done - in fact, the system having problems was rebooted after t

Re: [Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-04 Thread Bruno Friedmann
On 01/04/2011 06:35 PM, pgf wrote: > > Guy wrote: >> In your conf file are you using fully qualified host names? Ie >> host.newdomain or just hostname? >> > > > Dan, thanks for the hint. I had one entry in bacula-dir.conf that was not > fully qualified. Just what was caching the old domain na

[Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-04 Thread pgf
Guy wrote: > In your conf file are you using fully qualified host names? Ie > host.newdomain or just hostname? > Dan, thanks for the hint. I had one entry in bacula-dir.conf that was not fully qualified. Just what was caching the old domain name is still unclear, but only Bacula seemed to b

Re: [Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-03 Thread Guy
In your conf file are you using fully qualified host names? Ie host.newdomain or just hostname? I would suspect you still have entries in resolv.conf for the old domain in the searchpath. Or maybe PTR records in DNS have not been updated. You can use dig to test. ---Guy (via iPhone) On 4 Ja

Re: [Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-03 Thread Dan Langille
On 1/3/2011 11:06 AM, pgf wrote: > After a a domain name change of my entire network I am getting an error from > Bacula. For some reason it is still trying to look up the hosts by their old > domain name: > > Error: bsock.c:208 gethostbyname() for host "fs1.old.domain" > failed: ERR=Authoritati

[Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-03 Thread pgf
Jari Fredriksson wrote: > On 3.1.2011 21:21, pgf wrote: > Have you tried telnet to the port? I was amazed that it did not work, as > telnet to fs1.old.domain will (and should) most definitely fail - that it the old FQDN. The problem is not reachability; the problem is that bacula is somehow r

Re: [Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-03 Thread Jari Fredriksson
On 3.1.2011 21:21, pgf wrote: > > Jari Fredriksson wrote: >> On 3.1.2011 18:06, pgf wrote: >> I don't know why, but some /etc/nsswitch.conf with these lines >> >> hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 >> >> fails for me in this situation. >> >> hosts: files dns >> >> jus

Re: [Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-03 Thread jeffrey Lang
Did you change the /etc/hosts files on all machines involved? pgf wrote: Jari Fredriksson wrote: On 3.1.2011 18:06, pgf wrote: I don't know why, but some /etc/nsswitch.conf with these lines hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 fails for me in this situation.

[Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-03 Thread pgf
Jari Fredriksson wrote: > On 3.1.2011 18:06, pgf wrote: > I don't know why, but some /etc/nsswitch.conf with these lines > > hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 > > fails for me in this situation. > > hosts: files dns > > just works. > Thanks for the suggestio

Re: [Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-03 Thread Jari Fredriksson
On 3.1.2011 18:06, pgf wrote: > After a a domain name change of my entire network I am getting an error from > Bacula. For some reason it is still trying to look up the hosts by their old > domain name: > > Error: bsock.c:208 gethostbyname() for host "fs1.old.domain" > failed: ERR=Authoritative

[Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change

2011-01-03 Thread pgf
After a a domain name change of my entire network I am getting an error from Bacula. For some reason it is still trying to look up the hosts by their old domain name: Error: bsock.c:208 gethostbyname() for host "fs1.old.domain" failed: ERR=Authoritative answer for host not found. I have verifi