VMware Cloud Community
Joan_hyperic
Contributor
Contributor
Jump to solution

Agent won't start on HQ Server

Hi,
I have the HQ server running on a RHEL 3 box, version 2.6.22. I can't get the agent to start up on it though. Error I get is as follows -

hyperic]# agent-2.6.22/hq-agent.sh start
Starting agent
- Invoking agent
- Starting agent process
Error invoking agent: Agent failure while starting
Any ideas?
Thanks.
Joan
0 Kudos
1 Solution

Accepted Solutions
john_hyperic
Hot Shot
Hot Shot
Jump to solution

This looks like the agent was maybe copied from somewhere else? The
agent was previously configured for another host. Do this:

1. Shut down the agent and make sure all agent java processes are dead.
2. Remove the data directory in the agent installation.
3. Remove the agent.log and agent.log.startup files.
3. Start the agent.

If that still fails, post the contents of the agent.log.startup here.

View solution in original post

0 Kudos
4 Replies
john_hyperic
Hot Shot
Hot Shot
Jump to solution

Look in the agent.log and agent.log.startup files located in the log
directory. Probably something like port already in use.

Joan wrote:
> Hi,
> I have the HQ server running on a RHEL 3 box, version 2.6.22. I can't get the agent to start up on it though. Error I get is as follows -
>
> hyperic]# agent-2.6.22/hq-agent.sh start
> Starting agent
> - Invoking agent
> - Starting agent process
> Error invoking agent: Agent failure while starting
> Any ideas?
> Thanks.
> Joan

0 Kudos
Joan_hyperic
Contributor
Contributor
Jump to solution

Hi John,
This is what i get in the agent.log.startup


Agent startup error: Failed to listen at *:2144: Address already in use
Agent startup error: Failed to listen at *:2144: Address already in use
Agent startup error: Failed to listen at *:2144: Address already in use
Unable to configure agent: Invalid hostname 'rhel-base.eu.askjeeves.info'. This
agent has been configured for 'hyperictest'. If this agent has been copied from
a different machine please remove the data directory and restart the agent
Agent startup error: Failed to listen at *:2144: Address already in use
Agent startup error: Failed to listen at *:2144: Address already in use
Agent startup error: Failed to listen at *:2144: Address already in use
Agent startup error: Failed to listen at *:2144: Address already in use
Agent startup error: Failed to listen at *:2144: Address already in use
Agent startup error: Failed to listen at *:2144: Address already in use
Agent startup error: Failed to listen at *:2144: Address already in use
Agent startup error: Failed to listen at *:2144: Address already in use

In agent.properties I changed the default port to 2145, but I still got the same content in this log.

Thanks,
Regards,
Joan
0 Kudos
john_hyperic
Hot Shot
Hot Shot
Jump to solution

This looks like the agent was maybe copied from somewhere else? The
agent was previously configured for another host. Do this:

1. Shut down the agent and make sure all agent java processes are dead.
2. Remove the data directory in the agent installation.
3. Remove the agent.log and agent.log.startup files.
3. Start the agent.

If that still fails, post the contents of the agent.log.startup here.

0 Kudos
Joan_hyperic
Contributor
Contributor
Jump to solution

Hi John,
That's sorted now - thanks!
Regards,
Joan
0 Kudos