Try to unistall currently installed IPA server.
[root@lenovo dpal]# ipa-server-install --uninstall This is a NON REVERSIBLE operation and will delete all data and configuration! Are you sure you want to continue with the uninstall procedure? [no]: yes Do you want to remove old SRV and NS records? [no]: Unconfiguring ntpd Unconfiguring CA directory server root : CRITICAL failed to delete user Command '/usr/sbin/userdel dirsrv' returned non-zero exit status 8 Unconfiguring CA Unconfiguring web server Unconfiguring krb5kdc Unconfiguring ipa_kpasswd Unconfiguring directory server
From errno.h error code 8 denotes "Exec format error".
Can you attach /var/log/ipaserver-uninstall.log?
Unfortunately it got overwritten.
Ok, finally duplicated this. I typically stop all the services before running the uninstaller.
The problem is that the CA uses the same user for its dirsrv instance that we use for the main IPA dirsrv instance. When we try to remove the user it fails because the other ns-slapd process is still running.
use diff user for pki ds freeipa-rcrit-605-uninstal.patch
userdel return value 8 means "user currently logged in"
master: d658b0d
The user for dogtag is: pkisrv
Metadata Update from @dpal: - Issue assigned to rcritten - Issue set to the milestone: FreeIPA 2.0 - 2010/11
Login to comment on this ticket.