Florian Dahm via FreeIPA-users wrote: > Hallo! > > I have been trying to install FreeIPA server and keep hitting this error > message: > > "ipapython.admintool: ERROR The host name [hostname of the local machine] > does not match the primary host name [hostname of ANOTHER machine]. Please > check /etc/hosts or DNS name resolution" > > I am at my wits' end. The machine has two NICs, one public (which shall serve > the FreeIPA UI) and one private (which shall serve the actual domain > services). /etc/hosts has entries for the public name for both IPv4 and v6. > No amount of fiddling with parameters to ipa-server-install lets me get past > this issue. Most frustratingly, the second hostname in the message is from a > wholly different machine, the only connection between the two is a private > VLAN on the second NIC of the local machine. I have no clue where it gets > that hostname from in the first place. > > /var/log/ipaserver-install.log gives me: > " [...] > File "/usr/lib/python2.7/site-packages/ipaserver/install/server/install.py", > line 455, in install_check > raise ScriptError(e) > > 2019-07-27T09:13:33Z DEBUG The ipa-server-install command failed, exception: > ScriptError: The host name epicurus.cds-infra does not match the primary host > name lucan.cds-infra.de. Please check /etc/hosts or DNS name resolution > [...]" > > I tried under both Fedora 30 and CentOS 7.6, with no difference. Has anyone > encountered a similar issue, and hopefully solved it? >
There should be a lot more logging about this. It is comparing the hostname passed in or detected to the value of socket.gethostbyaddr(host_name). Is the FQDN of the machine the name that IPA will use? rob _______________________________________________ FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org