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

Re: glibc2.1? LinuxPPC or RedHat 6.0?




Hugh Caley wrote:
> 
> My attempts to compile OpenLDAP on my two systems (LinuxPPC R5 and
> Redhat 6.0 on i386) both fail with similar errors.
> 
> The version of OpenLDAP that generated the error below was the latest
> from CVS (cvs -z3 update ldap).
> 
> Does anyone have any way around this?
> 
> Hugh
> >
> >run configure with --enable-bdb2 Initiating LDAP tests... >>>>>
> >Executing all LDAP tests... >>>>> Test Directory: . >>>>> Backend: ldbm
> 
> >>>>>> Starting test001-ldif2ldbm ...
> >running defines.sh . ldbm
> >Datadir is ./data
> >Cleaning up in ./test-db...
> >Running ldif2ldbm to build slapd database...
> >ldif2ldbm failed!
> >>>>>> ./scripts/test001-ldif2ldbm failed (exit 1)
> >

I don't see this problem right now with --enable-bdb2 on RH 6.0.

The problem with glibc2.1 may be that it comes with BDB 2.x by default.

But right at this time, it hangs on tests here:

>>>>> Starting test004-modify ...
running defines.sh . bdb2
Cleaning up in ./test-db...
Running ldif2ldbm to build slapd database...
Starting slapd on TCP/IP port 9009...
Testing slapd modify operations...
Waiting 5 seconds for slapd to start...
Testing modify, add, and delete...

The last thing the log shows is:

May 21 09:43:37 andromeda slapd[16026]: conn=5 op=5 ADD dn="CN=GERN JENSEN,OU=INFORMATION TECHNOLOGY DIVISION,OU=PEOPLE,O=UNIVERSITY OF MICHIGAN,C=US" 
May 21 09:43:37 andromeda slapd[16025]: conn=5 op=4 MOD elapsed=0.039376 
May 21 09:43:37 andromeda slapd[16026]: conn=5 op=5 ADD-CACHE elapsed=0.000016 
May 21 09:43:37 andromeda slapd[16026]: conn=5 op=5 ADD-ID2CHILDREN elapsed=0.000404 
May 21 09:43:37 andromeda slapd[16026]: conn=5 op=5 ADD-INDEX elapsed=0.033813 
May 21 09:43:37 andromeda slapd[16026]: conn=5 op=5 ADD-DN2ID elapsed=0.000270 
May 21 09:43:37 andromeda slapd[16026]: conn=5 op=5 ADD-ID2ENTRY elapsed=0.000408 
May 21 09:43:37 andromeda slapd[16026]: conn=5 op=5 RESULT err=0 tag=105 nentries=0 
May 21 09:43:37 andromeda slapd[16026]: conn=5 op=5 ADD elapsed=0.060928 
May 21 09:43:37 andromeda slapd[16027]: DEL dn="CN=JAMES A JONES 2,OU=INFORMATION TECHNOLOGY DIVISION,OU=PEOPLE,O=UNIVERSITY OF MICHIGAN,C=US" 
May 21 09:43:37 andromeda slapd[16027]: conn=5 op=6 RESULT err=0 tag=107 nentries=0 
May 21 09:43:37 andromeda slapd[16027]: conn=5 op=6 DEL elapsed=0.026400 

Someone familiar with this part could have a look at it?

Julio