Re: change of hostname

Bill Arlofski via Bacula-users <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
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
[email protected]

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
signature.asc (application/pgp-signature, 509 B)
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAnBQJntjwICRBIDTDab9XDQBYhBMuLnlBaSQiuSUbb6UgNMNpv
1cNAAAB+Gwf8C8J+WsR2aV8IScyF/vGE6o7/V0uheamKPmRYU11vga0tyza4
uQwHb+L8/3P7V+teXTxa+VU11xa72IlRruv6s21+D/NJnfPVCHbvKFZONLAp
p+7sZM8N1iXwaqUVofjHeFSg2NT4UAbrQFKDaJEBVgpY4e0qQ2x1P2diz3mb
6Rvm4qp4eDoxo5pHuLYPl448kzFSIFThYRU7lpjb/dbPatjfKOKmgfiJh5gf
wxTuz9MU7Axn1/WS06Qkx5wlrmNFWwz02MzcUGLQbmXLqZjcyPVWTOdlNMFe
73pCA7g12xUHxRjqaotTc/YeuRcjFbD10aqS/KOm3xw+FQQeX0jkJA==
=OsMG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.