[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
openldap configuration error
- To: openldap-software@openldap.org
- Subject: openldap configuration error
- From: Jittinan Suwanrueangsri <jittinan2@gmail.com>
- Date: Sun, 30 Aug 2009 02:29:04 +0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=XhEXsP9xk+QGcjDuiIFv+mEq/99QgLvgN3UO+kx6rFY=; b=G5Ry9huNqtDHyyTsT+DLazmrwvAs/0AlDsSa00/PlCRSvt4K3ceBGq/PXXKiZfyCr4 WHyvGG5gIYyS80PqVuJFAgW+oAR6uhhlqjHEWeRYYfscZjNidrGR/67nVLROZeeEuCT1 pL1JQEiYPl4GOIF81rmFbiab7xO3Z+P1UNHzQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ekZGq1VWqMPPDiZ9Xj5pqOr7wRMSCMBDdgN3ouGVokvi12pv+TV9Q35YvBMUwXweqW SBPd5DMGy0aoqRIVtzdNbl3iopiGUs82V5+hEjtDGIHoyBU1Z2Q+m31egulVp4c72oaY HISksWw1qJiOEPDqPy7OffQhCJ73yQIYqUmOc=
- User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
Hi
I have configure openldap 2.4.16 with following option
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib" ./configure --enable-bdb=mod
--enable-hdb=mod --enable-ldap=mod --enable-monitor=mod
--enable-spasswd=yes --enable-modules=yes --enable-wrappers=yes
--enable-overlays=mod --with-cyrus-sasl --with-tls=openssl
--enable-dynacl=yes --enable-crypt=yes --enable-lmpasswd=yes
After run make test command there is error as shown below
>>>>> Starting test018-syncreplication-persist ...
running defines.sh
Starting producer slapd on TCP/IP port 9011...
Using ldapsearch to check that producer slapd is running...
Using ldapadd to create the context prefix entry in the producer...
Starting consumer slapd on TCP/IP port 9014...
Using ldapsearch to check that consumer slapd is running...
Using ldapadd to populate the producer directory...
Waiting 7 seconds for syncrepl to receive changes...
Stopping the provider, sleeping 10 seconds and restarting it...
Using ldapsearch to check that producer slapd is running...
Waiting 7 seconds for consumer to reconnect...
Using ldapmodify to modify producer directory...
Using ldappasswd to change some passwords...
Waiting 7 seconds for syncrepl to receive changes...
Stopping consumer to test recovery...
Modifying more entries on the producer...
Restarting consumer...
Waiting 7 seconds for syncrepl to receive changes...
Try updating the consumer slapd...
ldapmodify failed (255)!
>>>>> ./scripts/test018-syncreplication-persist failed (exit 255)
make[2]: *** [bdb-mod] Error 255
make[2]: Leaving directory `/home/jittinans/openldap-2.4.16/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/jittinans/openldap-2.4.16/tests'
make: *** [test] Error 2
but after that I change to not build backend as module
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib" ./configure --enable-bdb=yes
--enable-hdb=yes --enable-ldap=yes--enable-monitor=yes
--enable-spasswd=yes --enable-modules=yes --enable-wrappers=yes
--enable-overlays=mod --with-cyrus-sasl --with-tls=openssl
--enable-dynacl=yes --enable-crypt=yes --enable-lmpasswd=yes
I work correctly.Why?