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

RE: slapd won't run as service

Problem solved. /usr/local/var/openldap-logs is owned by the 'ldap' account
but the one and only log file in there was still owned by the 'root'
account. To fix, I did the following:

# chown -R ldap:ldap /usr/local/var/openldap-logs

The service starts now without issue.

Thanks for the help!

-----Original Message-----
From: openldap-technical-bounces+edo=edwaa.com@OpenLDAP.org
[mailto:openldap-technical-bounces+edo=edwaa.com@OpenLDAP.org] On Behalf Of
Quanah Gibson-Mount
Sent: Tuesday, December 16, 2008 9:32 PM
To: Eddie Grenier
Cc: openldap-technical@openldap.org
Subject: RE: slapd won't run as service

--On Tuesday, December 16, 2008 9:22 PM -0800 Eddie Grenier <edo@edwaa.com> 

> set_lg_dir              /usr/local/var/openldap-logs
> -----------------------------------------------------
> Admittedly, I know very little about these configuration options. I set
> these parameters after finding a "suggested" DB_CONFIG file on the
> internet.
> Any help is much appreciated!

First, I would suggest you keep your replies on the list, so other people 
can gain knowledge too.

Second, it clearly notes it stores the log files in 
/usr/local/var/openldap-logs.  I'm guessing the slapd user can't access 
that location.



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration