Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1381153 - Crash in import_wait_for_space_in_fifo().
Crash in import_wait_for_space_in_fifo().
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: 389-ds-base (Show other bugs)
6.0
x86_64 Linux
urgent Severity urgent
: rc
: ---
Assigned To: Noriko Hosoi
Viktor Ashirov
: ZStream
Depends On: 1368209
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-03 05:15 EDT by Marcel Kolaja
Modified: 2016-11-15 14:38 EST (History)
9 users (show)

See Also:
Fixed In Version: 389-ds-base-1.2.11.15-81.el6_8
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1368209
Environment:
Last Closed: 2016-11-15 14:38:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2765 normal SHIPPED_LIVE Moderate: 389-ds-base security, bug fix, and enhancement update 2016-11-15 19:36:28 EST

  None (edit)
Description Marcel Kolaja 2016-10-03 05:15:46 EDT
This bug has been copied from bug #1368209 and has been proposed
to be backported to 6.8 z-stream (EUS).
Comment 5 Sankar Ramalingam 2016-10-26 11:45:59 EDT
Are there steps to reproduce/verify this issue? Based on my understanding, I need to import(online) large number of users with duplicate DNs. Can you please guide me if you already have steps to reproduce?
Comment 7 Sankar Ramalingam 2016-10-27 14:32:54 EDT
Thanks Noriko for the steps. I followed the sequence of steps + online import + Add users simultaneously. However, I didn't encounter any crash with the server.

The error logs showed that the db file in not accessible.

 [27/Oct/2016:23:54:03 +051800] - WARNING---no write permission to file /var/lib/dirsrv/slapd-M1/db/example11189/id2entry.db4
[27/Oct/2016:23:54:03 +051800] - dbp->open("example11189/id2entry.db4") failed: Permission denied (13)
[27/Oct/2016:23:54:03 +051800] - Instance directory /var/lib/dirsrv/slapd-M1/db/example11189 may not be writable
[27/Oct/2016:23:54:03 +051800] - dblayer_instance_start fail: Permission denied (13)
[27/Oct/2016:23:54:03 +051800] - start: Failed to start databases, err=13 Permission denied
[27/Oct/2016:23:54:03 +051800] - Failed to start database plugin ldbm database
[27/Oct/2016:23:54:03 +051800] - WARNING: ldbm instance userRoot already exists


After that, I changed the permission for id2dbentry.db4 file, then the server is brought back alive.

chown dsuser.dsuser //var/lib/dirsrv/slapd-M1/db/example11189/id2entry.db4 

[root@vm-idm-006 slapd-M1]# service dirsrv restart
Shutting down dirsrv: 
    C1...[  OK  ]
    C2...[  OK  ]
    M1... server already stopped[FAILED]
  *** Error: 1 instance(s) unsuccessfully stopped[FAILED]
Starting dirsrv: 
    C1...[  OK  ]
    C2...[  OK  ]
    M1...[  OK  ]

Hence, marking the bug as Verified.
Comment 9 errata-xmlrpc 2016-11-15 14:38:42 EST
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-2016-2765.html

Note You need to log in before you can comment on or make changes to this bug.