Dear all,
Thank you very much for your help.
Any idea what Dovecot version? rhel4 had 1.0.rc15 I think? I know there were some LDAP bugs in it, but I don't really remember anymore. Did Dovecot really try to access the server2, or was it simply unable to reconnect to the LDAP server at all? If the latter, it's probably just rc15 bug.
Since the customer has been using RHEL4.3, Dovecot version should be something in between dovecot-0.99.11-2.EL4.1 and 0.99.11-9.EL4. These are all for RHEL4. I'm sorry that I have not been provided the version.
Yes, after server1 being unable to respond, Dovecotwas accessing to the server2. In addition, although, the server1 was re-starting ldap service which means that server1 should have been available to respond, Dovecot was still accessing to the server2. Shouldn't Dovecot reconnection to the server1 as its service become available?
All I would like to know right now are that is as follows.
- About the specification of dovecot for reconnection
In case Dovecot switch to server2 due to server1 gets some problems such as service down, does the server2 never reconnect to the server1 even the server1 become available to respond again? Even if so, is it sure that if the server2 is down, then does Dovecot normally try to connect to the server1?
- Configuration by 'hosts' and 'uris' parameter in dovecot-ldap.conf
Is there any differences for the way to reconnectionÅ› behavior between those parameter? I believe that both parameter can specify sevral ldap server, then I would like to know whether each parameter does the action for reconnection in the same way.
Thanks,
Masaharu Kawada
Timo Sirainen wrote:
On Tue, 2009-01-20 at 13:53 +0900, Masaharu Kawada wrote:
-2008/11/16 The customer updated openldap package openldap-2.2.13-6.4E ⇒ openldap-2.2.13-12.el4
..
For this reason, the customer wants to know why dovecot accessed only server2 since ldap package was updated on 2008/11/16 and also wants to know why replication had been failed after updating the package.
Any idea what Dovecot version? rhel4 had 1.0.rc15 I think? I know there were some LDAP bugs in it, but I don't really remember anymore. Did Dovecot really try to access the server2, or was it simply unable to reconnect to the LDAP server at all? If the latter, it's probably just rc15 bug.
As you said, if both ldap servers are used ramdomly,
That was only a guess. If the problem was with reconnection, it is (was) a Dovecot bug. If the problem is something else, it's because of OpenLDAP library which I don't really know much about.
--
Masaharu Kawada Associate Global Support Engineer Red Hat K K Ebisu Neonato 8F 1-18 Ebisu 4-chome, Shibuya-ku Tokyo 150-0013, Japan Direct: +81-3-5798-8482