It looks like your krb5.conf is missing the default realm setting. Is the machine you are
running commands from joined?
Either way kinit admin(a)REALM.COM should work. The uppercase matters for Kerberos.
> On Nov 9, 2017, at 8:53 PM, None via FreeIPA-users
<freeipa-users(a)lists.fedorahosted.org> wrote:
>
> Dear,
>
> I am trying to install replica by "ipa-replica-install
replica-info-namenode2.hadoop.gxdwdc.gpg" but it failed,
>
> ipa-replica-install replica-info-namenode2.hadoop.gxdwdc.gpg
> ...
> The host namenode2.hadoop.gxdwdc already exists on the master server.
> You should remove it before procedding:
> % ipa host-del namenode2.hadoop.gxdwdc
>
> Then I ran "ipa -host-del namenode2.hadoop.gxdwdc" but it still failed,
> [root@namenode2 ~] ipa host-del namenode2.hadoop.gxdwdc
> ipa: ERROR: did not receive Kerberos credentials
>
> I thought i need to run "kinit" first, than I ran "kinit admin",
it still failed,
> [root@namenode2 ~] kinit admin
> kinit: Configuration file does not sepcify default realm when parsing name admin
>
> can anyone inform me how can i overcome this issue?
>
> Thanks ahead.
> _______________________________________________
> FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
> To unsubscribe send an email to freeipa-users-leave(a)lists.fedorahosted.org