[Date Prev][Date Next]
Re: dbenv_open failed
I noticed that all my files in /var/lib/ldap are owned by slapd.slapd , but
everytime i start slapd, only --db.001, --db.002, --db00n, files are
chowned back to root, *.bdb files and db_config remains owned by slapd.
Dont know why only those files, when i start slapd are chowned?
----- Original Message -----
From: "Quanah Gibson-Mount" <firstname.lastname@example.org>
To: "TL" <email@example.com>; <Openldap-software@OpenLDAP.org>
Sent: Friday, September 16, 2005 8:19 PM
Subject: Re: dbenv_open failed
--On Friday, September 16, 2005 7:40 PM -0300 TL <firstname.lastname@example.org>
Using debian sarge Changed my /etc/ldap/default/slapd to
SLAPD_USER="slapd" SLAPD_GROUP="slapd" chown -R slapd.slapd /etc/ldap
/var/lib/slapd /var/lib/ldap /var/run/slapd and im still getting in my
syslog the err msg: bdb_db_open: dbenv_open(/var/lib/ldap) bdb_db_open:
dbenv_open failed: Permission denied (13) bdb_db_open: dbenv_open failed!
(13) as root, runs without a problem. What am i missing?
Your permissions are obviously incorrect somewhere if it runs okay as
root, but not as slapd/slapd. I suggest checking file & directory
ownership of /var/lib/ldap.
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.1/104 - Release Date: 16/09/2005