Bacula-users

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

2011-01-03 14:09:03
Subject: Re: [Bacula-users] Error: bsock.c:208 gethostbyname() after domain name change
From: Jari Fredriksson <jarif AT iki DOT fi>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 03 Jan 2011 21:07:15 +0200
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&#58; bsock.c&#58;208 gethostbyname&#40;&#41; for host "fs1.old.domain" 
> failed&#58; ERR=Authoritative answer for host not found.
> 
> I have verified that no old names exist in the conf files on all clients, the 
> director and the storage daemon hosts. I have restarted the daemons on all 
> hosts. The command "hostname --fqdn" returns the expected values on all 
> hosts. Where else could the old domain name be stored? In the database 
> somewhere?
> 

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.

Don't know if it is the same problem, but similar.

-- 

The surest protection against temptation is cowardice.
                -- Mark Twain

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users