1 |
Today after updating openldap from 2.4.23 to 2.4.24, slapd will not start. |
2 |
|
3 |
# /etc/init.d/slapd start |
4 |
* Starting ldap-server ... [ !! ] |
5 |
|
6 |
and I get the following in the log: |
7 |
|
8 |
Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: @(#) $OpenLDAP: slapd 2.4.24 (Feb 20 2011 12:20:51) $ |
9 |
Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: slapd stopped. |
10 |
Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: connections_destroy: nothing to destroy. |
11 |
|
12 |
|
13 |
If I start it "by hand" (with debug=1) it looks like this: |
14 |
# /usr/lib64/openldap/slapd -u ldap -g ldap -d1 |
15 |
@(#) $OpenLDAP: slapd 2.4.24 (Feb 20 2011 12:20:51) $ |
16 |
@torsson:/var/tmp/portage/net-nds/openldap-2.4.24/work/openldap-2.4.24/servers/slapd |
17 |
ldap_pvt_gethostbyname_a: host=torsson, r=0 |
18 |
daemon_init: listen on ldap:/// |
19 |
daemon_init: 1 listeners to open... |
20 |
ldap_url_parse_ext(ldap:///) |
21 |
daemon: listener initialized ldap:/// |
22 |
daemon_init: 1 listeners opened |
23 |
ldap_create |
24 |
slapd init: initiated server. |
25 |
bdb_back_initialize: initialize BDB backend |
26 |
bdb_back_initialize: Berkeley DB 4.8.30: (2010-08-05) |
27 |
hdb_back_initialize: initialize HDB backend |
28 |
hdb_back_initialize: Berkeley DB 4.8.30: (2010-08-05) |
29 |
slapd destroy: freeing system resources. |
30 |
slapd stopped. |
31 |
connections_destroy: nothing to destroy. |
32 |
|
33 |
Here are slapd.conf (without comments): |
34 |
include /etc/openldap/schema/core.schema |
35 |
include /etc/openldap/schema/cosine.schema |
36 |
include /etc/openldap/schema/inetorgperson.schema |
37 |
include /etc/openldap/schema/nis.schema |
38 |
include /etc/openldap/schema/authldap.schema |
39 |
include /etc/openldap/schema/samba.schema |
40 |
pidfile /var/run/openldap/slapd.pid |
41 |
argsfile /var/run/openldap/slapd.args |
42 |
allow bind_v2 |
43 |
database hdb |
44 |
suffix "dc=dmj,dc=nu" |
45 |
checkpoint 32 30 |
46 |
rootdn "cn=myroot,dc=dmj,dc=nu" |
47 |
rootpw {SSHA}xxxxxxxxxxxxxxxxxxxxxxxxx |
48 |
directory /var/lib/openldap-data |
49 |
index objectClass eq |
50 |
|
51 |
|
52 |
Any suggestion short of reverting to 2.4.23? |
53 |
-- |
54 |
Dan Johansson, <http://www.dmj.nu> |
55 |
*************************************************** |
56 |
This message is printed on 100% recycled electrons! |
57 |
*************************************************** |