Hi,
On Sun, Jan 18, 2009 at 18:54, Brett Wiesner brettwiesner@gmail.com wrote:
$ sudo /etc/init.d/ldap start Starting slapd: /bin/bash: /tmp/start-slapd.l14891: Permission denied
Your /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
bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2) Expect poor performance for suffix dc=XXXX,dc=net.
I suggest you create a /var/lib/ldap/DB_CONFIG file with content such 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