Ok... I did aboves as root user. So i try: chown -R root:root
/usr/local/openldap/var/openldap-data
And it worked OK... Thanks for your information.
Best Regards,
--
***********************************
EVERYTHING HAS JUST BEGUN...
On Sun, 28 Aug 2011 09:57:49 +0200, Bjørn Ruberg <bjorn(a)ruberg.no> wrote:
On 08/28/2011 06:52 AM, Nguyen, Quoc Khanh wrote:
> Hi all,
>
> I have a notification when using slapadd: bdb_db_open: warning - no
> DB_CONFIG file found in directory
/usr/local/openldap/var/openldap-data:
> (2)
>
> I try to fix it following site:
>
http://www.secure-computing.net/wiki/index.php/OpenLDAP
>
> chown -R ldap:ldap /usr/local/openldap/var/openldap-data
>
> buit it failed:
>
> chown: invalid user: `ldap:ldap'
>
> What's i'm doing wrong? Maybe i don't understand about openldap
2.4.6...
You need to change the user and group to what is appropriate on your own
system.