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

Debug help required for 2.3.25 with bdb 4.2.52 with 5 patches



Dear all,

On the 15th this happened and about half an hour ago too:

Aug 18 17:49:02 server1 slapd[653]: <= bdb_equality_candidates:
(sambaGroupType) index_param failed (18)
Aug 18 17:49:02 server1 slapd[653]: bdb_db_cache: db_open(sambaSIDList)
failed: Permission denied (13)
Aug 18 17:49:02 server1 slapd[653]: <= bdb_equality_candidates:
(sambaSIDList) index_param failed (13)
Aug 18 17:49:02 server1 slapd[653]: bdb_db_cache: db_open(sambaSIDList)
failed: Permission denied (13)
Aug 18 17:49:02 server1 slapd[653]: <= bdb_equality_candidates:
(sambaSIDList) index_param failed (13)
Aug 18 17:49:02 server1 slapd[653]: bdb_db_cache: db_open(sambaSIDList)
failed: Permission denied (13)
Aug 18 17:49:02 server1 slapd[653]: <= bdb_equality_candidates:
(sambaSIDList) index_param failed (13)
Aug 18 17:49:02 server1 slapd[653]: bdb(dc=example,dc=com): unlink:
/usr/local/var/openldap-data/log.0000000002: Permission denied
Aug 18 17:49:02 server1 slapd[653]: bdb(dc=example,dc=com):
/usr/local/var/openldap-data/log.0000000004: log file open failed:
Permission denied
Aug 18 17:49:02 server1 slapd[653]: bdb(dc=example,dc=com): PANIC:
Permission denied
Aug 18 17:49:02 server1 slapd[653]: bdb(dc=example,dc=com):
DB_ENV->log_put: 4: DB_RUNRECOVERY: Fatal error, run database recovery
Aug 18 17:49:02 server1 slapd[653]: bdb(dc=example,dc=com): PANIC: fatal
region error detected; run recovery
Aug 18 17:49:02 server1 last message repeated 2 times
Aug 18 17:49:02 server1 slapd[653]: bdb(dc=example,dc=com): PANIC:
DB_RUNRECOVERY: Fatal error, run database recovery
Aug 18 17:49:02 server1 slapd[653]: bdb_db_cache: db_open(sambaSIDList)
failed: DB_RUNRECOVERY: Fatal error, run database recovery (-30978)
Aug 18 17:49:02 server1 slapd[653]: <= bdb_equality_candidates:
(sambaSIDList) index_param failed (-30978)
Aug 18 17:49:02 server1 slapd[653]: bdb(dc=example,dc=com): PANIC: fatal
region error detected; run recovery
Aug 18 17:49:02 server1 slapd[653]: bdb_db_cache: db_open(sambaSIDList)
failed: DB_RUNRECOVERY: Fatal error, run database recovery (-30978)
Aug 18 17:49:02 server1 slapd[653]: <= bdb_equality_candidates:
(sambaSIDList) index_param failed (-30978)
Aug 18 17:49:02 server1 slapd[653]: bdb(dc=example,dc=com): PANIC: fatal
region error detected; run recovery
Aug 18 17:49:02 server1 last message repeated 25 times


cd /usr/local/var/openldap-data
/usr/local/BerkleyDB4.2/bin/db_recover
chown ldap:ldap *

Fixes it and gets back to normal.

Any tips for how to debug this?


Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/