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

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

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.

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