Discussion:
[Freeipa-users] Unable to uninstall and re-install ipa client on Ubuntu 14.04
Deepak Dimri
2017-01-28 14:14:40 UTC
Permalink
Hi All,


I am trying to re-install ipa-client on ubuntu 14.04 but its not getting completed cleanly. Getting below errors when trying to uninstall ipa client:


ipa-client-install --uninstall -U
root : ERROR dbus failed to start: Command '/usr/sbin/service dbus start ' returned non-zero exit status 1
root : ERROR certmonger failed to start: Command '/usr/sbin/service certmonger start ' returned non-zero exit status 1
Unenrolling client from IPA server
Unenrolling host failed: Error obtaining initial credentials: Decrypt integrity check failed.

Removing Kerberos service principals from /etc/krb5.keytab
Failed to clean up /etc/krb5.keytab
Disabling client Kerberos and LDAP configurations
Would run on a Red Hat platform: /usr/sbin/authconfig --disablesssdauth --disablemkhomedir --update --disablesssd
Please do the corresponding changes manually and press Enter:
Restoring client configuration files

if i ignore above error and re run ipa-client-install then it returns below errors towards the end:

Failed to update DNS A record. (Command '/usr/bin/nsupdate -g /etc/ipa/.dns_update.txt' returned non-zero exit status 1)
root : ERROR dbus failed to start: Command '/usr/sbin/service dbus start ' returned non-zero exit status 1
Failed to configure automatic startup of the certmonger daemon
Automatic certificate management will not be available
root : ERROR Failed to disable automatic startup of the certmonger daemon: Command '/sbin/chkconfig certmonger on' returned non-zero exit status 1
Would run on a Red Hat platform: /usr/sbin/authconfig --enablesssdauth --enablemkhomedir --update --enablesssd

Can some one please help me how can i get rid of these errors and get the clean ipa client installation on ubuntu?


Many Thanks,

Deepak
deepak dimri
2017-01-29 16:13:31 UTC
Permalink
Can some one please help me with this? I cannot uninstall and re install
ipa client cleanly on my ubuntu machine. when i re run in the
ipa-client-install i am always getting these errors:

Unable to sync time with IPA NTP server, assuming the time is in sync.
Enrolled in IPA realm TEST.REALM.COM
Created /etc/ipa/default.conf
New SSSD config will be created.
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm TEST.REALM.COM
Warning: Hostname (foo.test.com) not found in DNS
Failed to obtain host TGT.
Failed to update DNS A record. (Command '/usr/bin/nsupdate -g
/etc/ipa/.dns_update.txt' returned non-zero exit status 1)
root : ERROR dbus failed to start: Command '/usr/sbin/service
dbus start ' returned non-zero exit status 1
Failed to configure automatic startup of the certmonger daemon
Automatic certificate management will not be available
root : ERROR Failed to disable automatic startup of the
certmonger daemon: Command '/sbin/chkconfig certmonger on' returned
non-zero exit status 1
Would run on a Red Hat platform: /usr/sbin/authconfig --enablesssdauth
--enablemkhomedir --update --enablesssd
Please do the corresponding changes manually and press Enter:
SSSD enabled
*Unable to find 'admin' user with 'getent passwd admin'!*
Recognized configuration: SSSD
Client configuration complete.

i am using below command to install ipa client

sudo ipa-client-install --server=<server fqdn> --domain=test.realm.com
--enable-dns-updates --mkhomedir --realm=TEST.REALM.com -w xxxx --hostname=
foo.test.com --unattended --no-ntp


Would really appreciate if some one can help resolve the issue i have
facing..

Thanks,

Deepak
Post by Deepak Dimri
Hi All,
I am trying to re-install ipa-client on ubuntu 14.04 but its not getting
completed cleanly. Getting below errors when trying to uninstall ipa
ipa-client-install --uninstall -U
root : ERROR dbus failed to start: Command '/usr/sbin/service
dbus start ' returned non-zero exit status 1
root : ERROR certmonger failed to start: Command
'/usr/sbin/service certmonger start ' returned non-zero exit status 1
Unenrolling client from IPA server
Unenrolling host failed: Error obtaining initial credentials: Decrypt
integrity check failed.
Removing Kerberos service principals from /etc/krb5.keytab
Failed to clean up /etc/krb5.keytab
Disabling client Kerberos and LDAP configurations
Would run on a Red Hat platform: /usr/sbin/authconfig --disablesssdauth
--disablemkhomedir --update --disablesssd
Restoring client configuration files
if i ignore above error and re run ipa-client-install then it returns
Failed to update DNS A record. (Command '/usr/bin/nsupdate -g
/etc/ipa/.dns_update.txt' returned non-zero exit status 1)
root : ERROR dbus failed to start: Command '/usr/sbin/service
dbus start ' returned non-zero exit status 1
Failed to configure automatic startup of the certmonger daemon
Automatic certificate management will not be available
root : ERROR Failed to disable automatic startup of the
certmonger daemon: Command '/sbin/chkconfig certmonger on' returned
non-zero exit status 1
Would run on a Red Hat platform: /usr/sbin/authconfig --enablesssdauth
--enablemkhomedir --update --enablesssd
Can some one please help me how can i get rid of these errors and get the
clean ipa client installation on ubuntu?
Many Thanks,
Deepak
--
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project
Loading...