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

make test: test000-rootdse fails with "host access denied"



I am trying to install openldap-2.0.19 on a Sparc running Solaris 8, but
the "make test" stage fails:


  themis2:~/openldap-2.0.19: make test
  cd tests; make test
  make[1]: Entering directory `/export/home/framstag/openldap-2.0.19/tests'
  ln: cannot create ./data: File exists
  make[1]: [test-ldbm] Error 2 (ignored)
  ln: cannot create ./schema: File exists
  make[1]: [test-ldbm] Error 2 (ignored)
  if test "yes" = "yes" ; then \
          echo "Initiating LDAP tests for LDBM..." ; \
          mkdir -p test-db test-repl || true; \
          ./scripts/all . ldbm ; \
  else \
          echo "run configure with --enable-ldbm" ; \
  fi
  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...
  Waiting 5 seconds for slapd to start...
  Waiting 5 seconds for slapd to start...
  Waiting 5 seconds for slapd to start...
  Waiting 5 seconds for slapd to start...
  Waiting 5 seconds for slapd to start...
  ldap_bind: Can't contact LDAP server
  >>>>> Test failed
  >>>>> ./scripts/test000-rootdse failed (exit 1)
  make[1]: *** [test-ldbm] Error 1
  make[1]: Leaving directory `/export/home/framstag/openldap-2.0.19/tests'
  make: *** [test] Error 2


While the test was running (Waiting...) I looked for the server-process
and found:

  themis2:~: lsof -i :9009
  COMMAND  PID     USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME
  slapd   2637 framstag    9u  IPv6 0x719a2b9c      0t0  TCP localhost:9009 (LISTEN)
  
  themis2:~: psg slapd
      USER   PID  PPID %CPU  VSZ COMMAND
  framstag  2637  2634  0.2 4920 ../servers/slapd/slapd -f ./data/slapd-schema.conf -h ldap://localhost:9009/ -d
  
  
In tests/test-db/master.log I found:
  
  @(#) $OpenLDAP: slapd 2.0.19-Release (Tue Jan 15 18:43:41 MET 2002) $
          framstag@themis2:/export/home/framstag/openldap-2.0.19/servers/slapd
  daemon_init: ldap://localhost:9009/
  daemon_init: listen on ldap://localhost:9009/
  daemon_init: 1 listeners to open...
  ldap_url_parse_ext(ldap://localhost:9009/)
  daemon: initialized ldap://localhost:9009/
  daemon_init: 1 listeners opened
  slapd init: initiated server.
  slap_sasl_init: initialized!
  slapd startup: initiated.
  slapd starting
  fd=10 host access from unknown () denied.
  fd=10 host access from unknown () denied.
  fd=10 host access from unknown () denied.
  fd=10 host access from unknown () denied.
  fd=10 host access from unknown () denied.
  slap_sig_shutdown: signal 1
  daemon: shutdown requested and initiated.
  slapd shutdown: waiting for 0 threads to terminate
  slapd shutdown: initiated
  ldbm backend syncing
  ldbm backend done syncing
  ====> cache_release_all
  slapd shutdown: freeing system resources.
  slapd stopped.


The problem is probably the "host access from unknown () denied".
I have not set up any ACLs or other restrictions. Why does the test fail?

-- 
-- Ullrich Horlacher, BelWue Coordination ------- mailto:framstag@belwue.de --
   Computing Centre University of Stuttgart (RUS)  phone: +49 711 685 5868
   Allmandring 30, D-70550 Stuttgart, Germany        fax: +49 711 678 8363
-- saft://saft.belwue.de/framstag ----------------- http://www.belwue.de/ ----