<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 01/18/2012 10:30 AM, Nigel Sollars wrote:
<blockquote
cite="mid:CAG6aBkUX67FJAN2FW+QzBn-C6d=BKarUL-8gAMBvVpRFWBtdqA@mail.gmail.com"
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 moz-do-not-send="true"
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
moz-do-not-send="true" href="http://setup-ds.pl">setup-ds.pl</a></div>
<div>2012-01-18 12:23:44,640 DEBUG args=/usr/sbin/<a
moz-do-not-send="true" 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 moz-do-not-send="true"
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
moz-do-not-send="true" 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
moz-do-not-send="true" 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>
</blockquote>
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
cite="mid:CAG6aBkUX67FJAN2FW+QzBn-C6d=BKarUL-8gAMBvVpRFWBtdqA@mail.gmail.com"
type="cite">
<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>
<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>
<br>
</body>
</html>