Hello,  that file you are trying to execute is the binary itself, so on
that one you can just execute it, if that folder is not in your path(which
seems to), just  add ./ at the beginning of binary => ./traffic_server and
try again. The other one(trafficserver, a script) you can
add  {start|stop|status|restart|condrestart} and play with it.

Regards,
Damian.

On Thu, May 27, 2021 at 6:06 AM Trilok Nathreddy <[email protected]> wrote:

> Alan,
>
> Actually I get the below error where am unable to execute the commands to
> start/stop/restart
>
> On Wed, May 26, 2021, 8:53 PM Alan Carroll <
> [email protected]> wrote:
>
>> I'm not sure what you mean. There are scripts in the "bin" directory of
>> the installation that start and stop the processes.  E.g.
>> "bin/trafficserver start" will start ATS and "bin/trafficserver stop" will
>> stop it. The primary process to start/top is "bin/traffic_manager". This
>> will spawn the "traffic_server" process which does the actual proxying.
>> Unfortunately I do not do much production engineering and am not very
>> familiar with how to run it in production (I run it using "gdb
>> traffic_server" but that's probably not a good idea for normal use). You
>> might trying pinging some of the production engineers on the slack channel.
>>
>> On Wed, May 26, 2021 at 7:28 AM Trilok Nathreddy <[email protected]>
>> wrote:
>>
>>> Alan,
>>>
>>> Many thanks that fixed the issue , I have deployed now the Ats 10
>>> version on RHEL instance , just curious under which directory we need to
>>> start/stop/restart the services for traffic server? I look under
>>> /opt/ts/etc/trafficserver but couldn't find them
>>>
>>>
>>>
>>> On Tue, May 25, 2021, 7:01 PM Alan Carroll <
>>> [email protected]> wrote:
>>>
>>>> This means there is no C++ compiler installed. Please see the list of
>>>> required packages at
>>>> https://docs.trafficserver.apache.org/en/9.0.x/getting-started/index.en.html#installing-from-source-code
>>>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.trafficserver.apache.org_en_9.0.x_getting-2Dstarted_index.en.html-23installing-2Dfrom-2Dsource-2Dcode&d=DwMFaQ&c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=5nE_8e-Jc1t5vF6GVeub9BCN4FzSc_6kU7_mjSiUrDs&m=emVKWfndKNX0rI-rlRb8nNn3c_2Ue-XDFCiuX2Qlxh0&s=2Wv7MMxufooLE8AEbTFh3MpoeB0WPzPNia6mZombFXg&e=>
>>>>
>>>>
>>>>

Reply via email to