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

ldap on powerpc



First: excuse me for my english...
Second: I'm try to run an openldap on my Motorola PowerStack II (Debian
Potato, 2.2.17 kernel), and it isn't work.

I'm maked this:

tar xfpvz openldap.tar.gz
cd openldap.tar.gz
./configure
make depend
make all
make test

There are an outputs of make:

make[1]: Entering directory `/usr/src/openldap-2.0.6/tests'
ln: ./data: cannot overwrite directory
make[1]: [test-ldbm] Error 1 (ignored)
ln: ./schema: File exists
make[1]: [test-ldbm] Error 1 (ignored)
Initiating LDAP tests for LDBM...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: ldbm
>>>>> Starting test000-rootdse ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
dn:
namingContexts: o=OpenLDAP Project,l=Internet
supportedControl: 2.16.840.1.113730.3.4.2
supportedExtension: 1.3.6.1.4.1.4203.1.11.1
supportedExtension: 1.3.6.1.4.1.1466.20037
supportedLDAPVersion: 2
supportedLDAPVersion: 3
subschemaSubentry: cn=Subschema

>>>>> Test succeeded
>>>>> ./scripts/test000-rootdse completed OK.
>>>>> waiting 10 seconds for things to exit

>>>>> Starting test001-slapadd ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Running slapadd to build slapd database...

and the test wait, wait, wait forewer.


PowerStackII:~# ps fax           
  PID TTY      STAT   TIME COMMAND
[cut]
  215 pts/2    S      0:00      \_ -bash
23563 pts/2    S      0:00          \_ make test
23564 pts/2    S      0:00              \_ /bin/sh -c cd tests; make test
23565 pts/2    S      0:00                  \_ make test
23568 pts/2    S      0:00                      \_ /bin/sh -c if test "yes"
= "yes" ; then  echo "Initiating LDAP tests for LDBM..." ;  mkdir -p test-db
test-repl || true;  ./scripts/all . l
23570 pts/2    S      0:00                          \_ sh ./scripts/all .
ldbm
23591 pts/2    S      0:00                              \_ sh
./scripts/test001-slapadd . ldbm
23594 pts/2    S      0:00                                  \_
../servers/slapd/tools/slapadd -f ./data/slapd.conf -l ./data/test.ldif
[cut]

PowerStackII:~# strace -p 23594
_newselect(0, 0, 0, 0, 0x7fffe778)      = 0
_newselect(0, 0, 0, 0, 0x7fffe778)      = 0
_newselect(0, 0, 0, 0, 0x7fffe778)      = 0
_newselect(0, 0, 0, 0, 0x7fffe778)      = 0
_newselect(0, 0, 0, 0, 0x7fffe778)      = 0
_newselect(0, 0, 0, 0, 0x7fffe778)      = 0
_newselect(0, 0, 0, 0, 0x7fffe778)      = 0
_newselect(0, 0, 0, 0, 0x7fffe778)      = 0

I'm tried to use openldap-1.2.11-1.deb, and the symptomes are similar, the
ldapadd make _nwselect calls infinitially.

Last: I'm not an ldap newbie, I have more working LDAP servers, but this
error not seems to be trivial for me.

Any idea?


			Gabor HALASZ