* [Sysadmins] умирающая база LDAP
@ 2009-10-11 16:39 Andrey Kuleshov
0 siblings, 1 reply; 2+ messages in thread
From: Andrey Kuleshov @ 2009-10-11 16:39 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Доброго времени!
Наблюдаю "веселую" картинку.
После перезагрузки Ковчега не поднимается LDAP.
# service slapd status
slapd is dead, but subsystem is locked
# slapd -u ldap -r /var/lib/ldap -h 'ldap://localhost' -d 64
@(#) $OpenLDAP: slapd 2.4.16 (Aug 18 2009 22:55:23) $
builder@apiary.egro.altlinux.org:/usr/src/RPM/BUILD/openldap2.4-2.4.16/servers/slapd
reading config file /etc/openldap/slapd.conf
...
bdb(dc=applu,dc=local): Program version 4.7 doesn't match environment
version 1986080115.1634494817
hdb_db_open: database "dc=applu,dc=local" cannot be opened, err -30971.
Restore from backup!
bdb(dc=applu,dc=local): txn_checkpoint interface requires an environment
configured for the transaction subsystem
bdb_db_close: database "dc=applu,dc=local": txn_checkpoint failed:
Invalid argument (22).
backend_startup_one: bi_db_open failed! (-30971)
bdb_db_close: database "dc=applu,dc=local": alock_close failed
slapd stopped.
Сношу файлы базы, стартую slapd, заливаю ldif, все работает.
...до следующей перезагрузки.
Такое можно вылечить?
# rpm -qa|grep ldap|sort
alterator-ldap-groups-0.4-alt2
alterator-ldap-users-0.5-alt9
alterator-openldap-0.3-alt5
alterator-openldap-functions-0.1-alt1
ldap-user-tools-0.5-alt1.2
libkrb5-ldap-1.6.3-alt8
libldap2.4-2.4.16-alt4.4
nss_ldap-264-alt1
openldap2.4-2.4.16-alt4.4
openldap2.4-clients-2.4.16-alt4.4
openldap2.4-servers-2.4.16-alt4.4
pam_ldap-184-alt2
php5-ldap-5.2.11.20090722-alt1.1
postfix-ldap-2.5.9-alt2
ruby-ldap-0.9.9-alt1.1
-- drew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-15 21:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-11 16:39 [Sysadmins] умирающая база LDAP Andrey Kuleshov
2009-10-15 21:27 ` Andrey Kuleshov
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git