<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 09/09/2011 11:38 AM, Jimmy wrote:
    <blockquote
cite="mid:CAG8E47QDLxrQTLFMBJqJbZMQ+9X673azCDUy4iWZado-4O3jeA@mail.gmail.com"
      type="cite">
      <div>I am installing FreeIPA on a new installation of Fedora 15.
        During installation it gets to this point and fails:<br>
      </div>
      <div><br>
      </div>
      <div>============================================================</div>
      <div>============================================================</div>
      <div>The following operations may take some minutes to complete.<br>
        Please wait until the prompt is returned.<br>
        <br>
        Configuring ntpd<br>
        [1/4]: stopping ntpd<br>
        [2/4]: writing configuration<br>
        [3/4]: configuring ntpd to start on boot<br>
        [4/4]: starting ntpd<br>
        done configuring ntpd.<br>
        Configuring directory server for the CA: Estimated time 30
        seconds<br>
        [1/3]: creating directory server user<br>
        [2/3]: creating directory server instance<br>
        root : CRITICAL failed to restart ds instance Command
        '/usr/sbin/<a moz-do-not-send="true" href="http://setup-ds.pl">setup-ds.pl</a>
        --silent --logfile - -f /tmp/tmpkwsFQk' returned non-zero exit
        status 1<br>
        [3/3]: restarting directory server<br>
        root : CRITICAL Failed to restart the directory server. See the
        installation log for details.<br>
        [root@csp-idm log]# ^C<br>
        [root@csp-idm log]# more /tmp/tmpkwsFQk<br>
        /tmp/tmpkwsFQk: No such file or directory<br>
        [root@csp-idm log]# /usr/sbin/<a moz-do-not-send="true"
          href="http://setup-ds.pl">setup-ds.pl</a> --silent --logfile -
        -f /tmp/tmpkwsFQk<br>
        Error: could not open inf file /tmp/tmpkwsFQk: No such file or
        directory<br>
        Error: could not determine the current group ID: at
        /usr/lib64/dirsrv/perl/DSUtil.pm line 141<br>
        DSUtil::getGroup(undef) called at
        /usr/lib64/dirsrv/perl/DSCreate.pm line 807<br>
        DSCreate::setDefaults('Inf=HASH(0x1340668)') called at
        /usr/lib64/dirsrv/perl/DSCreate.pm line 1068<br>
        DSCreate::createDSInstance('Inf=HASH(0x1340668)') called at
        /usr/sbin/<a moz-do-not-send="true" href="http://setup-ds.pl">setup-ds.pl</a>
        line 83<br>
      </div>
      <div>
        <div>============================================================</div>
        <div>============================================================</div>
      </div>
      <div><br>
      </div>
      <div>Here is the output in the install log when the error occurs(I
        can email the entire log to anyone if it's needed):<br>
      </div>
      <div><br>
      </div>
      <div>
        <div>============================================================</div>
        <div>============================================================</div>
        2011-09-09 15:33:14,901 DEBUG calling <a moz-do-not-send="true"
          href="http://setup-ds.pl">setup-ds.pl</a><br>
        2011-09-09 15:43:21,083 DEBUG args=/usr/sbin/<a
          moz-do-not-send="true" href="http://setup-ds.pl">setup-ds.pl</a>
        --silent --logfile - -f /tmp/tmpkwsFQk<br>
        2011-09-09 15:43:21,084 DEBUG stdout=Server failed to start !!!
        Please check errors log for problems<br>
        [11/09/09:15:43:21] - [Setup] Info Could not start the directory
        server using command
        '/usr/lib64/dirsrv/slapd-PKI-IPA/start-slapd'. The last lin<br>
        e from the error log was '[09/Sep/2011:15:33:21 +0000] -
        Shutting down due to possible conflicts with other slapd
        processes<br>
        '. Error: Unknown error 256<br>
        Could not start the directory server using command
        '/usr/lib64/dirsrv/slapd-PKI-IPA/start-slapd'. The last line
        from the error log was '[09/Sep/2<br>
        011:15:33:21 +0000] - Shutting down due to possible conflicts
        with other slapd processes<br>
        '. Error: Unknown error 256<br>
        [11/09/09:15:43:21] - [Setup] Fatal Error: Could not create
        directory server instance 'PKI-IPA'.<br>
        Error: Could not create directory server instance 'PKI-IPA'.<br>
        [11/09/09:15:43:21] - [Setup] Fatal Exiting . . .<br>
        Log file is '-'<br>
        <br>
        Exiting . . .<br>
        Log file is '-'<br>
        <br>
        <br>
        2011-09-09 15:43:21,084 DEBUG stderr=Server failed to start !!!
        Please check errors log for problems<br>
        <br>
        2011-09-09 15:43:21,085 CRITICAL failed to restart ds instance
        Command '/usr/sbin/<a moz-do-not-send="true"
          href="http://setup-ds.pl">setup-ds.pl</a> --silent --logfile -
        -f /tmp/tmpkwsFQk' returned non<br>
        -zero exit status 1<br>
        2011-09-09 15:43:21,090 DEBUG duration: 606 seconds<br>
        2011-09-09 15:43:21,090 DEBUG [3/3]: restarting directory server<br>
        2011-09-09 15:43:22,387 DEBUG args=/sbin/service dirsrv restart
        PKI-IPA<br>
        2011-09-09 15:43:22,388 DEBUG stdout=Shutting down dirsrv: <br>
        PKI-IPA... server already stopped[FAILED]<br>
        *** Error: 1 instance(s) unsuccessfully stopped[FAILED]<br>
        Starting dirsrv: <br>
        PKI-IPA...[FAILED]<br>
        *** Warning: 1 instance(s) failed to start<br>
        <br>
        2011-09-09 15:43:22,388 DEBUG stderr=<br>
        2011-09-09 15:43:22,476 DEBUG args=/sbin/service dirsrv status<br>
        2011-09-09 15:43:22,477 DEBUG stdout=dirsrv PKI-IPA is stopped<br>
        <br>
        2011-09-09 15:43:22,477 DEBUG stderr=<br>
        2011-09-09 15:43:22,478 CRITICAL Failed to restart the directory
        server. See the installation log for details.<br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Freeipa-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-users">https://www.redhat.com/mailman/listinfo/freeipa-users</a></pre>
    </blockquote>
    What is the package version of pki-core, 389 and ipa packages?<br>
    Also are there any leftovers of the DS instances from the past?<br>
    There have been problems that earlier installs failed leaving things
    around and the later install stumbles on those.<br>
    Also what is the SELinux setting? There might be some SELinux issue
    due to incorrect labeling in the past.<br>
    I suggest you make sure the machine is cleaned from any DS instances
    and try again.<br>
    For that do ipa-server-install --uninstall several times (3) as each
    time it might detect and clean different leftovers. We have tickets
    to make this cleanup better in the future.<br>
    After that check if there are any other DS instances still around.
    They will be in /etc/dirsrv/slapd-*<br>
    If there are you can remove them manually or use remove-ds.pl.     <br>
    <br>
    <br>
    But before you do that please tar and send all the logs for ipa, CS,
    DS so that we can see what the cause of the problem actually was.<br>
    <pre class="moz-signature" cols="72">-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager IPA project,
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
<a class="moz-txt-link-abbreviated" href="http://www.redhat.com/carveoutcosts/">www.redhat.com/carveoutcosts/</a>


</pre>
  </body>
</html>