Bug 656392
Summary: | Server aborts when changing errorlog level to 65537 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Simo Sorce <ssorce> | ||||
Component: | Server - Plugins | Assignee: | Nathan Kinder <nkinder> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 1.2.7 | CC: | amsharma, hgraham, jgalipea, nkinder, rmeggins | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-07 16:30:40 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 639035 | ||||||
Bug Blocks: | 576869 | ||||||
Attachments: |
|
Description
Simo Sorce
2010-11-23 16:19:27 UTC
Further investigation with LD_DEBUG variables turned out a dynamic linking issue in the retrocl plugin. 9300: /usr/lib/dirsrv/plugins/libretrocl-plugin.so: error: symbol lookup error: undefined symbol: ber_err_print (fatal) (Although also note that supposedly that plugin is turned off in dse.ldif) I also see this issue, but with the replication plug-in. In my test, I set the log level to 65537 in dse.ldif with the server stopped. When I start the server, it aborts when it starts the replication plug-in. Here is the trimmed LD_DEBUG output: 19401: symbol=ber_err_print; lookup in file=/usr/sbin/ns-slapd [0] 19401: symbol=ber_err_print; lookup in file=/usr/lib64/dirsrv/libslapd.so.0 [0] ... 19401: symbol=ber_err_print; lookup in file=/usr/lib64/liblber-2.4.so.2 [0] ... 19401: symbol=ber_err_print; lookup in file=/usr/lib64/liblber-2.4.so.2 [0] ... 19401: /usr/lib64/dirsrv/plugins/libreplication-plugin.so: error: symbol lookup error: undefined symbol: ber_err_print (fatal) What is interesting is that it is checking for the symbol in liblber.so. The ber_err_print() function is not an exposed function. Created attachment 462441 [details]
Patch
Patch looks good to me. Thanks for the reviews! Pushed to master. Counting objects: 33, done. Delta compression using up to 2 threads. Compressing objects: 100% (17/17), done. Writing objects: 100% (17/17), 1.53 KiB, done. Total 17 (delta 15), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git d38ae06..36dbaf1 master -> master 1. Tested on Replica configuration test machine. 2.[root@rhel61-ds90-amita scripts]# ldapmodify -x -h localhost -p 20100 -D "cn=Directory Manager" -w xxxx << EOF dn: cn=config changetype: modify replace: nsslapd-errorlog-level nsslapd-errorlog-level: 65537 EOF modifying entry "cn=config" 3. Everything is working fine. 1. Add an entry in master and check it should be replicated to slave. ldapmodify -x -h localhost -p 20100 -D "cn=Directory Manager" -w xxxx << EOF dn: uid=amita,ou=people,dc=replsuffix,dc=com changetype: add objectClass: top objectClass: person objectClass: inetorgperson sn: testkrbuser cn: kkk testkrbuser userPassword: redhat EOF [amsharma@rhel61-ds90-amita scripts]$ ldapsearch -h localhost -p 20100 -D "cn=Directory Manager" -w xxxxx -b "dc=replsuffix,dc=com" | grep amita # amita, People, replsuffix.com dn: uid=amita,ou=People,dc=replsuffix,dc=com uid: amita Added SF 00903054 we ran into an issue where we added error log level 65536 (not 65537) using ldapmodify. Directory server ran until a restart by removing a winsync agreement. Then directory server failed to start. When the errorlog level was removed or changed to 8192, directory server started as expected. Can this bug be closed? |