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

RE: Antw: RE: Syncrepl and mmr



Staying up for 5 minutes and not starting at all are two different things...I assume this isn't starting at all?

Regardless, how about starting a bit smaller? Try:

# slaptest -u -F /usr/local/openldap/etc/openldap/slapd.d
which I'd expect to work...

# slaptest -F /usr/local/openldap/etc/openldap/slapd.d
which I'd expect to fail...

assuming that fails, maybe add a -d -1 and see if that helps. And I think you mentioned this was Linux, so strace the failing slaptest and see what gets ENOENT?

I'd also be curious if there's anything like SELinux in the way, do you have some additional permissions layer that's expecting slapd to be setuid ldap and is annoyed that your slapadd isn't?

On Thu, 6 Feb 2014, Borresen, John - 0442 - MITLL wrote:

# ll /var/lib/openldap/
total 24
drwxr-xr-x 2 ldap ldap 4096 Feb  4 09:09 accesslog
drwxr-xr-x 2 ldap ldap 4096 Feb  4 09:07 accesslog_orig-2014-02-04
drwxr-xr-x 2 ldap ldap 4096 Jan 14 09:06 monitor
drwxr-xr-x 2 ldap ldap 4096 Feb  4 09:07 openldap-data
drwxr-xr-x 2 ldap ldap 4096 Feb  3 16:37 openldap-data_orig-2014-02-04
drwxr-xr-x 2 ldap ldap 4096 Feb  6 12:32 run


________________________________________
From: Quanah Gibson-Mount [quanah@zimbra.com]
Sent: Thursday, February 06, 2014 12:36 PM
To: Borresen, John - 0442 - MITLL; openldap-technical@openldap.org
Subject: RE: Antw: RE: Syncrepl and mmr

--On Thursday, February 06, 2014 12:32 PM -0500 "Borresen, John - 0442 -
MITLL" <John.Borresen@ll.mit.edu> wrote:

All,

The oldDbDirectory statement is pointing to
/var/lib/openldap/openldap-data

The accesslog olcDbDirectory statement is:  /var/lib/openldap/accesslog

Then one of those does not exist or is not accessible to the openldap user.

--Quanah


--

Quanah Gibson-Mount
Architect - Server
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration