Re: change of hostname

Rob Gerber <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <CAMKi9mSXhs5TUSSzsP-QT6d3P-pJtoSBi0TOWOO5W7RaO+gS1A@mail.gmail.com>
That error means that bacula is unable to resolve the hostname of the
client specified.

From the manual (buried on page 670-something, so pdf search is your
friend):
DE0060 Network connection error. Unable to resolve hostname via
gethostbyname.

I would suggest checking the bacula-dir.conf client {} resource referenced
by the BackupClient1 job. In that client {} resource, I expect that the
address="xyz" value refers to the old hostname OR that the hostname
specified is invalid.

Regards,
Robert Gerber
402-237-8692
[email protected]


On Wed, Feb 19, 2025 at 7:46 AM Mehrdad Ravanbod <
[email protected]> 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??
>
> --
> ________________________________________________________
>
> Ampfield Aktiebolag
> Mehrdad Ravanbod - System administrator
>
>
>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
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.