Re: [Freeipa-users] Unable to uninstall and re-install ipa client on Ubuntu 14.04

2017-01-29 Thread deepak dimri
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: ERRORdbus 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: ERRORFailed 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= --domain=test.realm.com
--enable-dns-updates --mkhomedir --realm=TEST.REALM.com -w  --hostname=
foo.test.com --unattended --no-ntp


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

Thanks,

Deepak
On Sat, Jan 28, 2017 at 7:44 PM, Deepak Dimri 
wrote:

> 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: ERRORdbus failed to start: Command '/usr/sbin/service
> dbus start ' returned non-zero exit status 1
> root: ERRORcertmonger 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: ERRORdbus 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: ERRORFailed 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
>
> --
> Manage your subscription for the Freeipa-users mailing list:
> https://www.redhat.com/mailman/listinfo/freeipa-users
> Go to http://freeipa.org for more info on the project
>
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

[Freeipa-users] Unable to uninstall and re-install ipa client on Ubuntu 14.04

2017-01-28 Thread 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 client:


ipa-client-install --uninstall -U
root: ERRORdbus failed to start: Command '/usr/sbin/service dbus 
start ' returned non-zero exit status 1
root: ERRORcertmonger 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: ERRORdbus 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: ERRORFailed 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
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project