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

AW: bdb-back install problems - Permission denied

> -----Ursprungliche Nachricht-----
> Von: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]Im Auftrag von Tony
> Earnshaw
> Gesendet: Sonntag, 23. November 2003 15:59
> An: openldap-software@OpenLDAP.org
> Betreff: Re: bdb-back install problems - Permission denied
> Mario Minati wrote:
> > bdb_db(dc=minati,dc=de): /var/ldap/test/__db.001: Permission denied
> As which user is slapd running? Who owns /var/ldap/test/__db.001?

It's running as ldap:ldap (u:g) and as said before all db-files are owned by

I found A solution for the problem. I discovered that it works correctly
when the default (from distribution Suse 9.0 = /var/lib/dap ) directory is
chosen as path to store the bdb files.

I think that the problem is buried somewhere in the startup-scripts for
slapd because when started directly (/sbin/openldap/slapd) it seems to work.
But I could find out any place where additionaly parameters where added to
the commandline that is executed in the script to setup the demon.
Maybe the slapd behaves if called with no parameters or with any parameter.

Anyhow for the moment I can live with the described solution.

Mario Minati

> --Tonni
> --
> Tony Earnshaw
> If my mail server refuses your
> mail resend to:
> billy at billy.demon.nl
> http: www.billy.demon.nl

Virus checked by G DATA AntiVirusKit
Version: AVK 14.0.62 from 14.11.2003
Virus news: www.antiviruslab.com