Bug 670207 - ipactl: Does not stop|start|restart PKI-IPA DS Instance
Summary: ipactl: Does not stop|start|restart PKI-IPA DS Instance
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 2.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 670350
TreeView+ depends on / blocked
 
Reported: 2011-01-17 14:47 UTC by Jenny Severance
Modified: 2015-01-04 23:45 UTC (History)
4 users (show)

Fixed In Version: freeipa-2.0.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 670350 (view as bug list)
Environment:
Last Closed: 2012-03-28 09:40:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Jenny Severance 2011-01-17 14:47:27 UTC
Description of problem:
# ipactl stop
Stopping CA Service
Stopping HTTP Service
Stopping DNS Service
Stopping KPASSWD Service
Stopping KDC Service
Stopping Directory Service

# ps xa | grep -v grep |grep dirsrv| grep -i PKI
 3633 ?        Sl     0:01 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-PKI-IPA -i /var/run/dirsrv/slapd-PKI-IPA.pid -w /var/run/dirsrv/slapd-PKI-IPA.startpid

# ipactl start
Starting Directory Service
Starting KDC Service
Starting KPASSWD Service
Starting DNS Service
Starting HTTP Service
Starting CA Service

# ps xa | grep -v grep |grep dirsrv| grep -i PKI
 3633 ?        Sl     0:01 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-PKI-IPA -i /var/run/dirsrv/slapd-PKI-IPA.pid -w /var/run/dirsrv/slapd-PKI-IPA.startpid
# ipactl restart
Restarting Directory Service
Restarting KDC Service
Restarting KPASSWD Service
Restarting DNS Service
Restarting HTTP Service
Restarting CA Service

# ps xa | grep -v grep |grep dirsrv| grep -i PKI
 3633 ?        Sl     0:01 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-PKI-IPA -i /var/run/dirsrv/slapd-PKI-IPA.pid -w /var/run/dirsrv/slapd-PKI-IPA.startpid



Version-Release number of selected component (if applicable):
ipa-server-2.0-0.2011011418gita68b2d2.fc14.i686

How reproducible:


Steps to Reproduce:
1. install ipa with dogtag
2. see description
3.
  
Actual results:
PKI-IPA DS instance not stopped|started|restarted by ipactl (PID remains the same)

Expected results:
PKI-PKI DS instance to be stopped|started|restarted by ipactl

Additional info:

Comment 1 Nathan Kinder 2011-01-26 17:59:03 UTC
Is this related to bug 669358, or does this happen with a fresh install without trying to restart the dirsrv service as a non-root user?

Comment 2 Jenny Severance 2011-01-26 19:01:26 UTC
This is as root ... on a fresh install.

Comment 3 Jenny Severance 2011-01-26 19:50:42 UTC
This is a bug ipactl ... the script is only starting and stopping one of the directory server instances ...

<snip>

 print "Starting Directory Service"
        service.start('dirsrv', instance_name=serverid, capture_output=False)
</snip>

Comment 4 Rob Crittenden 2011-01-27 18:48:56 UTC
https://fedorahosted.org/freeipa/ticket/860

Comment 5 Dmitri Pal 2011-02-10 21:06:04 UTC
Fixed in: 3cb33d74aecbd122e61cffd8226ea84389c15951


Note You need to log in before you can comment on or make changes to this bug.