From: Luc V. d. V. <lu...@wi...> - 2014-09-25 06:06:35
|
Hi Tim, It works now, but it looks like that didn’t work at the time of the backup. A network problem at that moment, a (dns) server that was down or being rebooted, a power failure with servers running on UPS but one of the switches not, or so? Anyhow, I would look at the error as a symptom, with the cause somewhere outside bacula. The backup didn’t exactly fail, it couldn’t be started because bacula couldn’t find the server it was supposed to back up. From: Tim Dunphy [mailto:blu...@gm...] Sent: 24 September 2014 18:50 To: Dimitri Maziuk Cc: bac...@li... Subject: Re: [Bacula-users] backups failed with gethostbyname() error 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<http://beta-new.mydomain.com> beta-new.mydomain.com<http://beta-new.mydomain.com> has address 162.xx.xx.xx [root@ops:~] #dig beta-new.mydomain.com<http://beta-new.mydomain.com> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 <<>> beta-new.mydomain.com<http://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<http://beta-new.mydomain.com>. IN A ;; ANSWER SECTION: beta-new.mydomain.com<http://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 <dm...@bm...<mailto:dm...@bm...>> wrote: On 09/24/2014 10:01 AM, Tim Dunphy wrote: > 24-Sep 03:11 ops.mydomain.com<http://ops.mydomain.com> JobId 218: Error: bsock.c:194 gethostbyname() > for host "beta-new.mydomain.com<http://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<http://ops.mydomain.com> can't resolve beta-new.mydomain.com<http://beta-new.mydomain.com> and the check is to run "host" or "dig" beta-new.mydomain.com<http://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 Bac...@li...<mailto:Bac...@li...> https://lists.sourceforge.net/lists/listinfo/bacula-users -- GPG me!! gpg --keyserver pool.sks-keyservers.net<http://pool.sks-keyservers.net> --recv-keys F186197B |