httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphael Bauduin <rbli...@gmail.com>
Subject Re: [users@httpd] graceful restart occasionally gives "could not bind" error
Date Fri, 28 May 2010 08:58:15 GMT
On Thu, May 27, 2010 at 4:17 PM, Jeff Trawick <trawick@gmail.com> wrote:
> On Wed, May 26, 2010 at 9:22 AM, Raphael Bauduin <rblists@gmail.com> wrote:
>> Hi,
>>
>> With an apache 2.2 running on FreeBSD
>
> which level of Apache? (2.2.9 had a change in this area of processing)
> which level of FreeBSD?

Here are the versions used:

FreeBSD 6.4-RELEASE-p3
Apache/2.2.13

I had also tested by disabling ipv6, but I still had the problem occuring.

Raph


>
>>                                                    , I
occasionally get a problem
>> with a graceful restart.
>> Issuing the command apachectl graceful results in these messages in
>> the error log:
>>
>> [Wed May 26 14:45:48 2010] [notice] Graceful restart requested, doing restart
>> [Wed May 26 14:45:53 2010] [warn] module dav_module is already loaded, skipping
>> [Wed May 26 14:45:53 2010] [crit] (22)Invalid argument: make_sock: for
>> address [::]:443, apr_socket_opt_set: (IPV6_V6ONLY)
>> (48)Address already in use: make_sock: could not bind to address 0.0.0.0:443
>> no listening sockets available, shutting down
>
> hmmm...  dunno why setting that socket option is failing (the first
> [crit] message)
>
> if you don't need IPv6, change your Listen directive from "Listen 443"
> to "Listen 0.0.0.0:443" to work around the problem, whatever it is
>
>
>>
>> or this
>>
>> [Wed May 26 15:02:52 2010] [notice] Graceful restart requested, doing restart
>> [Wed May 26 15:02:57 2010] [warn] module dav_module is already loaded, skipping
>> (48)Address already in use: make_sock: could not bind to address [::]:443
>>
>>
>>
>> This error is not systematic, but it makes the command unreliable and
>> unusable in a cron task.
>>
>> Any hint as to what causes this problem?
>>
>> Thanks in advance!
>>
>> Raph
>>
>>
>>
>> --
>> Web database: http://www.myowndb.com
>> Free Software Developers Meeting: http://www.fosdem.org
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
>
> --
> Born in Roswell... married an alien...
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



-- 
Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message