Bacula-users

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

2014-09-24 12:52:41
Subject: Re: [Bacula-users] backups failed with gethostbyname() error
From: Tim Dunphy <bluethundr AT gmail DOT com>
To: Dimitri Maziuk <dmaziuk AT bmrb.wisc DOT edu>
Date: Wed, 24 Sep 2014 12:50:28 -0400
Hey Dmitriy,

 Yes, definitely the client host is resolving well in DNS from the bacula server. 

 Take a look!

[root@ops:~] #host beta-new.mydomain.com

beta-new.mydomain.com has address 162.xx.xx.xx




[root@ops:~] #dig beta-new.mydomain.com


; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 <<>> beta-new.mydomain.com

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35466

;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0


;; QUESTION SECTION:

;beta-new.mydomain.com.         IN      A


;; ANSWER SECTION:

beta-new.mydomain.com.  61      IN      A       162.xx.xx.xx


;; Query time: 1 msec

;; SERVER: 172.16.0.23#53(172.16.0.23)

;; WHEN: Wed Sep 24 12:48:16 2014

;; MSG SIZE  rcvd: 55


But as mentioned I tried putting the hostname and IP for the remote server I want to backup into the /etc/hosts file on my bacula server. We'll see where that gets us for tonight's run, just in case this was some kind of DNS issue.


Thanks!

Tim


On Wed, Sep 24, 2014 at 12:37 PM, Dimitri Maziuk <dmaziuk AT bmrb.wisc DOT edu> wrote:
On 09/24/2014 10:01 AM, Tim Dunphy wrote:

> 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

In case it's not clear from other posts, this looks like
ops.mydomain.com can't resolve beta-new.mydomain.com and the check is to
run "host" or "dig" beta-new.mydomain.com on ops.

--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu


------------------------------------------------------------------------------
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




--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

------------------------------------------------------------------------------
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