[CentOS] Starting slapd: /bin/bash: /tmp/start-slapd.K12378: Permission denied
filbranden at gmail.com
Mon Jan 19 16:10:36 UTC 2009
On Sun, Jan 18, 2009 at 18:54, Brett Wiesner <brettwiesner at 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
> 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
See "man slapd-bdb" for more details.
More information about the CentOS