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 4EE4310BEF for ; Wed, 7 Aug 2013 17:16:00 +0000 (UTC) Received: (qmail 59846 invoked by uid 500); 7 Aug 2013 17:15:59 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 59796 invoked by uid 500); 7 Aug 2013 17:15:59 -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 59788 invoked by uid 99); 7 Aug 2013 17:15:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 17:15:59 +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 h.reindl@thelounge.net designates 91.118.73.15 as permitted sender) Received: from [91.118.73.15] (HELO mail.thelounge.net) (91.118.73.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 17:15:52 +0000 Received: from srv-rhsoft.rhsoft.net (openvpn-rh.thelounge.net [10.0.0.241]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 3c9K9J20Xzz2W for ; Wed, 7 Aug 2013 19:15:32 +0200 (CEST) Message-ID: <520280B3.9020006@thelounge.net> Date: Wed, 07 Aug 2013 19:15:31 +0200 From: Reindl Harald Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 MIME-Version: 1.0 To: users@trafficserver.apache.org Subject: Re: error: the requested command failed when trying to run /usr/bin/traffic_line -x References: <340EEC52-4F29-4CA9-9EF7-A330A32B4B10@apache.org> <1484825647-1375878079-cardhu_decombobulator_blackberry.rim.net-64142373-@b18.c16.bise6.blackberry> <910281150.20130807120404@thought-mesh.net> In-Reply-To: <910281150.20130807120404@thought-mesh.net> X-Enigmail-Version: 1.5.2 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IHvhViqUuHC8BI3RMUuALcnRqPrKClLim" X-Virus-Checked: Checked by ClamAV on apache.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IHvhViqUuHC8BI3RMUuALcnRqPrKClLim Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 07.08.2013 19:04, schrieb Alan M. Carroll: > Wednesday, August 7, 2013, 7:33:13 AM, you wrote: >=20 >> So when I'm saying some progress I meant that when I typed "service tr= afficserver start" I got the prompt "* Not starting Apache Traffic Server= " >=20 > 'trafficserver' is a script, not a service description wrong, it contains the following comments which are clearly sysvinit/lsb-= headers you need to install it in the correct folder aka /etc/init.d/ ### BEGIN INIT INFO # Provides: Traffic Server # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: S 0 1 6 # Short-Description: Startup/shutdown script for the Apache Traffic Serve= r # Description: Apache Traffic Server is fast, scalable and extensib= le # HTTP/1.1 compliant caching proxy server. ### END INIT INFO # Fedora: # When this file is installed as /etc/rc.d/init.d/trafficserver # and added to the chkconfig system with `chkconfig --add trafficserver`= # then the default values of these variables can be overridden # in the /etc/sysconfig/trafficserver file # Ubuntu: # Values read from /etc/default/trafficserver > I install in '/opt/ats' and use the command >=20 > 'sudo /opt/ats/bin/trafficserver start' >=20 > to bring up Traffic Server. In your case, I think 'sudo /usr/bin/traffi= cserver start' should work on Fedora clearly "/usr/bin/traffic_cop" is started which *is* a binary resulting in 3 processes and traffic_cop is also repsonsible to restart "/usr/bin/traffic_server" which is *alo* a binary so if you have a chance to use systemd ignore the shellscript ________________________________________________ [root@proxy:~]$ cat /usr/lib/systemd/system/trafficserver.service [Unit] Description=3DApache Traffic Server After=3Dnetwork.service dnsmasq.service [Service] Type=3Dsimple ExecStart=3D/usr/bin/traffic_cop ExecReload=3D/usr/bin/traffic_line -x ________________________________________________ [root@proxsystemctl status trafficserver.service trafficserver.service - Apache Traffic Server Loaded: loaded (/usr/lib/systemd/system/trafficserver.service; enabled= ) Active: active (running) since Mo 2013-08-05 16:39:01 CEST; 2 days ago= Main PID: 19689 (traffic_cop) CGroup: name=3Dsystemd:/system/trafficserver.service =E2=94=9C=E2=94=8019689 /usr/bin/traffic_cop =E2=94=9C=E2=94=8019690 /usr/bin/traffic_manager =E2=94=94=E2=94=8019710 /usr/bin/traffic_server -M --httpport = 80:fd=3D7 --IHvhViqUuHC8BI3RMUuALcnRqPrKClLim Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlICgLQACgkQhmBjz394AnnwEACfaG5FAvctpKP+24MYF6rtkCo/ XX0An2xLx++ika0QHcfrqMgIVBJFhNob =+CwN -----END PGP SIGNATURE----- --IHvhViqUuHC8BI3RMUuALcnRqPrKClLim--