[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: test failed - master and slave databases differ
Harry Sufehmi wrote:
Hi,
I'm having problem doing "make test", where on test018 I'll get the
following message:
"test failed - master and slave databases differ"
This is with OpenLDAP v2.2.17 and v2.2.18, on Fedora Core 2 server.
This is the configure line:
./configure --prefix=/usr/local/openldap --enable-ldap --enable-slurpd
--enable-rewrite --with-tls --with-cyrus-sasl
However:
# If cyrus-sasl is disabled, it's test017 that failed
# But even after stripping down to just "./configure
--prefix=/usr/local/openldap", it still fails test017
# Between each compile, I did "make clean", then re-configure again
Unfortunately, I think I'm gonna really need to have all these
features enabled in order to test OpenLDAP in a role as a
metadirectory for eDirectory and Active Directory.
I've googled on this problem, but found nothing of relevance.
Anybody has idea how to fix this problem ?
I'm always compiling with more than this enabled, and I don't usually
get failures.
I suggest you manually run the final test that compares master and slave
before going any further. At the end of test018, whne you see the
failre, run
diff -i testrun/server1.flt testrun/server2.flt
(this is what the test actually does) and post the results. The problem
might just be very trivial.
p.
Thanks,
Harry
>>>>> Starting test018-syncreplication-persist ...
running defines.sh
Starting master slapd on TCP/IP port 9011...
Using ldapsearch to check that master slapd is running...
Waiting 5 seconds for slapd to start...
Using ldapadd to create the context prefix entry in the master...
Starting slave slapd on TCP/IP port 9014...
Using ldapsearch to check that slave slapd is running...
Waiting 5 seconds for slapd to start...
Using ldapadd to populate the master directory...
Waiting 15 seconds for syncrepl to receive changes...
Using ldapmodify to modify master directory...
Waiting 15 seconds for syncrepl to receive changes...
Using ldapsearch to read all the entries from the master...
Using ldapsearch to read all the entries from the slave...
Filtering master results...
Filtering slave results...
Comparing retrieved entries from master and slave...
test failed - master and slave databases differ
>>>>> ./scripts/test018-syncreplication-persist failed (exit 1)
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/downloads/openldap-2.2.18/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/downloads/openldap-2.2.18/tests'
make: *** [test] Error 2
[root@localhost openldap-2.2.18]# uname -a
Linux localhost.localdomain 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT
2004 i686 i686 i386 GNU/Linux
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497