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

Re: slapd wont start



On Thursday, 8 April 2010 22:14:57 Nick Pappin wrote:
> Can someone tell me whats wrong here.. I had a working ldap/samba server
>  and after I restarted the machine due to a power outage the slapd service
>  wont start back up.
> 
> Here are what the logs show when I try to bring slapd back online:
> Apr  8 14:06:23 mdc slapd[12286]: @(#) $OpenLDAP: slapd 2.3.43 (Apr  8 2010
> 13:58:40) $
> Apr  8 14:06:23 mdc     root@mdc:
> /var/tmp/portage/net-nds/openldap-2.3.43/work/openldap-2.3.43/servers/slapd


> Apr  8 14:06:25 mdc slapd[12287]: bdb(dc=mydomain,dc=org): unable to
> allocate memory for mutex; resize mutex region
> Apr  8 14:06:25 mdc slapd[12287]: hdb_db_open: Database cannot be opened,
> err 12. Restore from backup!
> Apr  8 14:06:25 mdc slapd[12287]: bdb(dc=mydomain,dc=org):
> DB_ENV->lock_id_free interface requires an environment configured for the
> locking subsystem
> Apr  8 14:06:25 mdc slapd[12287]: bdb(dc=mydomain,dc=org): txn_checkpoint
> interface requires an environment configured for the transaction subsystem
> Apr  8 14:06:25 mdc slapd[12287]: bdb_db_close: txn_checkpoint failed:
> Invalid argument (22)
> Apr  8 14:06:25 mdc slapd[12287]: backend_startup_one: bi_db_open failed!
> (12)
> Apr  8 14:06:25 mdc slapd[12287]: bdb_db_close: alock_close failed
> Apr  8 14:06:25 mdc slapd[12287]: slapd stopped.
> Apr  8 14:06:25 mdc slapd[12287]: connections_destroy: nothing to destroy.

Are you sure the database directory (and all of its contents) for 
dc=mydomain,dc=org is writable by the user slapd runs as? Looks like it isn't 
...

Regards,
Buchan