[CentOS] nss_ldap: reconnected to LDAP server ldap://127.0.0.1

Fri Feb 18 21:39:05 UTC 2011
Tim Alberts <talberts at msiscales.com>

On 2/18/2011 11:05 AM, Tim Alberts wrote:
> I found a helpful page:
> http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP.html   approximately
> 2/3 down the page, section titled 'Notes: LDAP on Red Hat/Fedora
> distribution:'  An example database recovery command as follows:
>
> /usr/sbin/slapd_db_recover -v -h /var/lib/ldap/stooges/
>
> I have run this (twice now with ldap stopped) on all three servers and
> continue to have problems.  Now I'm really lost as to what to do.

Update, I believe this actually did fix the problem (db_recover).  
Unfortunately, after I did this, I hadn't seen anymore:

nss_ldap: reconnected to LDAP serverldap://127.0.0.1

errors in /var/log/messages.  However my Apache server was still giving Forbidden errors, and my subversion server was still giving Forbidden errors.  I figured some berkelyDB was not shutdown in apache authentication and or subversion as well.  Fortunately, I decided to do a restart of Apache and that seems to have fixed that problem too.

So solution appears to be, simple database recovery, followed by Apache restart.  Thank you to the folks who posted responses to help.  Hopefully my this thread can find it's way to helping someone else who runs in to this.