On Wed, 27 Aug 2014 09:06:04 -0400 "Brent S. Elmer Ph.D."
<webe...@aim.com> wrote:
On Wed, 2014-08-27 at 13:26 +0300, Christos Trochalakis wrote:
> Hello,
>
> nginx seems to install correctly for me. Based on your logs, it
> seems
> that another process has already binded port 80 when you are trying
> to
> install nginx.
>
> nginx-full postinst script can't start nginx since the port is
> binded
> and fails. This is expected behaviour.
>
> Could check that nobody has binded :80 with `netcat -ntpl` and try
> to
> install nginx again?
>
>
>
I am not familiar with netcat but here is what I get:

# netcat -ntpl
usage: nc [-46bCDdhjklnrStUuvZz] [-I length] [-i interval] [-O length]
        [-P proxy_username] [-p source_port] [-q seconds] [-s source]
        [-T toskeyword] [-V rtable] [-w timeout] [-X proxy_protocol]
        [-x proxy_address[:port]] [destination] [port]


Sorry for that, I meant:

$ netstat -ntpl|grep :80 (as root)

Also make sure that nginx is purged before installing it:

$ apt-get purge nginx nginx-common nginx-full


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to