|
From: Bill A. <wa...@pr...> - 2025-02-19 20:16:24
|
On 2/19/25 6:45 AM, Mehrdad Ravanbod wrote: > Hi > > Recently I changed the Hostname of our Bacula server and now i am > getting an error when the builin back up job BackupClient1 is supposed > to run, error is something like this > > Bacula-dir JobID XX: fatal error:[DE0060]gethostbyname() for host "<old > host name>" failed: ERR=Name or service not known > > I have changed the hostname in in /etc/hosts, and in in bacula.conf > files on server and clients, the jobs that i have added myself run with > no problem, where else should they be changed to fix this?? Edit the Bacula Director config, find that <old client> in the config, and make sure the `Address = ` is set to the new name or the IP. Reload or restart the Director, then, try a `status client=xxxx` where xxxx is the client's name in the Director's config. If the status client works, the job should too. Hope this helps, Bill -- Bill Arlofski wa...@pr... |