[CentOS] nss_ldap: reconnected to LDAP server ldap://127.0.0.1
Peter Brady
pdbrady at ans.com.au
Fri Feb 18 20:23:24 UTC 2011
On 18/02/11 10:11 AM, Tim Alberts wrote:
> Checking configuration files for slapd: bdb_db_open: unclean shutdown
> detected; attempting recovery.
> bdb_db_open: Recovery skipped in read-only mode. Run manual recovery if
> errors are encountered.
> config file testing succeeded
The LDAP database files are *very* sensitive to unclean shut downs. I'd
keep multi-master redundant servers on separate power supplies if
possible. Or at least a decent clean shut down off UPS power.
It may be simplest to recover the databases from backup using the import
scripts than attempt to recover an existing corrupted database. There
is a section in the manual (can't find the link right away) that states
if the servers go down hard then the databases "will" be corrupted and
to restore from backup.
Good luck,
-pete
--
Peter Brady
Email: pdbrady at ans.com.au
Home Page: http://www.simonplace.net/
Skype: pbrady77
Mobile: +61 410 490 797
More information about the CentOS
mailing list