From users-return-2502-apmail-trafficserver-users-archive=trafficserver.apache.org@trafficserver.apache.org Thu Feb 14 09:48:24 2013 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 4665BD4A1 for ; Thu, 14 Feb 2013 09:48:24 +0000 (UTC) Received: (qmail 86306 invoked by uid 500); 14 Feb 2013 09:48:24 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 85320 invoked by uid 500); 14 Feb 2013 09:48:19 -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 84967 invoked by uid 99); 14 Feb 2013 09:48:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 09:48:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tedmasterweb@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-we0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 09:48:11 +0000 Received: by mail-we0-f176.google.com with SMTP id s43so1716701wey.21 for ; Thu, 14 Feb 2013 01:47:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=PTqCUAeAcTJPzPsxZlyHP3OjBtEUC94vwcZ+1eAje5A=; b=M96lcDSPHXAI2ykqFfW0AJcGqgGGKVfROieZ+V+lod/t7uA9z/vfyQjqeH9Xaqn4/g YB8iGMLeIKDrDpVPoJG/F2INSi9d0GMUcrAeXcFvfdm7RfTka0r1j3u9k3bdaGhyiYqj BNwt/sw7UzfVqUEQJB+p0sr6/ed3YmnPb1yaWR4p0Z3JNclClZXmI+zUDL5v4IMbY6xG EtipV8Zn6HqP+au5rQcJC1o3gkcuuAjc2aPD21IJMC2lOb74J3qivDrEw1hIv6fQpuRs hMGFBBPeSKQdmvsHav/u9dYQe+2V/rrpAYCnIfsV8iZsu9J+gEOQsgZJZaA+/BS9BS7g HNIw== X-Received: by 10.180.79.37 with SMTP id g5mr7523654wix.24.1360835270930; Thu, 14 Feb 2013 01:47:50 -0800 (PST) Received: from yellow1.aslp.org ([149.126.45.151]) by mx.google.com with ESMTPS id ex1sm51084134wib.7.2013.02.14.01.47.46 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Feb 2013 01:47:50 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1085) Subject: Re: How to Start Trafficserver on Init (Ubuntu Precise 12.04) From: "G. T. Stresen-Reuter" In-Reply-To: Date: Thu, 14 Feb 2013 09:47:37 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <6CE4503D-7C19-45F1-AB2B-BA7A65C065AC@gmail.com> References: To: users@trafficserver.apache.org X-Mailer: Apple Mail (2.1085) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 12, 2013, at 3:02 PM, Williamson, Brad wrote: > I've had this script kicking around for a while. I'm sure the purists = will have other ways of doing things, but this works for me and added = SNMP abilities to ATS that were not otherwise available. I've posted it = here: http://www.8layer8.com/?p=3D997 > Feel free to use and modify for your use. > Brad Thanks a lot for the ideas. Nice script! When I know more about this = product I'm sure I'll appreciate it even more... I reviewed the script and see right off the bat that there are some = inconsistencies among platforms and/or versions. For example, in your = script you use the trafficserver command (located in /usr/local/bin) to = control the server. On my installation (Ubuntu precise 12.04) that = command doesn't exist (probably because I installed it from a package). = Rather, there are a series of commands in /urs/bin starting with = traffic_* Somewhere else on the interwebs I saw someone say you should use = traffic_manager to control the server, but there is no man page = associated with the program. If I run "sudo traffic_manager start" = everything seems to run properly but "sudo traffic_manager start &" or = "sudo nohup traffic_manager start" a really weird thing happens.... the = process continues to run but the command returns either 1 or 2 (can't = remember) with a message saying it quit, and although ps ax shows the = service running, users seem unable to connect (but I could be wrong = about that... haven't tested thoroughly enough because I saw the error). I've also tried using traffic_line as documented here: = http://trafficserver.apache.org/docs/trunk/admin/traffic-line-commands/ind= ex.en.html but no love here either. The result of the command "sudo traffic_line = -L" (which the documentation would lead me to believe is to start up the = service) is "error: the requested command failed" So, any additional pointers would be greatly appreciated! Sincerely, Ted Stresen-Reuter=