You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Igor Cicimov <ic...@gmail.com> on 2010/05/27 05:36:28 UTC
Re: [users@httpd] graceful restart occasionally gives "could not
bind" error
Loading the dav module twice in your config?
On Wed, May 26, 2010 at 11:22 PM, Raphael Bauduin <rb...@gmail.com> wrote:
> Hi,
>
> With an apache 2.2 running on FreeBSD, 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
>
> 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
>
>
Re: [users@httpd] graceful restart occasionally gives "could not
bind" error
Posted by Raphael Bauduin <rb...@gmail.com>.
On Thu, May 27, 2010 at 5:36 AM, Igor Cicimov <ic...@gmail.com> wrote:
> Loading the dav module twice in your config?
I can confirm the problem is not caused by the webdav module. I have
disabled it (it wasn't used) and just got the same problem. Here's the
log:
[Thu May 27 15:30:30 2010] [notice] Graceful restart requested, doing restart
[Thu May 27 15:30:35 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
Unable to open logs
Any suggestion welcome!
Thx
Raph
>
>
> On Wed, May 26, 2010 at 11:22 PM, Raphael Bauduin <rb...@gmail.com> wrote:
>>
>> Hi,
>>
>> With an apache 2.2 running on FreeBSD, 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
>>
>> 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
>>
>
>
--
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