[
https://issues.apache.org/jira/browse/QPID-3389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Moravec resolved QPID-3389.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: Future)
0.29
Assignee: Pavel Moravec
Fixed by r1596565.
> Provide more descriptive error text when sasl config. file is malformed
> -----------------------------------------------------------------------
>
> Key: QPID-3389
> URL: https://issues.apache.org/jira/browse/QPID-3389
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Broker
> Affects Versions: 0.10
> Reporter: Pavel Moravec
> Assignee: Pavel Moravec
> Priority: Minor
> Labels: features, starter
> Fix For: 0.29
>
>
> When /etc/sasl2/qpidd.conf is un-parsable, then qpidd halts with very generic
> error. Based on the error text, it is unable to identify the source of the
> problem (the config file).
> Replication scenario:
> 1) have in /etc/sasl2/qpidd.conf line:
> mech_list:
> (alternatively, have there line "mech_list plain" i.e. without colon)
> 2) Start qpidd process. It halts with tail trace log:
> 2011-08-04 12:48:29 debug Management object (V1) added:
> org.apache.qpid.broker:exchange:
> 2011-08-04 12:48:29 info Most recent persistence id found: 0x0
> 2011-08-04 12:48:29 debug Management object (V1) added:
> org.apache.qpid.broker:exchange:amq.direct
> 2011-08-04 12:48:29 debug Management object (V1) added:
> org.apache.qpid.broker:exchange:amq.topic
> 2011-08-04 12:48:29 debug Management object (V1) added:
> org.apache.qpid.broker:exchange:amq.fanout
> 2011-08-04 12:48:29 debug Management object (V1) added:
> org.apache.qpid.broker:exchange:amq.match
> 2011-08-04 12:48:29 debug Management object (V1) added:
> org.apache.qpid.broker:exchange:qpid.management
> 2011-08-04 12:48:29 debug Management object (V1) added:
> org.apache.qpid.broker:exchange:qmf.default.topic
> 2011-08-04 12:48:29 debug Management object (V1) added:
> org.apache.qpid.broker:exchange:qmf.default.direct
> 2011-08-04 12:48:29 debug Exception constructed: generic failure
> 2011-08-04 12:48:29 trace Management object marked deleted:
> org.apache.qpid.broker:exchange:amq.topic
> 2011-08-04 12:48:29 trace Management object marked deleted:
> org.apache.qpid.broker:exchange:amq.match
> 2011-08-04 12:48:29 trace Management object marked deleted:
> org.apache.qpid.broker:exchange:amq.fanout
> 2011-08-04 12:48:29 trace Management object marked deleted:
> org.apache.qpid.broker:exchange:
> 2011-08-04 12:48:29 debug Journal "TplStore": Destroyed
> 2011-08-04 12:48:29 trace Management object marked deleted:
> org.apache.qpid.broker:exchange:amq.direct
> 2011-08-04 12:48:29 trace Management object marked deleted:
> org.apache.qpid.broker:exchange:qpid.management
> 2011-08-04 12:48:29 trace Management object marked deleted:
> org.apache.qpid.broker:exchange:qmf.default.topic
> 2011-08-04 12:48:29 trace Management object marked deleted:
> org.apache.qpid.broker:exchange:qmf.default.direct
> 2011-08-04 12:48:29 critical Unexpected error: generic failure
> 3) The only relevant lines are with text "Unexpected error: generic failure".
> Expected results:
> Have a log entry similar to having a typo in /etc/qpidd.conf, where qpidd
> generates:
> 2011-08-04 12:39:53 debug Exception constructed: Error in configuration file
> /etc/qpidd.conf: no value given in 'auth='
> (any log pointing to the sasl config file will be sufficient, as particular
> parsing of the file is (supposedly) performed by SASL library and not by qpid)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]