Solved:
I noted errors relating to files in /etc/ldap/slapd.d so I removed
/etc/ldap/slapd.d and when I did the upgrade /etc/ldap/slapd.d was
created and I got no errors.
//Ger
-----Original Message-----
From: Ger Hooton <g.hooton at ucc.ie>
Reply-to: g.hooton at ucc.ie
To: ilug at linux.ie
Subject: [ILUG] Debian LDAP problems upgrading lenny to squeeze
Date: Wed, 18 Jul 2012 14:37:49 +0100
Mailer: Evolution 3.2.2-
Hi all,
I get the the following error when upgrading lenny to squeeze
any help is most welcome.
==============================
slapcat failure during
upgrade
An error occurred while upgrading the LDAP directory.
│
The 'slapcat' program failed while extracting the LDAP directory. This
may be caused by an incorrect configuration file (for example, missing
'moduleload' lines to support the backend
database).
│
│
This failure will cause 'slapadd' to fail later as well. The old
database files will be moved to /var/backups. If you want to try this
upgrade again, you should move the old database files back into place,
fix whatever caused slapcat to fail, and run:
│
│
slapcat > /var/backups/slapd-2.4.11-1+lenny2.1
│
│
│
│
Then move the database files back to a backup area and then try running
slapadd from /var/backups/slapd-2.4.11-1+lenny2.1.
====================
--
Gerard Hooton.
Senior Technical Officer
Department of Electrical & Electronic Engineering
University College Cork.
College Road.
Cork.
Ireland.
Tel: +353 21 4902296
Mobile: 085 281 3491
--
Gerard Hooton.
Senior Technical Officer
Department of Electrical & Electronic Engineering
University College Cork.
College Road.
Cork.
Ireland.
Tel: +353 21 4902296
Mobile: 085 281 3491
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!