[ 
https://issues.apache.org/jira/browse/TS-2153?focusedWorklogId=26609&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26609
 ]

ASF GitHub Bot logged work on TS-2153:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Aug/16 22:22
            Start Date: 18/Aug/16 22:22
    Worklog Time Spent: 10m 
      Work Description: Github user strotyl commented on a diff in the pull 
request:

    https://github.com/apache/trafficserver/pull/879#discussion_r75400338
  
    --- Diff: mgmt/LocalManager.cc ---
    @@ -900,6 +900,10 @@ LocalManager::startProxy()
     
         real_proxy_options.append(proxy_options, strlen(proxy_options));
     
    +    if (!strstr(proxy_options, "-M")) { // Make sure we're starting the 
proxy in mgmt mode
    +      real_proxy_options.append(" -M ", strlen(" -M "));
    --- End diff --
    
    I tested without the trailing space and it worked so I removed it.


Issue Time Tracking
-------------------

    Worklog Id:     (was: 26609)
    Time Spent: 1h  (was: 50m)

> traffic_manager -tsArgs without -M is fatal error
> -------------------------------------------------
>
>                 Key: TS-2153
>                 URL: https://issues.apache.org/jira/browse/TS-2153
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Manager
>            Reporter: Adam Twardowski
>            Assignee: Tyler Stroh
>              Labels: newbie
>             Fix For: 7.1.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> traffic_manager -tsArgs -T 'log.*'
> Running the above command on the 4.0.0 branch commit 
> c8931df15e33924bb459d40859a0b49331a6dbaf
> resulted in no running traffic_server and the following ps output
> nobody   16807  0.1  0.9 410884 18272 pts/0    Sl+  16:58   0:00 
> traffic_manager -tsArgs -T log.*
> nobody   16816  0.0  0.0      0     0 pts/0    Z+   16:58   0:00 
> [traffic_manager] <defunct>
> root     16818  0.0  0.0 103240   864 pts/1    S+   16:59   0:00 grep tr
> manger.log output
> --------------
> [Aug 23 17:09:52.965] {0x7f61127b07e0} STATUS: opened 
> /usr/local/var/log/trafficserver/manager.log
> [Aug 23 17:09:52.966] {0x7f61127b07e0} NOTE: updated diags config
> [Aug 23 17:09:52.967] Manager {0x7f61127b07e0} NOTE: [main] Traffic Server 
> Args: ' -T log.*'
> [Aug 23 17:09:52.967] Manager {0x7f61127b07e0} NOTE: [ClusterCom::ClusterCom] 
> Node running on OS: 'Linux' Release: '2.6.32-358.el6.x86_64'
> [Aug 23 17:09:52.968] Manager {0x7f61127b07e0} NOTE: 
> [LocalManager::listenForProxy] Listening on port: 80
> [Aug 23 17:09:52.968] Manager {0x7f61127b07e0} NOTE: [TrafficManager] Setup 
> complete
> [Aug 23 17:09:53.986] Manager {0x7f61127b07e0} NOTE: 
> [LocalManager::startProxy] Launching ts process
> [Aug 23 17:09:53.989] Manager {0x7f61127b07e0} FATAL: 
> [LocalManager::startProxy] ts options must contain -M
> [Aug 23 17:09:53.989] Manager {0x7f61127b07e0} FATAL:  (last system error 0: 
> Success)
> [Aug 23 17:09:53.989] Manager {0x7f61127b07e0} NOTE: 
> [LocalManager::mgmtShutdown] Executing shutdown request.
> [Aug 23 17:09:53.989] Manager {0x7f61127b07e0} NOTE: 
> [LocalManager::processShutdown] Executing process shutdown request.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to