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

Re: 2.3.11 test007 fails



You must link slapd with shared libldap (configure --enable-dynamic) when using back-ldap/back-meta as dynamic modules. There is probably a way to make libtool take care of this automatically, but right now it doesn't.

Dieter Kluenter wrote:
Hi,
I'm just testing 2.3.11 on x86_64, building almost everything als
module except for back-hdb, back-bdb and back-monitor.
Running test bdb fails with test007, the last few lines are

,----[ output of test007 ]
|  Waiting 5 seconds for slave slapd to die...
| Applying more changes to the master slapd...
| Stopping slurpd...
| Waiting 5 seconds for slurpd to die...
| Applying more changes to the master slapd...
| Restarting slave slapd on TCP/IP port 9012...
| Using ldapsearch to check that slave slapd is running...
| Restarting slurpd...
| Waiting 15 seconds for slurpd to send changes...
| Try updating the slave slapd...
| ldapmodify failed (255)!
| ./scripts/test007-replication: line 299: kill: (19436) - Kein passender Prozess gefunden
| >>>>> ./scripts/test007-replication failed (exit 255)
| make: *** [bdb-yes] Fehler 255
`----

the last few lines of testrun/slapd.2.log are

,----[ slapd.2.log ]
| read1msg: ld 0x777530 msgid 1 message type bind
| ber_scanf fmt ({eaa) ber:
| ber_scanf fmt ({eaa}) ber:
| new result:  res_errno: 0, res_error: <>, res_matched: <>
| read1msg: ld 0x777530 0 new referrals
| read1msg:  mark request completed, ld 0x777530 msgid 1
| request done: ld 0x777530 msgid 1
| res_errno: 0, res_error: <>, res_matched: <>
| ldap_free_request (origid 1, msgid 1)
| ldap_free_connection 0 1
| ldap_free_connection: refcnt 1
| ldap_parse_result
| ber_scanf fmt ({iaa) ber:
| ber_scanf fmt (}) ber:
| ldap_msgfree
| ../servers/slapd/slapd: symbol lookup error: ../servers/slapd/back-ldap/.libs/back_ldap-2.3.so.0: undefined symbol: ldap_modify_ext
`----

the last few lines of testrun/slapd.1.log are

,----[ slapd.1.log ]
| connection_get(13)
| connection_get(13): got connid=5
| connection_read(13): checking for input on id=5
| ber_get_next
| ber_get_next on fd 13 failed errno=0 (Success)
| connection_read(13): input error=-2 id=5, closing.
| connection_closing: readying conn=5 sd=13 for close
| connection_close: conn=5 sd=13
| conn=5 fd=13 closed (connection lost)
| daemon: shutdown requested and initiated.
| slapd shutdown: waiting for 0 threads to terminate
| slapd shutdown: initiated
| ====> bdb_cache_release_all
| slapd destroy: freeing system resources.
| slapd stopped.
`----

any hints?

-Dieter




--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/