Thanks for the help I tried to run traffic_server program also ad it gives the same result
>>>> export TS_ROOT=/tandberg/apns/; /trafficserver/bin/traffic_server traffic_server: using root directory '/tandberg/apns' WARNING: Can't acquire lockfile '/tandberg/trafficserver/var/trafficserver/server.lock' (Lock file held by process ID 26997) <<<< Nowhere in my configuration files under /tandberg/apns /tandberg/trafficserver is mentioned. But original configuration location set during compilation is /tandberg/trafficserver . Regards ~S On 17 January 2017 at 01:46, Jack Bates <[email protected]> wrote: > Sorry, I don't have a good answer: > I just ran the following and it worked for me: > > $ TS_ROOT=~/Desktop/TS_ROOT cmd/traffic_manager/traffic_manager > > Can you maybe try running the following? > I hope it will narrow down the problem. > > # TS_ROOT=/tandberg/apns /trafficserver/bin/traffic_server > > Is /tandberg/trafficserver mentioned anywhere in your config? > > > On 16/01/17 09:28 AM, salil GK wrote: > >> Hi, >> >> I am trying to run ATS by exporting TS_ROOT variable to a different >> location. I am running ATS using trffic_manager binary. >> >> but while runnig the following is what I am getting on console.. >> >> >>>> >> ~ # /trafficserver/bin/traffic_manager >> >> [E. Mgmt] log ==> [TrafficManager] using root directory '/tandberg/apns' >> >> FATAL: Lockfile '/tandberg/trafficserver/var/trafficserver/server.lock' >> says server already running as PID 26997 >> >> [Jan 16 15:53:59.646] Manager {0x7f8752580740} ERROR: FATAL: Lockfile >> '/tandberg/trafficserver/var/trafficserver/server.lock' says server >> already running as PID 26997 >> >> [Jan 16 15:53:59.646] Manager {0x7f8752580740} ERROR: FATAL: Lockfile >> '/tandberg/trafficserver/var/trafficserver/server.lock' says server >> already running as PID 26997 >> >> ~ # >> >> <<< >> >> What could be the issue ? >> >> PS: I have set 'CONFIG proxy.config.config_dir STRING >> /tandberg/apns/etc' also >> >> >> Thanks and regards >> >> Also I made complete copy of all configuration file under /tandberg/apns/. >> >> ~S >> >> >>
