Topic: Power Cut Ldap dont start
OpenLdap dont start i try a lot of commands from forums to recover database but not work
I provide the exit when start ldap
Any hellp will be appreciated ! thanks
==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL):
openldap-2.3.43-12.el5
mysql-server-5.0.77-4.el5_5.3
- Linux/BSD distribution name and version:
CentOS release 5.4 (Final)
- Any related log? Log is helpful for troubleshooting.
[root@mailserver var]# /etc/init.d/ldap start
Verificando los archivos de configuración para slapd: bdb(dc=XXXXX,dc=xxx,dc=mx): Lock table is out of available locker entries
bdb_db_open: db_open(/var/lib/ldap/XXXX.xxx.mx/id2entry.bdb) failed: Cannot allocate memory (12)
bdb(dc=uhipocrates,dc=edu,dc=mx): Unknown locker ID: 0
backend_startup_one: bi_db_open failed! (12)
slap_startup failed (test would succeed using the -u switch)
[FALLÃ]
puede haber archivos bloqueados viciados en /var/lib/ldap/XX[AVISO]XX.xxx.mx
[root@mailserver var]#
----------------
[root@mailserver var]# slapd -u ldap -g ldap -d 256
@(#) $OpenLDAP: slapd 2.3.43 (Mar 31 2010 04:02:15) $
mockbuild@builder16.centos.org:/builddir/build/BUILD/openldap-2.3.43/openldap-2.3.43/build-servers/servers/slapd
bdb(dc=uhipocrates,dc=edu,dc=mx): Lock table is out of available locker entries
bdb_db_open: db_open(/var/lib/ldap/XXXXXX.xxx.mx/id2entry.bdb) failed: Cannot allocate memory (12)
bdb(dc=XXXXXX,dc=xx,dc=mx): Unknown locker ID: 0
backend_startup_one: bi_db_open failed! (12)
bdb_db_close: alock_close failed
slapd stopped.
connections_destroy: nothing to destroy.
====
[root@mailserver var]# slapd_db_recover -v
Finding last valid log LSN: file: 1 offset 28
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.