Need help ASAP

my openfire crashed and i have a backup. The admin console will not load. It says unable to connect. Something happened with ldap and i need to rebuild this. Is there a easy way to remove it and just reinstall it. Its on centos 5

HTTP ERROR 500

Problem accessing /setup/setup-ldap-user.jsp. Reason:

org.jivesoftware.openfire.user.DefaultUserProvider cannot be cast to
org.jivesoftware.openfire.ldap.LdapUserProvider

--------Server has now been rebuilt and is up and running again.