Return-Path: X-Original-To: apmail-trafficserver-users-archive@www.apache.org Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49950980A for ; Wed, 18 Apr 2012 04:15:51 +0000 (UTC) Received: (qmail 8736 invoked by uid 500); 18 Apr 2012 04:15:51 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 8634 invoked by uid 500); 18 Apr 2012 04:15:50 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 8609 invoked by uid 99); 18 Apr 2012 04:15:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 04:15:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [176.9.44.85] (HELO castle.ximad.com) (176.9.44.85) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 04:15:41 +0000 Received: from castle.ximad.com (localhost [127.0.0.1]) by castle.ximad.com (Postfix) with ESMTP id 5FFE75D42 for ; Wed, 18 Apr 2012 04:15:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on castle.ximad.com X-Spam-Level: Received: from castle.ximad.com (localhost [127.0.0.1]) by castle.ximad.com (Postfix) with ESMTP id 437465D25 for ; Wed, 18 Apr 2012 04:15:16 +0000 (UTC) Received: from mail.ximad.com (ip153.125.dars-ip.ru [79.132.125.153]) by castle.ximad.com (Postfix) with ESMTPSA id A6ABC5D01 for ; Wed, 18 Apr 2012 04:15:15 +0000 (UTC) Date: Wed, 18 Apr 2012 08:15:11 +0400 From: Aleksey Kluchnikov To: users@trafficserver.apache.org Subject: Re: ATS on Amazon EC2 instance Message-ID: <20120418041511.GA12186@mail.ximad.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: ClamAV using ClamSMTP X-Old-Spam-Status: No, score=-102.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.3.2 * Nguyen Hai Nam [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,