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">setup-ds.pl</a></div>
<div><br></div><div>from the install log:</div><div><br></div><div><div>2012-01-18 12:13:40,007 DEBUG calling <a href="http://setup-ds.pl">setup-ds.pl</a></div><div>2012-01-18 12:23:44,640 DEBUG args=/usr/sbin/<a href="http://setup-ds.pl">setup-ds.pl</a> --silent --logfile - -f /tmp/tmpBJYIDo</div>
<div>2012-01-18 12: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>2012-01-18 12: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>2012-01-18 12:23:44,641 CRITICAL failed to restart ds instance Command '/usr/sbin/<a href="http://setup-ds.pl">setup-ds.pl</a> --silent --logfile - -f /tmp/tmpBJYIDo' returned non-zero exit status 1</div>
<div>2012-01-18 12:23:44,641 DEBUG duration: 604 seconds</div><div>2012-01-18 12:23:44,641 DEBUG [3/3]: restarting directory server</div><div>2012-01-18 12:23:45,784 DEBUG args=/sbin/service dirsrv restart PKI-IPA</div>
<div>2012-01-18 12: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>2012-01-18 12:23:45,784 DEBUG stderr=</div><div>2012-01-18 12:23:45,825 DEBUG args=/sbin/service dirsrv status </div>
<div>2012-01-18 12:23:45,825 DEBUG stdout=dirsrv PKI-IPA is stopped</div><div><br></div><div>2012-01-18 12:23:45,825 DEBUG stderr=</div><div>2012-01-18 12: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">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">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><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>