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: Re: [Sysadmins] умирающая база LDAP
Date: Fri, 16 Oct 2009 00:27:55 +0300
Message-ID: <4AD793DB.8050607@kuleshov.in.ua> (raw)
In-Reply-To: <20091015202653.GA20856@lsv.altlinux.ru>

On 15.10.2009 23:26, Lebedev Sergey wrote:
> On 11 Oct, Andrey Kuleshov wrote:
>
> Андрей, добрый день. Только сейчас добрался до почты. Очень
> интересно.
>
> rpm -qa|grep db4 что говорит?
>
# rpm -qa|grep db4
libdb4.7-4.7.25-alt5
libdb4.7_int-4.7.25-alt5
db4.7-utils-4.7.25-alt5
>> Доброго времени!
>>
>> Наблюдаю "веселую" картинку.
>> После перезагрузки Ковчега не поднимается 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, все работает.
>> ...до следующей перезагрузки.
>>
>> Такое можно вылечить?
>>
>
>
>



      parent reply	other threads:[~2009-10-15 21:27 UTC|newest]

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

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=4AD793DB.8050607@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