my rhq agent failed to start.
my os is window.
the following is the log
>it's very confused about the address:/192.168.0.103. i do not know where the address come from.
It came from what you told it :-) When you first start the agent (or if you start the agent with --cleanconfig), it will ask you some questions. The second question it asks you is for the hostname or IP address that it will listen to for incoming messages from the server:
Agent Hostname or IP Address [!*] :
If you just hit "enter" and accept the default, the agent will look at your machine and take the first IP address it can find that identifies your machine - if you have more than one (for example, if you have hardwire and wireless network adapters, or if you are on a private VPN as well as a home network), you are not guaranteed it will pick the one you want but you can answer this question with an explicit hostname or IP address to be sure.
If you enter "!?" at this prompt, you get this help text, which hopefully helps you:
The hostname or IP address the agent will bind to in order to
listen for incoming messages. Usually, you will want to leave this undefined so
the agent picks up its default local IP address as it is currently configured
in the operation system. If, for some reason, the operating system default IP
address is not the one you want to use, then you can set an explicit value
here. Realize that if you do this, and the agent later changes its assigned IP,
you must reconfigure the agent to use the new IP; otherwise, the agent will not
be able to communicate with the server.
As for the 192.168.0.103 address, you are probably connected to a network router (perhaps a wireless router at home?) and that is the IP address that was assigned to your machine by the router's DHCP server.