ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Andrey Kuleshov <andrey@kuleshov.in.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] умирающая база LDAP
Date: Sun, 11 Oct 2009 19:39:56 +0300
Message-ID: <4AD20A5C.1040506@kuleshov.in.ua> (raw)

Доброго времени!

Наблюдаю "веселую" картинку.
После перезагрузки Ковчега не поднимается 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



             reply	other threads:[~2009-10-11 16:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-11 16:39 Andrey Kuleshov [this message]
2009-10-15 21:27   ` Andrey Kuleshov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AD20A5C.1040506@kuleshov.in.ua \
    --to=andrey@kuleshov.in.ua \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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