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

slapd wont start



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:23 mdc slapd[12286]: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
Apr  8 14:06:23 mdc slapd: Last message 'nss_ldap: failed to ' repeated 1 times, supressed by syslog-ng on mdc.mydomain.org
Apr  8 14:06:23 mdc slapd[12286]: nss_ldap: reconnecting to LDAP server...
Apr  8 14:06:23 mdc slapd[12286]: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
Apr  8 14:06:23 mdc slapd[12286]: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)...
Apr  8 14:06:24 mdc slapd[12286]: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
Apr  8 14:06:24 mdc slapd[12286]: nss_ldap: could not search LDAP server - Server is unavailable
Apr  8 14:06:24 mdc slapd[12286]: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
Apr  8 14:06:24 mdc slapd: Last message 'nss_ldap: failed to ' repeated 1 times, supressed by syslog-ng on mdc.mydomain.org
Apr  8 14:06:24 mdc slapd[12286]: nss_ldap: reconnecting to LDAP server...
Apr  8 14:06:24 mdc slapd[12286]: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
Apr  8 14:06:24 mdc slapd[12286]: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)...
Apr  8 14:06:25 mdc slapd[12286]: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
Apr  8 14:06:25 mdc slapd[12286]: nss_ldap: could not search LDAP server - Server is unavailable
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.

Thanks
    ~ Nick