You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/12/16 17:47:12 UTC
[jira] [Commented] (TS-2434) Errors in the plugin.config will cause
the service to fail
[ https://issues.apache.org/jira/browse/TS-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849311#comment-13849311 ]
James Peach commented on TS-2434:
---------------------------------
Looks like we log an error, then we abort. We should log a FATAL error, which would have the same effect, but would be cleaner.
I don't think that we should continue if plugin loading fails, since we can't know whether the service can run correctly without the requested plugins.
> Errors in the plugin.config will cause the service to fail
> ----------------------------------------------------------
>
> Key: TS-2434
> URL: https://issues.apache.org/jira/browse/TS-2434
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration
> Reporter: zhiyuanfu
>
> A spelling mistake or a wrong path configured in plugin.config can cause the ats to service failure.
> #############################
> diags.log:
> [Dec 16 15:42:40.790] Server {0x2b32fd6569e0} ERROR: unable to load '/usr/lib64/trafficserver/plugins/maxage.so': /usr/lib64/trafficserver/plugins/maxage.so: cannot open shared object file: No such file or directory
> #############################
> netstat -lnpt|grep traffic |grep -v grep
> tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 14795/traffic_manag
> tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 14795/traffic_manag
> ----------------------------------------------
> ps aux |grep traffic |grep -v grep
> root 14793 0.0 0.0 88040 4460 ? Ss 15:40 0:00 /usr/bin/traffic_cop
> ats 14795 0.4 0.0 168632 18148 ? Sl 15:40 0:00 /usr/bin/traffic_manager
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)