Andrey Ivanov wrote:
2009/12/2 Rich Megginson <rmeggins@xxxxxxxxxx>:
The 389 team is pleased to announce the availability of Release Candidate 1
of version 1.2.5.
We need your help! Please help us test this software. It is a Release
Candidate, so it is fairly stable at this point. We have worked hard to
Don't know whether it is a bug or some incompatibility with dbgen.pl
but this version of the server crashes when i try to import
dbgen-generated ldifs (CentOS 5.4 x86_64):
[root@ldap-model tmp]# rpm -qa |grep 389
389-admin-1.1.9-1.el5
389-ds-base-1.2.5-0.2.rc1.el5
389-adminutil-1.1.8-3.el5
1. Install the server with setup-ds-admin.pl with the suffic "dc=example,dc=com"
2. Make several verifications, it seems ok
3. Stop the server and export the data :
service dirsrv stop
/usr/lib64/dirsrv/slapd-<server id>/db2ldif -n userRoot -a /tmp/export.ldif
4. Import the exported ldif :
/usr/lib64/dirsrv/slapd-dmz/ldif2db -n userRoot -i /tmp/export.ldif
5. Everything's fine.
6. Generate a small ldif with dbgen :
dbgen.pl -s "dc=example,dc=com" -o /tmp/example.ldif -n 10
chown <ldap user>:<ldap group> /tmp/example.ldif
7. Import this example.ldif and the segmentation fault arrives :
/usr/lib64/dirsrv/slapd-<server id>/ldif2db -n userRoot -i /tmp/example.ldif
importing data ...
[06/Dec/2009:16:24:53 +0100] - dblayer_instance_start: pagesize: 4096,
pages: 966617, procpages: 46090
[06/Dec/2009:16:24:53 +0100] - cache autosizing: import cache: 204800k
[06/Dec/2009:16:24:53 +0100] - li_import_cache_autosize: 50,
import_pages: 51200, pagesize: 4096
[06/Dec/2009:16:24:53 +0100] - WARNING: Import is running with
nsslapd-db-private-import-mem on; No other process is allowed to
access the database
[06/Dec/2009:16:24:53 +0100] - dblayer_instance_start: pagesize: 4096,
pages: 966617, procpages: 46090
[06/Dec/2009:16:24:53 +0100] - cache autosizing: import cache: 204800k
[06/Dec/2009:16:24:53 +0100] - li_import_cache_autosize: 50,
import_pages: 51200, pagesize: 4096
[06/Dec/2009:16:24:53 +0100] - import userRoot: Beginning import job...
[06/Dec/2009:16:24:53 +0100] - import userRoot: Index buffering
enabled with bucket size 100
[06/Dec/2009:16:24:54 +0100] - import userRoot: Processing file
"/tmp/example.ldif"
/usr/lib64/dirsrv/slapd-dmz/ldif2db: line 25: 5013 Segmentation fault
./ns-slapd ldif2db -D /etc/dirsrv/slapd-dmz "$@" 2>&1
after this "import" the server starts but there is no object
"dc=example,dc=com"
Thanks. This was a regression introduced by another fix - 195302
A new build (.rc2) will be available shortly.
--
389 users mailing list
389-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users