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

slapd no response



Hello --
   
  Our openldap 2.2.24 running on Solaris 9 x86  suddently stopped functioning this morning:( . 
   
   It can still be started up but doesn't give any response to queries:
   
  # ps -ef |grep slapd
        root   648     1  0 11:18:33 ?        0:00 /usr/local/libexec/slapd -h ldap:/// ldaps:///

  # ldapsearch -x "uid=guest,ou=people,dc=example,dc=com" -wsecret "uid=tech"
ldap_bind: Can't contact LDAP server (-1)
   
  Only kill -9 can stop the process. kill -INT or kill -TERM doesn't work.
   
  I couldn't find something useful in the log file:
   
  Apr 11 10:22:25 ldapserver slapd[521]: [ID 702911 local4.debug] @(#) $OpenLDAP:
slapd 2.2.24 (Apr  7 2005 11:35:37) $
Apr 11 10:22:25 ldapserver      root@ldapserver:/usr/local/source/openldap-2.2.2
4/servers/slapd
Apr 11 10:22:26 ldapserver slapd[521]: [ID 178880 local4.debug] bdb_db_init: Ini
tializing BDB database
Apr 11 10:52:57 ldapserver slapd[579]: [ID 702911 local4.debug] @(#) $OpenLDAP:
slapd 2.2.24 (Apr  7 2005 11:35:37) $
Apr 11 10:52:57 ldapserver      root@ldapserver:/usr/local/source/openldap-2.2.2
4/servers/slapd
Apr 11 10:52:57 ldapserver slapd[579]: [ID 178880 local4.debug] bdb_db_init: Ini
tializing BDB database
Apr 11 11:14:05 ldapserver slapd[631]: [ID 702911 local4.debug] @(#) $OpenLDAP:
slapd 2.2.24 (Apr  7 2005 11:35:37) $
Apr 11 11:14:05 ldapserver      root@ldapserver:/usr/local/source/openldap-2.2.2
4/servers/slapd
Apr 11 11:14:05 ldapserver slapd[631]: [ID 178880 local4.debug] bdb_db_init: Ini
tializing BDB database
Apr 11 11:18:32 ldapserver slapd[647]: [ID 702911 local4.debug] @(#) $OpenLDAP:
slapd 2.2.24 (Apr  7 2005 11:35:37) $
Apr 11 11:18:32 ldapserver      root@ldapserver:/usr/local/source/openldap-2.2.2
4/servers/slapd

   
  On the same machine, I tried to recompile the same package and ran "make test", but had the following errors:
   
  bash-3.00# make test
cd tests; make test
make[1]: Entering directory `/usr/local/source/test/openldap-2.2.24/tests'
make[2]: Entering directory `/usr/local/source/test/openldap-2.2.24/tests'
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...
Using ldapsearch to retrieve the root DSE...
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 (-1)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/usr/local/source/test/openldap-2.2.24/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/usr/local/source/test/openldap-2.2.24/tests'
make: *** [test] Error 2

  Any suggestion about how to diagnose this issue will be highly appreciated.
   
  Thanks,
   
  --Lingtao
   

		
---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.