Hi,<div><br></div><div>thanks for the quick response,</div><div><br></div><div>I put SELinux into passive mode, and ran the uninstall ( again ), removed /var/lib/dirsrv and /var/run/dirsrv.</div><div><br></div><div>in /dev/shm I have nothing, nothing is created there whilst installation either, the directory remains empty.</div>
<div><br></div><div>re-running install fails the same as before, any other pointers would be most welcome.  One other thing is this is a guest in Xen,  i run the install with the -N option as suggested.</div><div><br></div>
<div>Nige</div><div><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 12:56 PM, Rich Megginson <span dir="ltr"><<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>

  
    
    
  
  <div bgcolor="#ffffff" text="#000000"><div><div class="h5">
    On 01/18/2012 10:30 AM, Nigel Sollars wrote:
    <blockquote type="cite">Hi all,
      <div><br>
      </div>
      <div>Ive been trying to install freeipa on centos 6.2.  all
        packages are installed and DNS etc etc all straitened up.  the
        hick up arises on the running of <a href="http://setup-ds.pl" target="_blank">setup-ds.pl</a></div>
      <div><br>
      </div>
      <div>from the install log:</div>
      <div><br>
      </div>
      <div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:13:40,007 DEBUG calling <a href="http://setup-ds.pl" target="_blank">setup-ds.pl</a></div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:44,640 DEBUG args=/usr/sbin/<a href="http://setup-ds.pl" target="_blank">setup-ds.pl</a>
          --silent --logfile - -f /tmp/tmpBJYIDo</div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:44,640 DEBUG stdout=Server failed to start
          !!! Please check errors log for problems</div>
        <div>Possible timeout starting server: timeout=1326907423
          now=1326907424</div>
        <div>[12/01/18:12:23:44] - [Setup] Info Could not start the
          directory server using command
          '/usr/lib64/dirsrv/slapd-PKI-IPA/start-slapd'.  The last line
          from the error log was '[18/Jan/2012:12:13:43 -0500] - Failed
          to create semaphore for stats file
          (/var/run/dirsrv/slapd-PKI-IPA.stats). Error 13.(Permission
          denied)</div>
        <div>'.  Error: Unknown error 256</div>
        <div>Could not start the directory server using command
          '/usr/lib64/dirsrv/slapd-PKI-IPA/start-slapd'.  The last line
          from the error log was '[18/Jan/2012:12:13:43 -0500] - Failed
          to create semaphore for stats file
          (/var/run/dirsrv/slapd-PKI-IPA.stats). Error 13.(Permission
          denied)</div>
        <div>'.  Error: Unknown error 256</div>
        <div>[12/01/18:12:23:44] - [Setup] Fatal Error: Could not create
          directory server instance 'PKI-IPA'.</div>
        <div>Error: Could not create directory server instance
          'PKI-IPA'.</div>
        <div>[12/01/18:12:23:44] - [Setup] Fatal Exiting . . .</div>
        <div>Log file is '-'</div>
        <div><br>
        </div>
        <div>Exiting . . .</div>
        <div>Log file is '-'</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:44,640 DEBUG stderr=Server failed to start
          !!! Please check errors log for problems</div>
        <div>Possible timeout starting server: timeout=1326907423
          now=1326907424</div>
        <div><br>
        </div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:44,641 CRITICAL failed to restart ds
          instance Command '/usr/sbin/<a href="http://setup-ds.pl" target="_blank">setup-ds.pl</a> --silent --logfile
          - -f /tmp/tmpBJYIDo' returned non-zero exit status 1</div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:44,641 DEBUG   duration: 604 seconds</div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:44,641 DEBUG   [3/3]: restarting directory
          server</div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:45,784 DEBUG args=/sbin/service dirsrv
          restart PKI-IPA</div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:45,784 DEBUG stdout=Shutting down dirsrv: </div>
        <div>    PKI-IPA... server already
          stoppedESC[60G[ESC[0;31mFAILEDESC[0;39m]</div>
        <div>  *** Error: 1 instance(s) unsuccessfully
          stoppedESC[60G[ESC[0;31mFAILEDESC[0;39m]</div>
        <div>Starting dirsrv: </div>
        <div>    PKI-IPA...ESC[60G[ESC[0;31mFAILEDESC[0;39m]</div>
        <div>  *** Warning: 1 instance(s) failed to start</div>
        <div><br>
        </div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:45,784 DEBUG stderr=</div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:45,825 DEBUG args=/sbin/service dirsrv
          status </div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:45,825 DEBUG stdout=dirsrv PKI-IPA is
          stopped</div>
        <div><br>
        </div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:45,825 DEBUG stderr=</div>
        <div><a href="tel:2012-01-18%2012" value="+12012011812" target="_blank">2012-01-18 12</a>:23:45,825 CRITICAL Failed to restart the
          directory server. See the installation log for details.</div>
        <div>(END) </div>
        <div><br>
        </div>
        <div>from the errors log there:</div>
        <div><br>
        </div>
        <div>
          <div>[18/Jan/2012:12:13:43 -0500] - 389-Directory/<a href="http://1.2.9.14" target="_blank">1.2.9.14</a>
            B2011.342.117 starting up</div>
          <div>[18/Jan/2012:12:13:43 -0500] - Failed to create semaphore
            for stats file (/var/run/dirsrv/slapd-PKI-IPA.stats). Error
            13.(Permission denied)</div>
          <div>[18/Jan/2012:12:23:44 -0500] - 389-Directory/<a href="http://1.2.9.14" target="_blank">1.2.9.14</a>
            B2011.342.117 starting up</div>
          <div>[18/Jan/2012:12:23:44 -0500] - Failed to create semaphore
            for stats file (/var/run/dirsrv/slapd-PKI-IPA.stats). Error
            13.(Permission denied)</div>
        </div>
      </div>
    </blockquote></div></div>
    sounds like a left over shm file from a previous install attempt<br>
    ls -al /dev/shm<br>
    <br>
    you'll have to start over with an ipa-server-install --uninstall<br>
    if you then have left over sem.slapd-INST-NAME.stats files, remove
    them<br>
    <blockquote type="cite"><div class="im">
      <div>
        <div>
        </div>
        <div><br>
        </div>
        <div>Any idea what the perms should be?,  seems that import and
          everything else went fine, also any additional things to get
          this one working would be certainly helpful.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>The package version used is 2.1.3.</div>
        <div><br>
        </div>
        <div>Thanks in advance</div>
        <div><br>
        </div>
        <div>Nigel Sollars</div>
        <div><br>
        </div>
        -- <br>
        <font>“Science is a differential equation. Religion is a
          boundary condition.”<br>
                                                                                                                      
          Alan Turing<br>
        </font><br>
      </div>
      </div><pre><fieldset></fieldset>
_______________________________________________
Freeipa-users mailing list
<a href="mailto:Freeipa-users@redhat.com" target="_blank">Freeipa-users@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a></pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><font>“Science is a differential equation. Religion is a boundary condition.”<br>                                                                                                             Alan Turing<br>
</font><br>
</div>