RE: Apache 2 in 6.0 jails: Connection refused: connect to listener on0.0.0.0:80



owner-freebsd-questions@xxxxxxxxxxx wrote:

Hi,

Every now and then, Apache 2.2.2 starts filling my
httpd-error.log with thousands of lines like:

[Sat Jul 08 20:57:32 2006] [warn] (61)Connection refused:
connect to listener on 0.0.0.0:80 [Sat Jul 08 20:57:33 2006]
[warn] (61)Connection refused: connect to listener on
0.0.0.0:80 [Sat Jul 08 20:57:34 2006] [warn] (61)Connection
refused: connect to listener on 0.0.0.0:80 [Sat Jul 08
20:57:35 2006] [warn] (61)Connection refused: connect to
listener on 0.0.0.0:80 [Sat Jul 08 20:57:36 2006] [warn]
(61)Connection refused: connect to listener on 0.0.0.0:80
[Sat Jul 08 20:57:37 2006] [warn] (61)Connection refused:
connect to listener on 0.0.0.0:80 [Sat Jul 08 20:57:38 2006]
[warn] (61)Connection refused: connect to listener on
0.0.0.0:80 [Sat Jul 08 20:57:39 2006] [warn] (61)Connection
refused: connect to listener on 0.0.0.0:80 [Sat Jul 08
20:57:40 2006] [warn] (61)Connection refused: connect to listener on
0.0.0.0:80

I'm running Apache in FreeBSD 6.0 RELEASE-p2 jails.

Restarting Apache cures the problem for some time, until the
problem appears again. It is not that frequent, but the
servers are not much loaded either.

I think I saw this problem appear with Apache 2.0, 2.1, and
2.2, so it's apparently here for a while. And others had this problem
too:

http://groups.google.ch/group/lucky.freebsd.apache/browse_thre
ad/thread/7a5735ae7a3a4c2d/e2d0d9ba4ad7266e?lnk=st&q=Connectio
n+refused%3A+connect+to+listener+on+0.0.0.0%3A80&rnum=1>
&hl=de#e2d0d9ba4ad7266e

I'm pretty sure this problem must be BSD or Jails specific.
Does anyone have the same problem, or maybe a workaround?
Note that Lighttpd NEVER had this problem on this server.

One more precision: of course, when apache starts filling the log with "Connection refused: connect to listener on 0.0.0.0:80", the web server does not respond anymore, until I restart it.

---------------
Philippe Lang
Attik System

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Relevant Pages

  • FreeBSD 6 Jails - REJ apache processes? [was: Apache 2 in 6.0 jails: Connection refused: connect
    ... Sorry to insist, really, but this bug is really annoying: today, two more apache servers have frozen while being scanner by a crawler: ... I did the same for sockstat and netstat -a, each time before and after the apache restart: ... Connection refused: connect to listener on 0.0.0.0:80 [Sat Jul ...
    (freebsd-questions)
  • Apache DoS Module Patch (WAS RE: DOS ATTACK)
    ... The enclosed files modify mod_access.c (Apache ... no listener should service more than 1 or 2 requests ... npt files are some basic dynamic hash array functions and the ...
    (Incidents)
  • Re: Services listening on all ports?
    ... Apache does the same thing by default but if you add the address into the ... But IIS will connect to all addresses even if you specifically set each ... listener list. ... I thought that when you created a service to listen on a port you had ...
    (microsoft.public.windows.server.networking)
  • Re: Services listening on all ports?
    ... Apache does the same thing by default but if you add the address into the ... But IIS will connect to all addresses even if you specifically set each ... I assume what happens is that IIS will look for a listener ... I thought that when you created a service to listen on a port you had to ...
    (microsoft.public.windows.server.networking)
  • Re: Node discovery issue on 9.2.0.6. My node is not discovering correctly.
    ... Oracle comes with Apache. ... The listener has some historic entries which we can't remove. ... OEM is only present in the ... sense of the Intellegent Agent. ...
    (comp.databases.oracle.server)