Thanks! That worked!<br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 11:10 AM, Filipe Brandenburger <span dir="ltr"><<a href="mailto:filbranden@gmail.com">filbranden@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="Ih2E3d"><br>
On Sun, Jan 18, 2009 at 18:54, Brett Wiesner <<a href="mailto:brettwiesner@gmail.com">brettwiesner@gmail.com</a>> wrote:<br>
> $ sudo /etc/init.d/ldap start<br>
</div><div class="Ih2E3d">> Starting slapd: /bin/bash: /tmp/start-slapd.l14891: Permission denied<br>
<br>
</div>Your /tmp/ is mounted with noexec.<br>
<br>
To work around this, create a directory where the script can be<br>
written to and executed (can be owned by root:root and permissions<br>
755), for example, /etc/openldap/initscript/, and then add the<br>
following line to /etc/sysconfig/ldap (create the file if it doesn't<br>
exist):<br>
<br>
TMP=/etc/openldap/initscript<br>
<div class="Ih2E3d"><br>
> bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2)<br>
> Expect poor performance for suffix dc=XXXX,dc=net.<br>
<br>
</div>I suggest you create a /var/lib/ldap/DB_CONFIG file with content such<br>
as the one below:<br>
<br>
set_cachesize 0 15000000 1<br>
set_lg_regionmax 262144<br>
set_lg_bsize 2097152<br>
set_flags DB_LOG_AUTOREMOVE<br>
<br>
See "man slapd-bdb" for more details.<br>
<br>
HTH,<br>
<font color="#888888">Filipe<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br>