On Mon, Jan 19, 2009 at 11:10 AM, Filipe Brandenburger <filbranden@xxxxxxxxx> wrote:
Hi,
On Sun, Jan 18, 2009 at 18:54, Brett Wiesner <brettwiesner@xxxxxxxxx> wrote:
> $ sudo /etc/init.d/ldap start
> Starting slapd: /bin/bash: /tmp/start-slapd.l14891: Permission deniedYour /tmp/ is mounted with noexec.
To work around this, create a directory where the script can be
written to and executed (can be owned by root:root and permissions
755), for example, /etc/openldap/initscript/, and then add the
following line to /etc/sysconfig/ldap (create the file if it doesn't
exist):
TMP=/etc/openldap/initscript
I suggest you create a /var/lib/ldap/DB_CONFIG file with content such
> bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2)
> Expect poor performance for suffix dc=XXXX,dc=net.
as the one below:
set_cachesize 0 15000000 1
set_lg_regionmax 262144
set_lg_bsize 2097152
set_flags DB_LOG_AUTOREMOVE
See "man slapd-bdb" for more details.
HTH,
Filipe
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos