Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1118074

Summary: ds logs many "SLAPI_PLUGIN_BE_TXN_POST_DELETE_FN plugin returned error" messages
Product: Red Hat Enterprise Linux 7 Reporter: Noriko Hosoi <nhosoi>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact:
Priority: low    
Version: 7.0CC: amsharma, ldelouw, nhosoi, nkinder, rmeggins
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.3.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 09:36:23 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:

Description Noriko Hosoi 2014-07-10 00:25:56 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47732

when running the ipa test suite there are many errors like:

SLAPI_PLUGIN_BE_TXN_POST_DELETE_FN plugin returned error code -1

Comment 3 Noriko Hosoi 2014-10-21 17:02:46 UTC
Steps:

0. Enable USN plugin
1. Delete a non-existing entry.
2. If "SLAPI_PLUGIN_BE_TXN_POST_DELETE_FN plugin returned error" messages is not logged in the error log, the fix is verified.

Comment 4 Amita Sharma 2014-12-30 09:46:46 UTC
dn: cn=USN,cn=plugins,cn=config
objectClass: top
objectClass: nsSlapdPlugin
objectClass: extensibleObject
cn: USN
nsslapd-pluginPath: libusn-plugin
nsslapd-pluginInitfunc: usn_init
nsslapd-pluginType: object
nsslapd-pluginEnabled: on
nsslapd-pluginbetxn: on
nsslapd-plugin-depends-on-type: database
nsslapd-pluginId: none
nsslapd-pluginVersion: none
nsslapd-pluginVendor: none
nsslapd-pluginDescription: none

[root@dhcp201-126 export]# ldapdelete -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 "uid=amita,ou=people,dc=replsuffix,dc=com"
ldap_delete: No such object (32)
[root@dhcp201-126 export]# grep -i "SLAPI_PLUGIN_BE_TXN_POST_DELETE_FN plugin returned error" /var/log/dirsrv/slapd-dhcp201-126/errors
[root@dhcp201-126 export]# 

Error Logs
============
[30/Dec/2014:15:14:57 +051800] - slapd shutting down - signaling operation threads - op stack size 1 max work q size 1 max work q stack size 1
[30/Dec/2014:15:14:57 +051800] - slapd shutting down - waiting for 28 threads to terminate
[30/Dec/2014:15:14:57 +051800] - slapd shutting down - closing down internal subsystems and plugins
[30/Dec/2014:15:14:57 +051800] - Waiting for 4 database threads to stop
[30/Dec/2014:15:14:57 +051800] - All database threads now stopped
[30/Dec/2014:15:14:57 +051800] - slapd shutting down - freed 1 work q stack objects - freed 1 op stack objects
[30/Dec/2014:15:14:57 +051800] - slapd stopped.
[30/Dec/2014:15:15:26 +051800] - 389-Directory/1.3.3.1 B2014.351.2355 starting up
[30/Dec/2014:15:15:26 +051800] - I'm resizing my cache now...cache was 4096000 and is now 3276800
[30/Dec/2014:15:15:26 +051800] - slapd started.  Listening on All Interfaces port 389 for LDAP requests


Hence VERIFIED,

Comment 6 errata-xmlrpc 2015-03-05 09:36:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0416.html