Как восстановить базу Ldap сервера?
Добавлено: 2009-04-24 11:39:28
Здравствуйте уважаемые! Может кто-нибудь знает как решить возникшую проблему. Суть собственно вот в чем: ночью рубанулось электричество, upsd отправил команду shutdown, комп благополучно отключился, а вот с базой Ldap случился казус.
Вот кусок debug.log
Буду очень признателен за любую помощь,поскольку контора с утра не работает.
Вот кусок debug.log
Код: Выделить всё
bdb(dc=my-domain,dc=ru): file id2entry.bdb has LSN 1/3375037, past end of log at 1/2465137
bdb(dc=my-domain,dc=ru): Commonly caused by moving a database from one database environment
bdb(dc=my-domain,dc=ru): to another without clearing the database LSNs, or by removing all of
bdb(dc=my-domain,dc=ru): the log files from a database environment
bdb(dc=my-domain,dc=ru): /var/db/openldap-data/id2entry.bdb: unexpected file type or format
bdb_db_open: database "dc=my-domain,dc=ru": db_open(/var/db/openldap-data/id2entry.bdb) failed: Invalid argument (22).
backend_startup_one: bi_db_open failed! (22)
bdb_db_close: database "dc=my-domain,dc=ru": alock_close failed
slapd stopped.