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

Re: (ITS#4558) slaptest



> Full_Name: Ryan Reid
> Version: 2.3.21
> OS: RH 9
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (71.144.41.233)
>
>
> If I run Slaptest, on its own, I get:
> [root@ns2 var]# slaptest
> config file testing succeeded
> If I Specify the Config File, I get:
> [root@ns2 var]# slaptest -f /etc/openldap/slapd.conf
> bdb_db_open: unclean shutdown detected; attempting recovery.
> bdb_db_open: Recovery skipped in read-only mode. Run manual recovery if
> errors
> are encountered.
> bdb(dc=terra,dc=com): PANIC: fatal region error detected; run recovery
> bdb_db_open: Database cannot be opened, err -30974. Restore from backup!
> bdb(dc=terra,dc=com): DB_ENV->lock_id_free interface requires an
> environment
> configured for the locking subsystem
> backend_startup_one: bi_db_open failed! (-30974)
> slap_startup failed (test would succeed using the -u switch)
> When I start slapd, there is no base dn.

sounds like "slaptest" and " slaptest -f /etc/openldap/slapd.conf" don't
use the same configuration file.  Please check (e.g. by using an
appropriate debug level).

p.




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------