To be slightly more precise, this is the error that I am getting with
slapd when I attempt to test the configuration file manually (and the
same when I attempt to simply start it) on any of the servers:

# /usr/lib/openldap/slapd -u ldap -g ldap -Tt
bdb(dc=amirehab,dc=local): unable to allocate memory for mutex; resize
mutex region
bdb_db_open: Database cannot be opened, err 12. Restore from backup!
bdb(dc=amirehab,dc=local): DB_ENV->lock_id_free interface requires an
environment configured for the locking subsystem
backend_startup_one: bi_db_open failed! (12)
slap_startup failed (test would succeed using the -u switch)


And this is the content of my /var/lib/ldap directory which I believe
holds the data that it requires:

# ls -l /var/lib/ldap
total 11296
-rw-r--r-- 1 ldap ldap     4096 2008-06-27 15:27 alock
-rw------- 1 ldap ldap     8192 2007-11-22 09:11 cn.bdb
-rw------- 1 ldap ldap    24576 2008-03-07 16:08 __db.001
-rw------- 1 ldap ldap   622592 2008-03-07 16:08 __db.002
-rw------- 1 ldap ldap 18759680 2008-03-07 16:08 __db.003
-rw------- 1 ldap ldap  2359296 2008-03-07 16:08 __db.004
-rw------- 1 ldap ldap   352256 2008-03-07 16:08 __db.005
-rw------- 1 ldap ldap    24576 2008-03-07 16:08 __db.006
-rw-r--r-- 1 ldap ldap      101 2007-09-23 08:20 DB_CONFIG
-rw-r--r-- 1 ldap ldap      886 2007-09-23 08:20 DB_CONFIG.example
-rw------- 1 ldap ldap     8192 2007-11-22 09:11 dn2id.bdb
-rw------- 1 ldap ldap    32768 2007-11-22 09:11 id2entry.bdb
-rw------- 1 ldap ldap 10485760 2008-03-10 09:22 log.0000000001
-rw------- 1 ldap ldap     8192 2007-11-22 09:11 objectClass.bdb


I have verified that the slapd.conf file is indeed the same as it was
before slapd stopped running on these servers.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to