[
https://issues.apache.org/jira/browse/TS-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom resolved TS-1085.
-------------------------------
Resolution: Won't Fix
I'm closing this, in favor of deprecating traffic_shell and replace it with the
perl script.
> traffic_shell enable command doesn't work
> -----------------------------------------
>
> Key: TS-1085
> URL: https://issues.apache.org/jira/browse/TS-1085
> Project: Traffic Server
> Issue Type: Bug
> Components: Manager
> Reporter: James Peach
> Assignee: James Peach
>
> Let's try this as root:
> blacko:trafficserver.git jpeach$ sudo /opt/ats/bin/traffic_shell
> Successfully Initialized MgmtAPI in /opt/ats/var/trafficserver
> % trafficserver> enable
> Already Enabled
> trafficserver> exit
> Ok, to let's try as non-root:
> blacko:trafficserver.git jpeach$ /opt/ats/bin/traffic_shell
> [connect] ERROR (main_socket_fd 3): Permission denied
> TSInit 5: Failed to initialize MgmtAPI in /opt/ats/var/trafficserver
> [connect] ERROR (main_socket_fd 3): Permission denied
> % trafficserver> enable
> FATAL: ConfigCmd.cc:137: failed assert `enable_restricted_commands`
> /opt/ats/bin/traffic_shell - STACK TRACE:
> 0 libtsutil.3.dylib 0x000000010cec8b8b ink_fatal_va + 283
> 1 libtsutil.3.dylib 0x000000010cec8e94 ink_fatal + 356
> 2 libtsutil.3.dylib 0x000000010cec66ff _ink_assert + 271
> 3 traffic_shell 0x000000010ce253ab
> _Z10Cmd_EnablePvP10Tcl_InterpiPPKc + 395
> 4 Tcl 0x000000010cf34261
> TclInvokeStringCommand + 121
> 5 Tcl 0x000000010cf360b7
> Tcl_GetMathFuncInfo + 2533
> 6 Tcl 0x000000010cf36d14
> Tcl_GetMathFuncInfo + 5698
> 7 Tcl 0x000000010cf370d2 Tcl_Eval + 42
> So either enable does nothing or it crashes. Seems like we should fix or
> remove this.
--
This message was sent by Atlassian JIRA
(v6.2#6252)