Bacula-users

Re: [Bacula-users] backups failed with gethostbyname() error

2014-09-24 12:11:35
Subject: Re: [Bacula-users] backups failed with gethostbyname() error
From: Uwe Schuerkamp <uwe.schuerkamp AT nionex DOT net>
To: Tim Dunphy <bluethundr AT gmail DOT com>
Date: Wed, 24 Sep 2014 17:49:32 +0200
On Wed, Sep 24, 2014 at 11:01:51AM -0400, Tim Dunphy wrote:
> Hey all,
> 
>  I've just had backup fail for one of my hosts. It gives the following
> error:
> 
> 24-Sep 03:10 ops.mydomain.com JobId 218: Start Backup JobId 218,
> Job=beta-new.mydomain.com.2014-09-24_03.05.00_03
> 
> 24-Sep 03:10 ops.mydomain.com JobId 218: Using Device "FileStorage" to
> write.
> 
> 24-Sep 03:11 ops.mydomain.com JobId 218: Error: bsock.c:194 gethostbyname()
> for host "beta-new.mydomain.com" failed: ERR=Name or service not known
> 
> 24-Sep 03:13 ops.mydomain.com JobId 218: Fatal error: No Job status
> returned from FD.
> 
> 24-Sep 03:13 ops.mydomain.com JobId 218: Error: Bacula ops.mydomain.com
> 7.0.5 (28Jul14):
> I'm not really sure what the problem is, cuz if I do a hostname -f on the
> host that I'm having a problem with it returns the name that the bacula
> server is expecting in it's bacula-dir config.
> 
> 
> I've been having this problem for the past two days apparently. Any help or
> suggestions on how I could solve this problem would be greatly appreciated!
> 
> Tim

Hi Tim,

you can add the missing hostname incl. its IP address to your
/etc/hosts file on the client and things should work. 

Cheers, Uwe

-- 
NIONEX --- Ein Unternehmen der Bertelsmann SE & Co. KGaA



------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users