[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Can't start ldap or can't create ldap database.



It's merely reminding you that you might want one have one.  Put a blank file in your BDB directory with that name.

It's purely a BDB thing - nothing to do with OpenLDAP.

There are article 'out there' on what might go in the file, but in many cases you don't need to tune anything - seriously.

Caveat: I'm no expert.

Thanks,
- chris

Chris Jacobs, Systems Administrator
Apollo Group  |  Apollo Marketing | Aptimus
2001 6th Ave Ste 3200 | Seattle, WA 98121
phone: 206.441.9100 x1245 | mobile: 206.601.3256 | fax: 206.441.9661
email: chris.jacobs@apollogrp.edu

----- Original Message -----
From: openldap-technical-bounces+chris.jacobs=apollogrp.edu@OpenLDAP.org <openldap-technical-bounces+chris.jacobs=apollogrp.edu@OpenLDAP.org>
To: openldap-technical@openldap.org <openldap-technical@openldap.org>
Sent: Mon Jun 21 05:30:44 2010
Subject: Re: Can't start ldap or can't create ldap database.


>>
>> hometest:rc.d # ./slapd start
>> Starting slapd.
>> ./slapd: WARNING: failed to start slapd
>>
>>
>> error in log file:
>>
>> Jun 21 19:39:53 hometest slapd[1813]: @(#) $OpenLDAP: slapd 2.4.22
>> (Jan  1 2002 00:24:15) $
>> root@hometest.ip6.com.au:/usr/ports/net/openldap24-server/work/openldap-2.4.22/servers/slapd
>>
>> Jun 21 19:39:53 hometest slapd[1813]: main: TLS init def ctx failed: -1
>> Jun 21 19:39:53 hometest slapd[1813]: slapd stopped.
>> Jun 21 19:39:53 hometest slapd[1813]: connections_destroy: nothing to
>> destroy.
>>
>> Thanks
>> Sam
>>
>>
> After I removed the TLS configuration in slapd.conf file, I managed to
> start slapd.
>
> Jun 21 20:36:37 hometest slapd[2092]: @(#) $OpenLDAP: slapd 2.4.22
> (Jan  1 2002 00:24:15) $
> root@hometest.ip6.com.au:/usr/ports/net/openldap24-server/work/openldap-2.4.22/servers/slapd
>
> Jun 21 20:36:38 hometest slapd[2093]: bdb_db_open: warning - no
> DB_CONFIG file found in directory /var/db/openldap-data: (2). Expect
> poor performance for suffix "dc=ip6,dc=com,dc=au".
> Jun 21 20:36:38 hometest slapd[2093]: slapd starting
>
> here, what is this DB_CONFIG file?
>
> Thanks
> Sam
>
>

OK, I got that fixed:

 # netstat -an | egrep '389|636'
tcp4       0      0 192.168.1.20.636       *.*                    LISTEN
tcp4       0      0 192.168.1.20.389       *.*                    LISTEN

But I am still getting the following warning:

bdb_db_open: warning - no DB_CONFIG file found in directory
/var/db/openldap-data: (2). Expect poor performance for suffix
"dc=ip6,dc=com,dc=au".

How to configure DB_CONFIG file for this issue?

Thanks
Sam




This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.