[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenLDAP 2.2.19 + BerkeleyDB 4.3.21




Hi!

I've just downloaded and compiled last openldap & berkeleydb releases.

Compilation process was successful, and OpenLDAP server can run ok..

@(#) $OpenLDAP: slapd 2.2.19 (Nov 29 2004 18:40:16) $
root@ldap01:/home/nachete/FuentesInstalacion/openldap-2.2.19/servers/slapd
daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
bdb_back_initialize: Sleepycat Software: Berkeley DB 4.3.21: (November 8, 2004)
bdb_db_init: Initializing BDB database
slapd starting



But if i execute db_stat -c over data directory an serious error occur

# /usr/local/BerkeleyDB-4.3.21/bin/db_stat -c
12 Last allocated locker ID
0x7fffffff Current maximum unused locker ID
9 Number of lock modes
2000 Maximum number of locks possible
2000 Maximum number of lockers possible
2000 Maximum number of lock objects possible
2 Number of current locks
4 Maximum number of locks at any one time
6 Number of current lockers
6 Maximum number of lockers at any one time
2 Number of current lock objects
4 Maximum number of lock objects at any one time
18 Total number of locks requested
16 Total number of locks released
0 Total number of lock requests failing because DB_LOCK_NOWAIT was set
0 Total number of locks not immediately available due to conflicts
0 Number of deadlocks
0 Lock timeout value
0 Number of locks that have timed out
0 Transaction timeout value
0 Number of transactions that have timed out
720KB The size of the lock region
0 The number of region locks that required waiting (0%)
db_stat: log.0000000118: log file open failed: No such file or directory
db_stat: PANIC: No such file or directory
db_stat: DB_ENV->log_put: 118: DB_RUNRECOVERY: Fatal error, run database recovery
db_stat: dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery


and my directory turn unconscious and all operations agains the directory fails, and when i stop openldap with ctrl+c this lines appear in my terminal.


bdb(o=Universidad Carlos III,c=ES): PANIC: fatal region error detected; run recovery
bdb(o=Universidad Carlos III,c=ES): PANIC: fatal region error detected; run recovery
bdb(o=Universidad Carlos III,c=ES): PANIC: fatal region error detected; run recovery
bdb(o=Universidad Carlos III,c=ES): PANIC: fatal region error detected; run recovery
bdb_db_destroy: txn_checkpoint failed: DB_RUNRECOVERY: Fatal error, run database recovery (-30977)
bdb(o=Universidad Carlos III,c=ES): PANIC: fatal region error detected; run recovery
bdb_db_destroy: close failed: DB_RUNRECOVERY: Fatal error, run database recovery (-30977)
slapd stopped.


¿Any Idea?

Thanls.

--
+----------------------
Todos somos iguales en el nacer y en el morir, aunque no sea en el vivir. ------------------------------------------------------------------------ '''
(O O) -= CENTRO DE CÁLCULO =- +---oOO----(_)-----------+ [Grupo de Sistemas Centrales] | Ignacio Díaz Asenjo | | | Universidad Carlos III (Leganes)
| nacho@di.uc3m.es | Edificio Betancourt (1.1J02) +------------------oOO---+ Tfno: (91)624-94-81
|__|__|
|| || (gpg-key disponible en: ooO Ooo x-hkp://pgp.rediris.es)