JBoss ON rhqctl status command reports RHQ Storage Node as ?running or ?down
Environment
- Red Hat JBoss Operations Network (ON) 3.3
- Checking status of
RHQ Storage Nodeusingrhqctl statuscommand
Issue
- Checking status shows
RHQ Storage Nodeis?runningand not✔running - Meaning of status
?runningor?down
Resolution
The ? character can be ignored. The running and down state is correct and the decoration should be ignored.
To get the proper decoration to appear, the user's terminal who executed rhqctl must be using a locale configuration that supports the display of the heavy check mark character represented by U+2714. For example:
LC_CTYPE=en_US.UTF-8 rhqctl status
Root Cause
The status of the JBoss ON storage node is checked and printed from the JVM. The ? character displayed is due to the terminal or user's locale setting not supporting the necessary character set required to print the expected ✔ or ✘ symbols.
It is important to note that this same issue does not affect the JBoss ON server or agent status due to their status lines being generated by their respective shell script.
This issue has been reported in This content is not included.Red Hat Bug 1323325 - rhqctl status can report storage node as ?running or ?down if locale does not support extended character sets
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.