Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#596343: other issue

76 views
Skip to first unread message

FRLinux

unread,
Sep 13, 2010, 9:30:02 AM9/13/10
to
Hello, I am not sure this is related but found another issue. What we do
at the moment, is install the new slapd package on a replica, then
reconfigure it to use our stuff (some extra schemas and using BDB rather
than HDB).

When doing a reconfigure, i am now getting this:

ldap:~# dpkg-reconfigure slapd
Stopping OpenLDAP: slapd.
Creating initial configuration... Loading the initial configuration from
the ldif file () failed with
the following error while running slapadd:
ldif_read_record: include file:///etc/ldap/schema/core.ldif failed

Surely enough, there was no schemas there, so my quick fix was just to
rsync the ones we had from another squeeze (earlier version using 2.4.17
before your migration to /etc/ldap/slapd.d/) and that worked:

ldap:~# dpkg-reconfigure slapd
Stopping OpenLDAP: slapd.
Creating initial configuration... done.
Creating LDAP directory... done.
Starting OpenLDAP: slapd.

Cheers,
Steph


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Steve Langasek

unread,
Sep 13, 2010, 12:20:02 PM9/13/10
to
On Mon, Sep 13, 2010 at 02:11:11PM +0100, FRLinux wrote:
> Hello, I am not sure this is related but found another issue. What we do
> at the moment, is install the new slapd package on a replica, then
> reconfigure it to use our stuff (some extra schemas and using BDB rather
> than HDB).

> When doing a reconfigure, i am now getting this:

> ldap:~# dpkg-reconfigure slapd
> Stopping OpenLDAP: slapd.
> Creating initial configuration... Loading the initial configuration from
> the ldif file () failed with
> the following error while running slapadd:
> ldif_read_record: include file:///etc/ldap/schema/core.ldif failed

> Surely enough, there was no schemas there,

Well, those are conffiles belonging to the slapd package; you can remove
them (as you appear to have done), but if you do so, you'll have to provide
your own schemas in their place. And if you remove core.ldif, your setup is
incompatible with the package autoconfiguration.

So no, that's not related to this bug.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slan...@ubuntu.com vor...@debian.org

FRLinux

unread,
Sep 13, 2010, 4:10:04 PM9/13/10
to
On 09/13/10 17:16, Steve Langasek wrote:
> Well, those are conffiles belonging to the slapd package; you can remove
> them (as you appear to have done), but if you do so, you'll have to provide
> your own schemas in their place. And if you remove core.ldif, your setup is
> incompatible with the package autoconfiguration.
>
> So no, that's not related to this bug.

Alright, thanks for your reply.

Steph

0 new messages