[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapd dead. pls advise how I can restart it
- To: openldap-technical <openldap-technical@openldap.org>
- Subject: Re: slapd dead. pls advise how I can restart it
- From: Mauricio Tavares <raubvogel@gmail.com>
- Date: Tue, 24 Jun 2014 10:10:12 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=nDumGTKEdpkHcM79/47ybPdYnpjk22Gre3mKKV2YyT8=; b=0OG7K/T87qZ8YTxi1yLRBQxAnheIKnc1CsixKvDH0RyWitQNRr909SyOd/um3l5wpd JCtQx/kpXYpoo2r2PXVc/xJCZ4ZJtWDtsQj+M11c9676yw1fgo9oKkWcBSEVHpW0oqJ0 aW5TWDDHOP0Jp0girNZz9abHPTq39bCv7pABNHAYPQj9j8Bt/ip2CYd6qB85TC8G2QLI FWMIU6gKj+R88OWQ4m/vgO5OBuLmCLvBh/P/91hx5zCZ24X8/I9bkGe9ZIksyYjOGjpJ NtdQZqyI9bu1eet8UC4l3dSsEmUsme1OXmNVsX3Eyxv6IIkOpetqM7oCYl0H1Mu66tLj jncg==
- In-reply-to: <20140624134749.GB3709@dan.olp.net>
- References: <tencent_21F736BE480245C06136563E@qq.com> <20140624134749.GB3709@dan.olp.net>
On Tue, Jun 24, 2014 at 9:47 AM, Dan White <dwhite@olp.net> wrote:
> On 06/24/14 16:19 +0800, Eileen(=^Ï^=) wrote:
>>
>> When I start slapd, below will be come.
>>
>> [root@nplserver1 openldap]# slapd start -d 256
>>
>> @(#) $OpenLDAP: slapd 2.4.23 (Feb 22 2013 01:50:21) $
>>
>>
>> mockbuild@c6b7.bsys.dev.centos.org:/builddir/build/BUILD/openldap-2.4.23/openldap-2.4.23/build-servers/servers/slapd
>>
>> bdb(dc=npl,dc=tmsr): unable to join the environment
>>
>> bdb_db_open: database "dc=npl,dc=tmsr" cannot be opened, err 11. Restore
>> from backup!
>>
>> bdb(dc=npl,dc=tmsr): txn_checkpoint interface requires an environment
>> configured for the transaction subsystem
>>
>> bdb_db_close: database "dc=npl,dc=tmsr": txn_checkpoint failed: Invalid
>> argument (22).
>>
>> backend_startup_one (type=bdb, suffix="dc=npl,dc=tmsr"): bi_db_open
>> failed! (11)
>>
>> bdb_db_close: database "dc=npl,dc=tmsr": alock_close failed
>>
>> slapd stopped.
>
>
> I'm not familiar with the specific error messages you're getting. There are
> error codes in your output produced by BerkeleyDB. Consult the
> documentation for that project for how to proceed in the safest manner.
>
> Have you performed any upgrades? Do you have any permissions problems on
> your directory location? Check the location corresponding to your
> configured directory/olcDbDirectory.
>
I does sound like the database is corrupted somehow. slapcat
needs slapd to be running, right?
> --
> Dan White
>