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

OpenLDAP startup problems



Hello,

I cannot determine why slapd wont start from my /etc/rc.d/slapd script on
FreeBSD. slapd starts at boot-time but quits after a while. In my logfile I
found the message "bdb_db_open: dbenv_open failed: Permission denied (13)"
and following lines. What does this say?

Executing it by hand from the "final" environment works as expected.

Jul  1 16:22:42 SERVER slapd[408]: @(#) $OpenLDAP: slapd 2.2.14 (Jul 18 2004 17:01:39) $        root@GARAGE.TEKTOFORM.LAN:/usr/ports/net/openldap22-server/work/openldap-2.2.14/servers/slapd
Jul  1 16:22:42 SERVER slapd[408]: daemon_init: listen on ldap:///
Jul  1 16:22:42 SERVER slapd[408]: daemon_init: listen on ldaps://192.168.12.1/
Jul  1 16:22:42 SERVER slapd[408]: daemon_init: 2 listeners to open...
Jul  1 16:22:42 SERVER slapd[408]: daemon: initialized ldap:///
Jul  1 16:22:42 SERVER slapd[408]: daemon: initialized ldaps://192.168.12.1/
Jul  1 16:22:42 SERVER slapd[408]: daemon_init: 3 listeners opened
Jul  1 16:23:12 SERVER slapd[408]: slapd init: initiated server.
Jul  1 16:23:12 SERVER slapd[408]: bdb_initialize: initialize BDB backend
Jul  1 16:23:12 SERVER slapd[408]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Jul  1 16:23:12 SERVER slapd[408]: bdb_initialize: initialize BDB backend
Jul  1 16:23:12 SERVER slapd[408]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Jul  1 16:23:12 SERVER slapd[408]: >>> dnNormalize: <cn=Subschema>
Jul  1 16:23:12 SERVER slapd[408]: <<< dnNormalize: <cn=subschema>
Jul  1 16:23:12 SERVER slapd[408]: bdb_db_init: Initializing BDB database
Jul  1 16:23:12 SERVER last message repeated 2 times
Jul  1 16:23:13 SERVER slapd[409]: bdb_db_open: dbenv_open failed: Permission denied (13)
Jul  1 16:23:13 SERVER slapd[409]: backend_startup: bi_db_open(0) failed! (13)
Jul  1 16:23:13 SERVER slapd[409]: bdb(dc=d-dt,dc=de): txn_checkpoint interface requires an environment configured for the transaction subsystem
Jul  1 16:23:13 SERVER slapd[409]: bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
Jul  1 16:23:13 SERVER slapd[409]: slapd stopped.
Jul  1 16:23:13 SERVER slapd[409]: connections_destroy: nothing to destroy.

A

--