You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org> on 2012/01/24 18:30:40 UTC

[jira] [Updated] (TS-1085) traffic_shell enable command doesn't work

     [ https://issues.apache.org/jira/browse/TS-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-1085:
------------------------------

    Fix Version/s: 3.1.3
         Assignee: James Peach

Moving out to 3.1.3, move back to 3.1.2 if you'll get this done this week.
                
> 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: Management
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 3.1.3
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira