[CentOS] Starting slapd: /bin/bash: /tmp/start-slapd.K12378: Permission denied
brettwiesner at gmail.com
Tue Jan 20 04:01:28 UTC 2009
Thanks! That worked!
On Mon, Jan 19, 2009 at 11:10 AM, Filipe Brandenburger <filbranden at gmail.com
> On Sun, Jan 18, 2009 at 18:54, Brett Wiesner <brettwiesner at gmail.com>
> > $ 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
> set_lg_regionmax 262144
> set_lg_bsize 2097152
> set_flags DB_LOG_AUTOREMOVE
> See "man slapd-bdb" for more details.
> CentOS mailing list
> CentOS at centos.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS