On Fri, 15 Mar 2013 17:14:40 +0000 (UTC)
Braden McDaniel <bra...@endoframe.com> wrote:

> Brian Millett <bmillett <at> gmail.com> writes:
> 
> [snip]
> 
> > what you want to do is to 'recover' the db, so in /var/lib/ldap, do 
> > 
> > db_recover
> > 
> > then make sure that all files are owned ldap:ldap
> 
> Hm... When I do that, I get:
> 
>   # db_recover
>   db_recover: BDB1538 Program version 5.3 doesn't match environment version
> 5.2
> 
> 
> Braden
> 
> 

Bummer.  Lets see.  In the scripts for the openldap-servers, there is this:

# upgrade the database
if [ -f /var/lib/ldap/rpm_upgrade_openldap ]; then
        if /usr/bin/systemctl --quiet is-active slapd.service; then
                /usr/bin/systemctl stop slapd.service
                start_slapd=1
        fi

        /usr/libexec/openldap/upgrade-db.sh &>/dev/null
        rm -f /var/lib/ldap/rpm_upgrade_openldap
fi

So, if the database needs upgrading, then the pre-install script touches
the /var/lib/ldap/rpm_upgrade_openldap file.  Do you have that, then see if
the above works.

Also, what is the contents of the /var/lib/ldap dir?  Please include the
results from

ls -l of /var/lib/ldap

thanks.

-- 
Brian Millett
"Commander, this little breach of security isn't going to affect my
 Christmas bonus, is it?"
   -- [ Garibaldi, "The Gathering"]
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to