Re: graceful restart occasionally gives "could not bind" error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 27, 2010 at 4:17 PM, Jeff Trawick <trawick@xxxxxxxxx> wrote:
> On Wed, May 26, 2010 at 9:22 AM, Raphael Bauduin <rblists@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
>>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>>
>
>
>
> --
> 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@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>



-- 
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux