Project

General

Profile

Bug #174

LDAP is unavailable regulary

Added by Marc Dequènes about 9 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
High
Category:
Service :: Database
Start date:
2010-10-30
Due date:
% Done:

10%

Estimated time:
Patch Available:
No
Confirmed:
No
Branch:
Entity:
DuckCorp
Security:
No
Help Needed:

Description

Around 03:20, probably everyday, services complains it cannot be contacted.

History

#1

Updated by Marc Dequènes about 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Marc Dequènes

Investigating. Found this on Orfeo:

Oct 30 03:18:32 Orfeo postfix/trivial-rewrite[26740]: fatal: ldap:/etc/postfix/ldap_virtual_domains.cf(0,lock|fold_fix): table lookup problem

and on Toushirou (Elwing logs have been ignored, due to ADSL disconnections; also see #173):
Oct 27 04:33:13 Toushirou slapd[20484]: do_syncrep2: rid=002 (-1) Can't contact LDAP server
Oct 27 04:33:13 Toushirou slapd[20484]: do_syncrepl: rid=002 rc -1 retrying (2 retries left)

If the syncrep problems may have been caused by connectivity problems (#148), the postfix one is a real one to fix.

#2

Updated by Marc Dequènes about 9 years ago

Checked crontabs, but found no problem. srv_backup_databases is not stopping the LDAP server, and srv_dspam_daily_maintenance does not touch services anymore.

Oct 29 03:03:51 Orfeo postfix/trivial-rewrite[17858]: warning: dict_ldap_connect: Unable to bind to server ldap://localhost as cn=srv-mail,ou=GlobalSpecialAccounts,dc=milkypond,dc=org: -5 (Timed out)
[...]
Oct 29 03:04:07 Orfeo slapd[28621]: connection_input: conn=11030 deferring operation: binding
Oct 29 03:04:07 Orfeo slapd[28621]: connection_input: conn=11029 deferring operation: binding
#3

Updated by Marc Dequènes about 9 years ago

  • % Done changed from 0 to 10

The timing also match the backup, to i moved 2 crontab entries out of the time range in order to disculp them and perhaps improve the situation. I can't find a way to nice or limit CPU on the bacula fd.

#4

Updated by Marc Dequènes about 9 years ago

Still happening:

Nov  2 02:18:05 Orfeo postfix/trivial-rewrite[29390]: warning: dict_ldap_lookup: Search error -5: Timed out 
Nov  2 02:18:15 Orfeo postfix/trivial-rewrite[29403]: warning: dict_ldap_connect: Unable to bind to server ldap://localhost as cn=srv-mail,ou=GlobalSpecialAccounts,dc=milkypond,dc=org: -5 (Timed out)
Nov  2 02:18:25 Orfeo postfix/trivial-rewrite[29403]: warning: dict_ldap_connect: Unable to bind to server ldap://localhost as cn=srv-mail,ou=GlobalSpecialAccounts,dc=milkypond,dc=org: -5 (Timed out)
Nov  2 02:19:49 Orfeo postfix/trivial-rewrite[29403]: warning: dict_ldap_lookup: Search error -5: Timed out 
Nov  2 02:25:12 Orfeo postfix/trivial-rewrite[29880]: warning: dict_ldap_lookup: Search error -5: Timed out 
Nov  2 03:53:57 Orfeo postfix/trivial-rewrite[3190]: warning: dict_ldap_lookup: Search error -5: Timed out 
Nov  2 03:53:58 Orfeo postfix/trivial-rewrite[3280]: warning: dict_ldap_connect: Unable to bind to server ldap://localhost as cn=srv-mail,ou=GlobalSpecialAccounts,dc=milkypond,dc=org: -5 (Timed out)

#5

Updated by Marc Dequènes over 4 years ago

  • Assignee changed from Marc Dequènes to Pierre-Louis Bonicoli
#6

Updated by Marc Dequènes over 2 years ago

  • Status changed from In Progress to Rejected

I can't see any such problem now, so I guess it was fixed during upgrades. Reopen if needs be.

Also available in: Atom PDF