Make sure that you have enough memory allocated. When I tried to install, it took around 2GB. I don't think it requires that much to run, but the install really seemed to use lots of memory.

Steve

On Wednesday, February 8, 2012, Craig T <389@noboost.org> wrote:
> no selinux;
>
> -bash-4.1$ sudo sestatus
> SELinux status:                 disabled
>
>
> On Wed, Feb 08, 2012 at 07:28:33PM -0800, Marc Sauton wrote:
>> On 02/08/2012 06:41 PM, Craig T wrote:
>> >hi,
>> >
>> >Has anyone setup 389-ds on a OpenVZ VPS yet? I'm attempting to setup IPA 2.x on my VPS and it's giving odd errors when starting the 389 Directory Server.
>> >
>> >Spec;
>> >Centos 6.2 (x86-64)
>> >model name  : Intel(R) Xeon(R) CPU           E5645  @ 2.40GHz
>> >
>> >
>> >Linux mx1.example.com 2.6.18-274.7.1.el5.028stab095.1 #1 SMP Mon Oct 24 20:49:24 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux
>> >
>> >389-ds-base-libs-1.2.9.14-1.el6_2.2.x86_64
>> >389-ds-base-1.2.9.14-1.el6_2.2.x86_64
>> >
>> >
>> >Errors:
>> >------------------------------------------------------------------------------
>> >2012-02-09 04:59:18,815 DEBUG calling setup-ds.pl
>> >2012-02-09 05:09:24,460 DEBUG args=/usr/sbin/setup-ds.pl --silent --logfile - -f /tmp/tmpkU_Ram
>> >2012-02-09 05:09:24,461 DEBUG stdout=Server failed to start !!! Please check errors log for problems
>> >[12/02/09:05:09:24] - [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 '[09/Feb/2012:04:59:24 +0300] - Failed to create semaphore for stats file (/var/run/dirsrv/slapd-PKI-IPA.stats). Error 13.(Permission denied)
>> selinux?
>> or see this post / thread, although it is not clear if the issue was solved:
>> https://www.redhat.com/archives/freeipa-users/2012-January/msg00117.html
>> >'.  Error: Unknown error 256
>> >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/Feb/2012:04:59:24 +0300] - Failed to create semaphore for stats file (/var/run/dirsrv/slapd-PKI-IPA.stats). Error 13.(Permission denied)
>> >'.  Error: Unknown error 256
>> >[12/02/09:05:09:24] - [Setup] Fatal Error: Could not create directory server instance 'PKI-IPA'.
>> >Error: Could not create directory server instance 'PKI-IPA'.
>> >[12/02/09:05:09:24] - [Setup] Fatal Exiting . . .
>> >Log file is '-'
>> >----------------------------------
>> >
>> >cya
>> >
>> >Craig
>> >--
>> >389 users mailing list
>> >389-users@lists.fedoraproject.org
>> >https://admin.fedoraproject.org/mailman/listinfo/389-users
>>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users