Mailing List Archive

Problem starting server after php5-cgi activation
Hi, this seemed to happen after I activated php5-cgi, but maybe it has
nothing to do with that

Anyway, I noticed that the server was not running in the admin panel. WHen I
tried to start the server I got this...

/Could not bind() port=80 (UID=0, GID=0)
Most probably there is another web server listening to the same port.
You will have to shut it down before launching Cherokee. It could also
be a permissions issue as well. Remember that non-root user cannot
listen to ports < 1024.
/

It seems something I suspect as php5-cgi is using :80...
root@(none):/home/asdf# netstat -napt|grep 80
tcp 0 0 192.168.10.103:51358 173.194.32.46:80
ESTABLISHED 1810/chrome
tcp 0 0 192.168.10.103:53442 173.194.32.41:80
ESTABLISHED 1810/chrome
tcp 0 0 192.168.10.103:42633 209.85.137.113:80
ESTABLISHED 1810/chrome
tcp6 0 0 :::80 :::*
LISTEN 1241/apache2

So I disabled :80 forwarding on my router, and tried :123. Updated cherokee
to listen to :123 and the start/stop problem disappeared, but now php had
stopped working (as expected I guess). So then I forwarded both :80 and :123
and added :80 to the cherokee ports list, but now the original problem/error
is back (Could not bind() port=80 (UID=0, GID=0)
).

Ok, so I'm a little new to the networking/server side of things. Could
someone explain what is happening here?
Thanks.

--
View this message in context: http://cherokee-web-server-general.1049476.n5.nabble.com/Problem-starting-server-after-php5-cgi-activation-tp5159960p5159960.html
Sent from the Cherokee Web Server - General mailing list archive at Nabble.com.
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Re: Problem starting server after php5-cgi activation [ In reply to ]
Hi,

it seems that there is an instance of apache running on your machine that
binds to port 80.

You could try to either stop it or bind it to another port.

Greets, David

2012/1/20 horsebones <leon.san.email@gmail.com>

> Hi, this seemed to happen after I activated php5-cgi, but maybe it has
> nothing to do with that
>
> Anyway, I noticed that the server was not running in the admin panel. WHen
> I
> tried to start the server I got this...
>
> /Could not bind() port=80 (UID=0, GID=0)
> Most probably there is another web server listening to the same port.
> You will have to shut it down before launching Cherokee. It could also
> be a permissions issue as well. Remember that non-root user cannot
> listen to ports < 1024.
> /
>
> It seems something I suspect as php5-cgi is using :80...
> root@(none):/home/asdf# netstat -napt|grep 80
> tcp 0 0 192.168.10.103:51358 173.194.32.46:80
> ESTABLISHED 1810/chrome
> tcp 0 0 192.168.10.103:53442 173.194.32.41:80
> ESTABLISHED 1810/chrome
> tcp 0 0 192.168.10.103:42633 209.85.137.113:80
> ESTABLISHED 1810/chrome
> tcp6 0 0 :::80 :::*
> LISTEN 1241/apache2
>
> So I disabled :80 forwarding on my router, and tried :123. Updated cherokee
> to listen to :123 and the start/stop problem disappeared, but now php had
> stopped working (as expected I guess). So then I forwarded both :80 and
> :123
> and added :80 to the cherokee ports list, but now the original
> problem/error
> is back (Could not bind() port=80 (UID=0, GID=0)
> ).
>
> Ok, so I'm a little new to the networking/server side of things. Could
> someone explain what is happening here?
> Thanks.
>
> --
> View this message in context:
> http://cherokee-web-server-general.1049476.n5.nabble.com/Problem-starting-server-after-php5-cgi-activation-tp5159960p5159960.html
> Sent from the Cherokee Web Server - General mailing list archive at
> Nabble.com.
> _______________________________________________
> Cherokee mailing list
> Cherokee@lists.octality.com
> http://lists.octality.com/listinfo/cherokee
>



--
mail: dazer@bluenode.de
web: bluenode.de