public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ward Poelmans <wpoely86@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cannot start Slapd (OpenLDAP)
Date: Sat, 22 May 2010 21:31:29 +0200	[thread overview]
Message-ID: <AANLkTimmFxPh-UnCFKEZOarUlTH1sCxiYpix9iG_5WvM@mail.gmail.com> (raw)
In-Reply-To: <000c01caf9e4$b1753a30$145fae90$@gmail.com>

On Sat, May 22, 2010 at 21:26, Christopher Kurtis Koeber
<ckoeber@gmail.com> wrote:

> XXXXXXXXXX~ # slaptest
>
> hdb_db_open: warning - no DB_CONFIG file found in directory
> /var/lib/openldap-data: (2).
>
> Expect poor performance for suffix "dc= XXXXXXXXXXXX,dc=XXX".
>
> hdb_db_open: database "dc= XXXXXXXXXXXX,dc=XXX":
> db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or
> directory (2).
>
> backend_startup_one (type=hdb, suffix="dc=XXXXXXXXXXXX,dc=XXX"): bi_db_open
> failed! (2)
>
> slap_startup failed (test would succeed using the -u switch)
>
> So, I am guessing I need to initialize somehow? Is that right?

Normally, if the directory /var/lib/openldap-data/ exists and is
read-writeable for the user under which slapd is running, slapd
creates the database for you. But you beter copy a DB_CONFIG to there
for good perfomance.

Ward



  reply	other threads:[~2010-05-22 19:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-22 15:51 [gentoo-user] Cannot start Slapd (OpenLDAP) Christopher Kurtis Koeber
2010-05-22 16:33 ` Robin Atwood
2010-05-22 16:39 ` Robin Atwood
2010-05-22 17:23   ` Christopher Kurtis Koeber
2010-05-22 18:37     ` Ward Poelmans
2010-05-22 19:13       ` Kaddeh
2010-05-22 19:26         ` Christopher Kurtis Koeber
2010-05-22 19:31           ` Ward Poelmans [this message]
2010-05-24 15:48             ` Christopher Koeber
2010-05-26 17:52               ` Christopher Kurtis Koeber
2010-05-26 17:57                 ` Ward Poelmans
2010-05-26 18:36                   ` Christopher Kurtis Koeber
2010-05-26 18:53                     ` Ward Poelmans
2010-05-26 19:42                       ` Christopher Kurtis Koeber
2010-05-23  2:14   ` Indexer
2010-05-24 15:43     ` Christopher Koeber

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=AANLkTimmFxPh-UnCFKEZOarUlTH1sCxiYpix9iG_5WvM@mail.gmail.com \
    --to=wpoely86@gmail.com \
    --cc=gentoo-user@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox