Red Hat Bugzilla – Bug 535787
RHQ agent returns an "null" on its start message when locale syntax is different than en_US
Last modified: 2015-02-01 18:25:29 EST
If your system locale environment date syntax is different from en_US, your agent will return on its startup message:
RHQ 1.3.0.GA  (null)
RHQ 1.3.0.GA  (Thu Sep 17 13:17:28 BRT 2009)
(or other timezone-derived date/time)
This behaviour is also noticed on previous JON agents.
The workaround to get rid of the wrong message is start JON agent with an language prefix
LANG=en_US ./rhq-agent-wrapper.sh start
Fixed - r5235.
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2447
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.
new = Tracking + FutureFeature + SubBug
making sure we're not missing any bugs in rhq_triage
rajan - can you take a quick look at this?
Verified on RHQ-Master build #379
RHEL 5.5 (LANG="en_GB.UTF-8" and date-format=BST)
Installed RHQ-Agent with LANG="en_GB.UTF-8" and date-format=BST on RHEL 5.5
RHQ-Agent installed without 'null'
[root@rajanlaptop bin]# ./rhq-agent.sh -s
RHQ 4.0.0-SNAPSHOT [83f9565] (Wed Oct 06 18:20:59 BST 2010)
Answer the following questions to setup this RHQ Agent instance.
- After each prompt, a default value will appear in square brackets.
If you press the ENTER key without providing any value,
the new preference value will be set to that default value.
- If you wish to rely on the system internal default value and
not define any preference value, enter '!*'.
- If you wish to stop before finishing all the questions but still
retain those preferences you already set, enter '!+'.
- If you wish to cancel before finishing all the questions and revert
all preferences back to their original values, enter '!-'.
- If you need help for a particular preference, enter '!?'.
Agent Name [10.65.193.1] :
Agent Hostname or IP Address [!*] : 10.65.193.1
Agent Port  :
RHQ Server Hostname or IP Address [10.65.193.1] :
RHQ Server Port  :
The setup has been completed for the preferences at node [/rhq-agent/default].
Bulk closing of old issues that are in VERIFIED state.