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