==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Debian
- Related log if you're reporting an issue: /var/log/openldap.log
====
I receive the following in the openldap.log when trying to restart slaps service on the slave node:
May 2 09:52:41 mail2 slapd[7201]: @(#) $OpenLDAP: slapd (Apr 23 2013 12:16:04) $#012#011root@lupin:/tmp/buildd/openldap-2.4.31/debian/build/servers/slapd
the service will stop but fails on starting.
Here is the code from slapd.conf on the slave server:
database bdb
suffix dc=mydomain,dc=com
rootdn dc=mydomain,dc=com
directory /var/lib/ldap/mydomain.com
index objectclass,entryCSN,entryUUID eq
rootdn cn=user,dc=mydomain,dc=com
rootpw secret
sizelimit 10000
cachesize 10000
syncrepl rid=101
provider=ldap://192.168.1.1
type=RefreshandPersist
interval:00:01:00:00"
retry="5 5 300 +"
searchbase="dc=mydomain,dc=com"
filter="(objectClass)"
scope=sub
attrs="*,+"
bindmethod=simple
binddn="cn=user,dc=mydomain,dc=com"
credentials=<secret>
and here is the slapd.conf code from the master:
database bdb
suffix dc=mydomain,dc=com
checkpoint 128 5
directory /var/lib/ldap/mydomain.com
rootdn cn=user,dc=mydomain,dc=com
rootpw secret
sizelimit 10000
cachesize 10000
### for LDAP replication
###
moduleload syncprov
index entryCSN,entryUUID eq
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100