[
https://issues.apache.org/jira/browse/DISPATCH-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15516574#comment-15516574
]
ASF GitHub Bot commented on DISPATCH-521:
-----------------------------------------
GitHub user ganeshmurthy opened a pull request:
https://github.com/apache/qpid-dispatch/pull/103
DISPATCH-521 - Added a version command line option that will display …
…the version of the dispatch router
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-521
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/103.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #103
----
commit cf67c29bd1e60408d3e72e07e4edd9e2ef3c876b
Author: Ganesh Murthy <[email protected]>
Date: 2016-09-23T14:15:58Z
DISPATCH-521 - Added a version command line option that will display the
version of the dispatch router
----
> Switch to verify qdrouterd installation
> ---------------------------------------
>
> Key: DISPATCH-521
> URL: https://issues.apache.org/jira/browse/DISPATCH-521
> Project: Qpid Dispatch
> Issue Type: Improvement
> Affects Versions: 0.7.0
> Reporter: Jiri Danek
>
> There should be a {{qdrouterd}} switch that can be used to verify that the
> router is installed correctly. Its success should
> # Give user opportunity to check that PATH is set correctly. It should print
> full path to itself (qdrouterd binary) in the output.
> # Print router version, so that user can check the version is correct.
> # Ensure that all dynamically loaded libraries are present and qdrouterd can
> be started.
> # Ensure that PYTHONPATH is set correctly
> Running just {{qdrouterd}} is not sufficient, because port 5672 may be
> currently occupied. The command fails, even though router is installed
> correctly.
> Running {{qdrouterd \-h}} is also not adequate. Currently, on my machine,
> qdrouterd is failing with {{Wed Sep 21 10:03:52 2016 ERROR (error) Python:
> ImportError: No module named qpid_dispatch_site}} yet {{qdrouterd \-h}} is
> working just fine.
> I suggest adding a {{--version}} switch that would do what I listed above.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]