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?
--On Sunday, August 30, 2009 2:29 AM +0700 Jittinan Suwanrueangsri jittinan2@gmail.com wrote:
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
Did you fully patch BDB? There are four patches for BDB 4.7.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
I have already patched these 4 patches.Do you have any idea?
Quanah Gibson-Mount wrote:
--On Sunday, August 30, 2009 2:29 AM +0700 Jittinan Suwanrueangsri jittinan2@gmail.com wrote:
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
Did you fully patch BDB? There are four patches for BDB 4.7.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
--On Wednesday, September 02, 2009 12:00 PM +0700 Jittinan Suwanrueangsri jittinan2@gmail.com wrote:
I have already patched these 4 patches.Do you have any idea?
Did you build with the --enable-dynamic configure flag as well? I'd try that.
And please don't top post.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount wrote:
--On Wednesday, September 02, 2009 12:00 PM +0700 Jittinan Suwanrueangsri jittinan2@gmail.com wrote:
I have already patched these 4 patches.Do you have any idea?
Did you build with the --enable-dynamic configure flag as well? I'd try that.
And please don't top post.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
Yes I miss to enable dynamic option.Now it's working .Thank you.
openldap-software@openldap.org