Bug#403524: [Pkg-openldap-devel] Bug#403524: slapd: Upgrade from sarge to etch fails on a replica-server

Matthijs Mohlmann matthijs at cacholong.nl
Fri Dec 22 22:17:43 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mario Iseli wrote:
> On Mon, Dec 18, 2006 at 08:16:44PM +0100, Matthijs Mohlmann wrote:
>> There is an error earlier in the process. Can you move
>> /var/backups/dc=dmz,... move out of the way and try aptitude upgrade again ?
> 
> Yes I already tried this and then started an apt-get -f install, it
> seems to rebuild this backup file and fails then with the same reason, I
> think it must be an error in postinst. I'll go to fetch the source
> tonight and also have a look at it. Maybe I will find the mistake...
> When I won't be too tired I will also test the script step by step.
> 
> I hope to be able to help a little bit...
> 
> Regards
> 

Ok, I've tested a bit of the upgrade procedure of slapd. On my side it
seems to work,

Preparing to replace slapd 2.2.23-8 (using .../slapd_2.3.29-1_i386.deb) ...
Stopping OpenLDAP: slapd.
  Dumping to /var/backups/slapd-2.2.23-8:
  - directory dc=cacholong,dc=nl... done.
Unpacking replacement slapd ...
dpkg: warning - unable to delete old directory `/var/lib/ldap':
Directory not empty
[..]
Setting up slapd (2.3.29-1) ...
[..]
  Creating new user openldap... done.
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.2.23-8... done.
  Updating config access directives... done.
  Moving old database directories to /var/backups:
  - directory dc=cacholong,dc=nl... done.
  Loading from /var/backups/slapd-2.2.23-8:
  - directory dc=cacholong,dc=nl... done.
  - chowning database directory (openldap:openldap)... done
Starting OpenLDAP: slapd.

Can you give me some information on how you set up slapd ? A
configuration file would be nice. (especially the part of the replica
sections)

Regards,

Matthijs Mohlmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFjEt32n1ROIkXqbARAsilAJ9/vH2PIzuIuvbPdsze0cO+gNz4igCfY5af
LZjMV8ShsFSgQsuN/L/szTg=
=c684
-----END PGP SIGNATURE-----





More information about the Pkg-openldap-devel mailing list