trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksey Kluchnikov <al...@ximad.com>
Subject Re: ATS on Amazon EC2 instance
Date Wed, 18 Apr 2012 04:15:11 GMT
* Nguyen Hai Nam <nam.nh@nd24.net> [2012-04-18 09:01:56 +0700]:

> Hi,
> 
> I've built ATS 3.0.2 on EC2 (Amazon Linux AMI i386 EBS). But failed to
> start traffic server
> 
> # ./trafficserver start
> This script needs to be ported to this OS
> 
> Then I tried to start ./traffic_server, I got this error
> 
> [Apr 18 01:57:50.038] Server {3069680224} ERROR: Could not bind or
> listen to port 80 (error: -1)
> [Apr 18 01:57:50.038] Server {3069680224} WARNING: unable to listen on
> port 80: -1 13, Permission denied

Same error on freebsd.
fix by adding net.inet.ip.portrange.reservedhigh=79 to /etc/sysctl.conf

Becouse OS denied bind to port numbers lower 1024 for non root users.
I think ./traffic_server from root make su to www user (for freebsd) and
try to start.



> 
> I've changed ATS to listen to port 80 because I'd like to use ATS as a
> reverse proxy for my websites. I wasn't got this error on the running
> CentOS box, and hope somebody could help me to solve problem.
> 
> Thanks,
> 
> -- 
> Best regards,
> Neddy

-- 
Aleksey Kluchnikov,

Mime
View raw message