Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionGowrishankar Rajaiyan
2012-03-08 11:50:48 UTC
Description of problem:
Version-Release number of selected component (if applicable):
ipa-server-2.2.0-3.el6.x86_64
How reproducible:
Always
Steps to Reproduce:
1. ipa-server-install --setup-dns
2. ipa-server-install --uninstall
Actual results:
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
Shutting down all IPA services
Removing IPA client configuration
Unconfiguring ntpd
Unconfiguring CA directory server
Unconfiguring CA
Unconfiguring named
Unconfiguring web server
Unconfiguring krb5kdc
Unconfiguring kadmin
Unconfiguring directory server
Unexpected error - see ipaserver-uninstall.log for details:
Command '/sbin/service dirsrv start ' returned non-zero exit status 6
[root@primenova ~]# echo $?
1
[root@primenova ~]#
Expected results: Uninstallation should not error out.
Additional info:
1. Not sure if relevant but after Step1, I created replica file, installed replica, deleted agreement and then Step2.
2. /var/log/ipaserver-uninstall.log:
2012-03-08T10:15:41Z DEBUG stderr=
2012-03-08T10:15:41Z DEBUG Command '/sbin/service dirsrv start ' returned non-zero exit status 6
File "/usr/sbin/ipa-server-install", line 1092, in <module>
rval = main()
File "/usr/sbin/ipa-server-install", line 578, in main
return uninstall()
File "/usr/sbin/ipa-server-install", line 461, in uninstall
dsinstance.DsInstance(fstore=fstore).uninstall()
File "/usr/lib/python2.6/site-packages/ipaserver/install/dsinstance.py", line 635, in uninstall
self.start()
File "/usr/lib/python2.6/site-packages/ipaserver/install/service.py", line 200, in start
self.service.start(instance_name, capture_output=capture_output)
File "/usr/lib/python2.6/site-packages/ipapython/platform/redhat.py", line 44, in start
ipautil.run(["/sbin/service", self.service_name, "start", instance_name], capture_output=capture_output)
File "/usr/lib/python2.6/site-packages/ipapython/ipautil.py", line 288, in run
raise CalledProcessError(p.returncode, args)
(END)
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No documentation needed.
Comment 8Gowrishankar Rajaiyan
2012-05-03 10:27:41 UTC
[root@rodimus ~]# 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
Shutting down all IPA services
Removing IPA client configuration
Unconfiguring ntpd
Unconfiguring CA directory server
Unconfiguring CA
Unconfiguring named
Unconfiguring web server
Unconfiguring krb5kdc
Unconfiguring kadmin
Unconfiguring directory server
Unconfiguring ipa_memcached
[root@rodimus ~]#
Verified.
[root@rodimus ~]# rpm -qi ipa-server
Name : ipa-server Relocations: (not relocatable)
Version : 2.2.0 Vendor: Red Hat, Inc.
Release : 12.el6 Build Date: Mon 30 Apr 2012 02:52:52 PM EDT
Install Date: Thu 03 May 2012 06:07:28 AM EDT Build Host: x86-004.build.bos.redhat.com
Group : System Environment/Base Source RPM: ipa-2.2.0-12.el6.src.rpm
Size : 3778371 License: GPLv3+
Signature : RSA/8, Wed 02 May 2012 11:16:11 AM EDT, Key ID 938a80caf21541eb
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.freeipa.org/
Summary : The IPA authentication server
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2012-0819.html
Description of problem: Version-Release number of selected component (if applicable): ipa-server-2.2.0-3.el6.x86_64 How reproducible: Always Steps to Reproduce: 1. ipa-server-install --setup-dns 2. ipa-server-install --uninstall Actual results: 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 Shutting down all IPA services Removing IPA client configuration Unconfiguring ntpd Unconfiguring CA directory server Unconfiguring CA Unconfiguring named Unconfiguring web server Unconfiguring krb5kdc Unconfiguring kadmin Unconfiguring directory server Unexpected error - see ipaserver-uninstall.log for details: Command '/sbin/service dirsrv start ' returned non-zero exit status 6 [root@primenova ~]# echo $? 1 [root@primenova ~]# Expected results: Uninstallation should not error out. Additional info: 1. Not sure if relevant but after Step1, I created replica file, installed replica, deleted agreement and then Step2. 2. /var/log/ipaserver-uninstall.log: 2012-03-08T10:15:41Z DEBUG stderr= 2012-03-08T10:15:41Z DEBUG Command '/sbin/service dirsrv start ' returned non-zero exit status 6 File "/usr/sbin/ipa-server-install", line 1092, in <module> rval = main() File "/usr/sbin/ipa-server-install", line 578, in main return uninstall() File "/usr/sbin/ipa-server-install", line 461, in uninstall dsinstance.DsInstance(fstore=fstore).uninstall() File "/usr/lib/python2.6/site-packages/ipaserver/install/dsinstance.py", line 635, in uninstall self.start() File "/usr/lib/python2.6/site-packages/ipaserver/install/service.py", line 200, in start self.service.start(instance_name, capture_output=capture_output) File "/usr/lib/python2.6/site-packages/ipapython/platform/redhat.py", line 44, in start ipautil.run(["/sbin/service", self.service_name, "start", instance_name], capture_output=capture_output) File "/usr/lib/python2.6/site-packages/ipapython/ipautil.py", line 288, in run raise CalledProcessError(p.returncode, args) (END)