Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: lelik on February 08, 2010, 10:45:31 pm

Title: slapd: connection_read(XX): no connection!
Post by: lelik on February 08, 2010, 10:45:31 pm
I have thousands of following in my syslog:
Code: [Select]
Feb  8 08:00:04 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  8 08:00:04 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  8 08:00:11 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  8 08:00:11 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!

Please, help how to debug.
Title: Re: slapd: connection_read(XX): no connection!
Post by: lelik on February 09, 2010, 09:17:43 pm
Code: [Select]
Feb  9 10:05:10 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:05:10 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:05:10 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:05:10 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:05:10 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:06:17 <ebox_name> slapd[XXXXX]: <= bdb_equality_candidates: (AstAccountHost) not indexed
Feb  9 10:08:18 <ebox_name> slapd[XXXXX]: <= bdb_equality_candidates: (AstAccountHost) not indexed
Feb  9 10:09:01 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:09:01 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:10:01 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:10:01 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:10:01 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:10:01 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:10:01 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:10:01 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:10:06 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Feb  9 10:10:06 <ebox_name> slapd[XXXXX]: connection_read(XX): no connection!
Title: Re: slapd: connection_read(XX): no connection!
Post by: Ret on March 08, 2010, 03:53:25 pm
I've just installed ebox-platform 1.4 using their distro and I get the same messages on my syslog.
Although everything seems to be working I wonder where the problem lies.
Any help!?
Title: Re: slapd: connection_read(XX): no connection!
Post by: Ret on March 11, 2010, 02:42:38 pm
I've found this on the OpenLDAP forums.
Quote
    My slapd log is getting filled by 'no connection!' messages. Is that
    avoidable?
    slapd[23108]: connection_read(18): no connection!

Certainly, fix whatever client is disconnecting without unbinding.
The reason is that the connections are in a time_wait state because they were not closed properly.

Maybe the developers can help us with this. It seems one of ebox perl scripts are not unbinding properly.
Title: Re: slapd: connection_read(XX): no connection!
Post by: lelik on March 13, 2010, 03:06:25 am
still hunting?
Title: Re: slapd: connection_read(XX): no connection!
Post by: HavocStyles on March 15, 2010, 11:25:05 pm

I can confirm this Error:

new install everything active except the following  firewall, mail filter, traffic shaping, DHCP, Proxy....

Code: [Select]
Mar 15 07:20:01 nx-pdc slapd[XXX]: connection_read(XX): no connection!
Mar 15 07:20:01 nx-pdc slapd[XXX]: connection_read(XX): no connection!
Mar 15 07:20:01 nx-pdc slapd[XXX]: connection_read(XX): no connection!
Mar 15 07:20:02 nx-pdc last message repeated 5 times

I'll poke around a bit on the Internet and see what I turn up if I have time, I will throw a bug report in later today or tomorrow.
Title: Re: slapd: connection_read(XX): no connection!
Post by: javi on March 16, 2010, 12:23:04 am
The connection_read thing is debug info from slapd. It's harmless unless your logrotate is not working. We'll try to get rid of it in due course.

Although It'd be great If anyone of you come  up with fix before :)

Thanks!
Title: Re: slapd: connection_read(XX): no connection!
Post by: lelik on July 30, 2010, 07:13:15 pm
Looks like an open bug:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/594840 (https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/594840)
Title: Re: slapd: connection_read(XX): no connection!
Post by: ftahir on November 05, 2010, 10:10:36 am
when this bug will be resolved?  ??? ??? ??? >:(