public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Christopher Koeber <ckoeber@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cannot start Slapd (OpenLDAP)
Date: Mon, 24 May 2010 11:48:50 -0400	[thread overview]
Message-ID: <AANLkTilUk0uZYdaWJc0jzvCSsdVYpNZBs6qviZ1e9h1W@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimmFxPh-UnCFKEZOarUlTH1sCxiYpix9iG_5WvM@mail.gmail.com>

On 5/22/10, Ward Poelmans <wpoely86@gmail.com> wrote:
> 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
>
>

I tried running the service as root with the same results below, so I
don't think this is a permissions issue, especially since I am
attempting to run this straight from a standard emerge with no
customizations beyond what was given in the guide.

Here is the latest:

hdb_db_open: warning - no DB_CONFIG file found in directory
/var/lib/openldap-data: (2).
Expect poor performance for suffix "dc=XXXXXXXXX,dc=XXX".
hdb_db_open: database "dc=XXXXXXXXX,dc=XXX":
db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or
directory (2).
backend_startup_one (type=hdb, suffix="dc=XXXXXXXXX,dc=XXX"):
bi_db_open failed! (2)
slap_startup failed (test would succeed using the -u switch)

-- 
Regards,
Christopher Koeber



  reply	other threads:[~2010-05-24 15:49 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
2010-05-24 15:48             ` Christopher Koeber [this message]
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=AANLkTilUk0uZYdaWJc0jzvCSsdVYpNZBs6qviZ1e9h1W@mail.gmail.com \
    --to=ckoeber@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