You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2019/10/04 13:56:59 UTC

[Bug 63803] New: Cannot assign requested address: AH00056: connect to listener on [::]:80

https://bz.apache.org/bugzilla/show_bug.cgi?id=63803

            Bug ID: 63803
           Summary: Cannot assign requested address: AH00056: connect to
                    listener on [::]:80
           Product: Apache httpd-2
           Version: 2.4.41
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mpm_worker
          Assignee: bugs@httpd.apache.org
          Reporter: h.reindl@thelounge.net
  Target Milestone: ---

httpd-2.4.41

Linux 5.3.2-300.fc30.x86_64
RestrictAddressFamilies=AF_INET AF_INET6 AF_LOCAL AF_UNIX

for years i had ipv6 completly disabled and also most services explicit bound
to 0.0.0.0 and now while preparing dual-stack for next year httpd turns out to
be problematic

---------------------------

sysctl.conf to disable ipv6 for now unchanged:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

---------------------------

Listen 80
Listen 443

[root@srv-rhsoft:~]$ netstat -l | grep httpd
tcp6       0      0 :::443                  :::*                    LISTEN     
779331/httpd
tcp6       0      0 :::80                   :::*                    LISTEN     
779331/httpd

[Fri Oct 04 15:44:17.725896 2019] [core:warn] [pid 779331] (99)Cannot assign
requested address: AH00056: connect to listener on [::]:80
[Fri Oct 04 15:44:18.726902 2019] [core:warn] [pid 779331] (99)Cannot assign
requested address: AH00056: connect to listener on [::]:80
[Fri Oct 04 15:44:19.727874 2019] [core:warn] [pid 779331] (99)Cannot assign
requested address: AH00056: connect to listener on [::]:80
[Fri Oct 04 15:44:20.728905 2019] [core:warn] [pid 779331] (99)Cannot assign
requested address: AH00056: connect to listener on [::]:80
[Fri Oct 04 15:44:21.730132 2019] [core:warn] [pid 779331] (99)Cannot assign
requested address: AH00056: connect to listener on [::]:80
[Fri Oct 04 15:44:22.730923 2019] [core:warn] [pid 779331] (99)Cannot assign
requested address: AH00056: connect to listener on [::]:80

---------------------------

Listen 0.0.0.0:80
Listen 0.0.0.0:443

[root@srv-rhsoft:~]$ netstat -l | grep httpd
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN     
788681/httpd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     
788681/httpd

everything is fine as all the years before

---------------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 63803] Cannot assign requested address: AH00056: connect to listener on [::]:80

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63803

--- Comment #3 from Joe Orton <jo...@redhat.com> ---
(In reply to Reindl Harald from comment #1)
> forgot to mention: that happens only under load

Probably you're just running out of ports then.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 63803] Cannot assign requested address: AH00056: connect to listener on [::]:80

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63803

--- Comment #1 from Reindl Harald <h....@thelounge.net> ---
forgot to mention: that happens only under load

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 63803] Cannot assign requested address: AH00056: connect to listener on [::]:80

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63803

--- Comment #2 from Joe Orton <jo...@redhat.com> ---
RestrictAddressFamilies=AF_INET AF_INET6 AF_LOCAL AF_UNIX

Remove it and try again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 63803] Cannot assign requested address: AH00056: connect to listener on [::]:80

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63803

--- Comment #4 from Reindl Harald <h....@thelounge.net> ---
it's ineed the combination of "RestrictAddressFamilies=AF_INET AF_INET6
AF_LOCAL AF_UNIX" with "Listen 80" instead of "Listen 0.0.0:80" and i don't get
why i should run out of ports just because of ":::80" versus "0 0.0.0.0:80"

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 63803] Cannot assign requested address: AH00056: connect to listener on [::]:80

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63803

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Rich Bowen <rb...@apache.org> ---
Thank you for your report. As part of an effort to clean up our issue tracker,
we are closing tickets that have seen no activity for more than 5 years. If
this issue is still relevant to a current version of Apache httpd (2.4.x or
trunk), please reopen this ticket or open a new one with updated information.
We appreciate your contribution to the project.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org