Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.7.0
-
None
-
None
Description
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.