[Kolab-devel] Can't contact LDAP server - SOLVED

gelpi@corona.it corona at gelpi.it
Thu Jun 8 23:19:37 CEST 2006


Fabio Pietrosanti wrote:

>vincent at acheson.uk.com wrote:
>  
>
>>vmptarmigan:/ # /kolab/bin/db_recover -v -h
>>/kolab/var/openldap/openldap-data
>>db_recover: Program version 4.3 doesn't match environment version
>>    
>>
Add -e switch to solve the above line.

>>Finding last valid log LSN: file: 1 offset 448072
>>Recovery starting from [1][447454]
>>Recovery complete at Thu Jun  8 16:49:36 2006
>>Maximum transaction ID 80000009 Recovery checkpoint [1][448594]
>>  
>>    
>>
>
>In my own opinion db_recovery should be run between each openldap
>startup in order to do a consistency check and repair corrupted openldap db.
>
>  
>
To solve problems with LDAP at boot time I inserted this two line before 
kolab start in may /etc/init.d

cd /kolab/var/openldap/openldap-data
/kolab/bin/db_recover -e

Without this two line OpenLdap start one time yes and one time no at 
boot time. The reason is a mismatch in environment version.

Howwver this doesn't sove the problem of lot of messages in 
/kolab/var/sasl/log/saslauthd.log

<error> saslauthd[1754]: user ldap_search_st() failed: Can't contact LDAP server
 <info> saslauthd[1754]: Retrying authentication
 <error> saslauthd[1765]: user ldap_search_st() failed: Can't contact LDAP server
 <info> saslauthd[1765]: Retrying authentication
 <debug> saslauthd[1754]: ldap_simple_bind() failed -1 (Can't contact LDAP server).
 <info> saslauthd[1754]: Retrying authentication
 <debug> saslauthd[1765]: ldap_simple_bind() failed -1 (Can't contact LDAP server).
 <info> saslauthd[1765]: Retrying authentication
 <debug> saslauthd[1754]: ldap_simple_bind() failed -1 (Can't contact LDAP server).
 <info> saslauthd[1754]: Retrying authentication
 <debug> saslauthd[1765]: ldap_simple_bind() failed -1 (Can't contact LDAP server).
 <info> saslauthd[1765]: Retrying authentication
 <debug> saslauthd[1765]: ldap_simple_bind() failed -1 (Can't contact LDAP server).
 <info> saslauthd[1765]: Retrying authentication
 <debug> saslauthd[1754]: ldap_simple_bind() failed -1 (Can't contact LDAP server).
 <info> saslauthd[1754]: Retrying authentication
 <debug> saslauthd[1765]: ldap_simple_bind() failed -1 (Can't contact LDAP server).
 <info> saslauthd[1765]: Retrying authentication



-- 
>Gelpi ing. Andrea
>--------------------------------------------------------------
>It took the computing power of three C-64s to fly to the Moon.
>It takes a 486 to run Windows 95. Something is wrong here.
>--------------------------------------------------------------
 





More information about the devel mailing list