[Pdns-users] LDAP backend problem
Asaf Shakarchi
asaf at raytech.co.il
Mon Jan 16 23:48:59 UTC 2006
Hey,
Thanks for answering,
Well, I guess it's not the problem, first of all, I always use names, but
it's not names that are resolved by DNS server, they are all resolved by the
host file, I also tried to put an IP, even the localhost itself,
I still get errors such:
Jan 17 01:40:32 [pdns] Query: 'bla.domain.co.il|ANY'
Jan 17 01:40:32 [pdns] [LdapBackend] Search failed: Error waiting for LDAP
result: Can't contact LDAP server
Jan 17 01:40:32 [pdns] Backend error: LDAP server unreachable
Jan 17 01:40:32 [pdns] [LdapBackend] Ldap connection closed
Jan 17 01:40:34 [pdns] Query: 'bla.domain.co.il|ANY'
Jan 17 01:40:34 [pdns] [LdapBackend] Search failed: Error waiting for LDAP
result: Can't contact LDAP server
Jan 17 01:40:34 [pdns] Backend error: LDAP server unreachable
Jan 17 01:40:34 [pdns] [LdapBackend] Ldap connection closed
It happens maybe 1 time per 10 queries, approximately,
Any other ideas guys?
Thanks
-----Original Message-----
From: pdns-users-bounces at mailman.powerdns.com
[mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of Norbert
Sendetzky
Sent: Monday, January 16, 2006 10:17 PM
To: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] LDAP backend problem
On Monday 16 January 2006 16:41, Asaf Shakarchi wrote:
> Things seems to work while sometimes I see errors such:
>
> Jan 10 22:57:36 [pdns] Query: 'www.domain.co.il|ANY'
> Jan 10 22:57:36 [pdns] [LdapBackend] Search failed: Error waiting for LDAP
> result: Can't contact LDAP server
> Jan 10 22:57:36 [pdns] Backend error: LDAP server unreachable
> Jan 10 22:57:36 [pdns] [LdapBackend] Ldap connection closed>
> Jan 10 22:57:36 [pdns] Distributor misses a thread (6<5), spawning new one
> Jan 10 22:57:36 [pdns] [LdapBackend] LDAP servers = p2ldap:390
It isn't a good idea to use a name instead of an IP address for connecting
to
the ldap server - this may produce timeouts which might be your problem. Try
to use the IP (127.0.0.1 if OpenLDAP also listens on localhost).
Norbert
--
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 1/14/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 1/14/2006
More information about the Pdns-users
mailing list