[ 
https://issues.apache.org/jira/browse/TS-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876654#comment-13876654
 ] 

Leif Hedstrom commented on TS-645:
----------------------------------

I see this:
{code}
  CXX      CliMgmtUtils.o
CliMgmtUtils.cc:274:8: error: use of undeclared identifier 'TS_ACTION_SHUTDOWN'
  case TS_ACTION_SHUTDOWN:
       ^
CliMgmtUtils.cc:278:5: error: expected ')'
    break;
    ^
CliMgmtUtils.cc:276:15: note: to match this '('
    Cli_Printf("\nHard Restart required.\n"
              ^
2 errors generated.
{code}

> Hard restart in the mgmt APIs is totally busted
> -----------------------------------------------
>
>                 Key: TS-645
>                 URL: https://issues.apache.org/jira/browse/TS-645
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Management API
>            Reporter: Leif Hedstrom
>            Assignee: Igor Galić
>              Labels: A
>             Fix For: 5.0.0
>
>
> In CoreAPIRemote.cc, in HardRestart(), we assume to find some start / stop 
> scripts that no longer exists:
>   Layout::relative_to(start_path, sizeof(start_path), Layout::get()->bindir, 
> "start_traffic_server");
>   Layout::relative_to(stop_path, sizeof(stop_path), Layout::get()->bindir, 
> "stop_traffic_server");
> I don't know if / when this would be used (probably only in the deprecated 
> Web GUI at this point), but we should fix this.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to