Gentoo Archives: gentoo-user

From: Trenton Adams <trenton.d.adams@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: OpenLDAP error after upgrade
Date: Fri, 16 Jun 2006 07:25:57
Message-Id: 9b1675090606160019ie24843p454abe769fe997d5@mail.gmail.com
In Reply to: [gentoo-user] OpenLDAP error after upgrade by Trenton Adams
1 I found something interesting about the merge of 2.3.
2
3 The following text is not true. It says there is no data, but there
4 is. Perhaps this is a bug?
5
6 *
7 * Scanning datadir(s) from slapd.conf and
8 * the default installdir for Versiontags
9 * (/var/lib/openldap-data may appear twice)
10 *
11 * - Checking /var/lib/openldap-data...
12 * Found Versiontag in /var/lib/openldap-data
13 * Versiontag doesn't match current major release!
14 * No real problem, seems there's no database.
15 *
16 * - Checking /var/lib/openldap-data...
17 * Found Versiontag in /var/lib/openldap-data
18 * Versiontag doesn't match current major release!
19 * No real problem, seems there's no database.
20 *
21
22 *
23 * All datadirs are fine, proceeding with merge now...
24 *
25
26
27 On 6/16/06, Trenton Adams <trenton.d.adams@×××××.com> wrote:
28 > Hi guys,
29 >
30 > After upgrading from 2.2.28-r3 to 2.3.24-r1, I noticed that there's a
31 > problem in my LDAP server the prevents it from working at all. As a
32 > result, I had to downgrade back to 2.2.
33 >
34 > If I do an *ldapsearch* command, I get the following...
35 > Internal (implementation specific) error (80)
36 > Additional information: internal error
37 >
38 > The logs say the following. Is there a way of upgrading the LDAP DB
39 > to be functional after the upgrade? Should I downgrade, slapcat, and
40 > upgrade again?
41 >
42 > tail -18 /var/log/syslog
43 > Jun 14 23:40:23 abda slapd[19612]: conn=1 fd=13 ACCEPT from
44 > IP=127.0.0.1:60261 (IP=0.0.0.0:389)
45 > Jun 14 23:40:23 abda slapd[19612]: conn=1 op=0 BIND dn="" method=128
46 > Jun 14 23:40:23 abda slapd[19612]: conn=1 op=0 RESULT tag=97 err=0 text=
47 > Jun 14 23:40:23 abda slapd[19612]: conn=1 op=1 SRCH
48 > base="dc=adamsbros,dc=org" scope=2 deref=0 filter="(labeledURI=*)"
49 > Jun 14 23:40:23 abda slapd[19612]: conn=1 op=1 SRCH attr=labeledURI
50 > Jun 14 23:40:23 abda slapd[19612]: <= entry_decode:
51 > slap_str2undef_ad(a-9b67-bde9526b77f4): AttributeDescription contains
52 > inappropriate characters
53 > Jun 14 23:40:23 abda slapd[19612]: conn=1 op=1 SEARCH RESULT tag=101
54 > err=80 nentries=0 text=internal error
55 > Jun 14 23:40:23 abda slapd[19612]: conn=1 op=2 UNBIND
56 > Jun 14 23:40:23 abda slapd[19612]: conn=1 fd=13 closed
57 > Jun 15 19:15:28 abda slapd[19612]: conn=2 fd=13 ACCEPT from
58 > IP=127.0.0.1:50707 (IP=0.0.0.0:389)
59 > Jun 15 19:15:28 abda slapd[19612]: conn=2 op=0 BIND dn="" method=128
60 > Jun 15 19:15:28 abda slapd[19612]: conn=2 op=0 RESULT tag=97 err=0 text=
61 > Jun 15 19:15:28 abda slapd[19612]: conn=2 op=1 SRCH
62 > base="dc=adamsbros,dc=org" scope=2 deref=0 filter="(labeledURI=*)"
63 > Jun 15 19:15:28 abda slapd[19612]: conn=2 op=1 SRCH attr=labeledURI
64 > Jun 15 19:15:28 abda slapd[19612]: <= entry_decode:
65 > slap_str2undef_ad(a-9b67-bde9526b77f4): AttributeDescription contains
66 > inappropriate characters
67 > Jun 15 19:15:28 abda slapd[19612]: conn=2 op=1 SEARCH RESULT tag=101
68 > err=80 nentries=0 text=internal error
69 > Jun 15 19:15:28 abda slapd[19612]: conn=2 op=2 UNBIND
70 > Jun 15 19:15:28 abda slapd[19612]: conn=2 fd=13 closed
71 >
72 --
73 gentoo-user@g.o mailing list