That's exactly what I did, but its weird, the last update didn't erase my database. It looks like only the accounts that were created since that last time I shutdown slapd were not there.
Here's the comment from Red Hat on this bug:
"we released -15 as part of U3 with inadvertently changed the default database type (doesn't "nuke" the existing db, just makes it inaccessible). Either reverting to the previous release or upgrading to -17 (released just a few hours after -15) fixes the problem. "
.../Ed
There has to be a better way...
Ryan
-----Original Message-----
From: Justin Crabtree [mailto:crabtrej@xxxxxxx] Sent: Tuesday, September 28, 2004 10:48 AM
To: golharam@xxxxxxxxx; General Red Hat Linux discussion list
Subject: Re: Upgrading openldap-server package
I had the same problem a few weeks ago. The auto update of openldap through rhn overwrote the database files with empty files, then did the same several hours after we restored the server. After that experience,
we setup a recovery plan using slapcat to backup the database on a regular basis. I don't know what you are currently doing to backup your
database, but I would suggest backing it up before running any updates from Redhat.
HTH.
Justin Crabtree Java Programmer Ozarks Technical Community College 799-1573
Ryan Golhar wrote:
I recently upgraded the openldap-server package on my ldap server. After the upgrade (using rpm -Uvh), I noticed that some of the user accounts were not in the database anymore. I think they were the accounts that were created since the last time slapd was restarted (on a reboot).
When a new user is added to ldap, does slapd not write the data to disk
until its shutdown? During a previous upgrade of openldap-server, my whole ldap database was erased and I wasn't sure why...
Anyone else notice anything with upgrading openldap-server?
Ryan
-- Ed Wilts, Mounds View, MN, USA mailto:ewilts@xxxxxxxxxx
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list