Welcome! Log In Create A New Profile

Advanced

Re: startup error -> "[emerg] duplicate listen options" if 2nd IPv6 listener is enabled

Oleksandr V. Typlyns'kyi
July 03, 2012 02:04PM
Today Jul 3, 2012 at 13:39 pgn wrote:

> But, if for site 2) I enable the IPv6 listener,
>
> - # listen [2001:xxx:xxxx:xxx::1]:443 ipv6only=on;
> + listen [2001:xxx:xxxx:xxx::1]:443 ipv6only=on;
>
>
> Now, @ nginx start,
>
> service nginx start
> Starting nginx nginx: [emerg] duplicate listen options for
> [2001:xxx:xxxx:xxx::1]:443 in
> /usr/local/etc/nginx/sites-enabled/test2.loc.conf:21
> startproc: exit status of parent of /usr/local/sbin/nginx: 1
>
> failed
> Is this a bug, feature or config problem?

http://nginx.org/en/docs/http/ngx_http_core_module.html#listen
A listen directive can have several additional parameters specific to
system calls listen() and bind(). They can be specified in any listen
directive, but only once for the given address:port pair.

--
WNGS-RIPE

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

startup error -> "[emerg] duplicate listen options" if 2nd IPv6 listener is enabled

pgn July 03, 2012 01:39PM

Re: startup error -> "[emerg] duplicate listen options" if 2nd IPv6 listener is enabled

Oleksandr V. Typlyns'kyi July 03, 2012 02:04PM

Re: startup error -> "[emerg] duplicate listen options" if 2nd IPv6 listener is enabled

pgn July 03, 2012 02:12PM

Re: startup error -> "[emerg] duplicate listen options" if 2nd IPv6 listener is enabled

Oleksandr V. Typlyns'kyi July 03, 2012 02:36PM

Re: startup error -> "[emerg] duplicate listen options" if 2nd IPv6 listener is enabled

pgn July 03, 2012 03:04PM

Re: startup error -> "[emerg] duplicate listen options" if 2nd IPv6 listener is enabled

Oleksandr V. Typlyns'kyi July 03, 2012 03:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready