org.hyperic.hq.bizapp.client.agentcallbackclientexception
I use Hyperic HQ 4.2.0.7. I have a Windows Server 2008 R2 Server already configured under Host name kvm as Hyperic Agent. I was been asked to rename the hostname to jvm and bring the System under monitoring.
I changed the Host name in Window Server.Remember, changing Host name require a restart in case of Window Server.
org.hyperic.hq.bizapp.client.AgentCallbackClientException: Remote error while invoking 'registerAgent: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException
at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:201)
at org.hyperic.hq.bizapp.client.BizappCallbackClient.registerAgent(BizappCallbackClient.java:135)
at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetup(AgentClient.java:808)
at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetupIfNoProvider(AgentClient.java:517)
at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1257)
Caused by: org.hyperic.lather.LatherRemoteException: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException
at org.hyperic.lather.client.LatherHTTPClient.invoke(LatherHTTPClient.java:124)
at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:157)
... 4 more
Error registering agent: Remote error while invoking 'registerAgent: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException
ScreenShot:
I googled with the term "org.hyperic.hq.bizapp.client.agentcallbackclientexception".
I got two links.
Link 1 :
One link confirmed that it is a bug with Hyperic
The Link is here.
https://jira.hyperic.com/browse/HHQ-4206
Link 2:
Other link gave some tweaking.
Run the following commands
psql HQ
select * from eam_agent where address='192.168.X.X'
Here 192.168.X.X is the IP Address of the Agent.
Here, I got two entries.
Again the run the same query to select id alone.
select id from eam_agent where address='192.168.X.X'
I got output as
ID1
ID2
Now I copied the ID's and run these queries once again.
select * from eam_ai_agent_report where id=ID1
select * from eam_ai_agent_report where id=ID2
So its confirmed that, data [IP Address] is duplicated.
Now I deleted all the entries corresponding to the duplicated entries.
delete from eam_ai_agent_report where id=ID1;
delete from eam_ai_agent_report where id=ID2;
delete from eam_agent where address='192.168.X.X'
When I restarted the Agent Script again, that System was able to be configured and connect to Hyperic Server.
I got the solution from the following link .
https://communities.vmware.com/message/1943349
I use Hyperic HQ 4.2.0.7. I have a Windows Server 2008 R2 Server already configured under Host name kvm as Hyperic Agent. I was been asked to rename the hostname to jvm and bring the System under monitoring.
I changed the Host name in Window Server.Remember, changing Host name require a restart in case of Window Server.
- First I removed the Hyperic Agent with the name 'kvm' from Hyperic Server.
- Stopped the Hyperic Agent.
- Deleted the contents in data directory.
- Then, I tried to restart the Hyperic Agent and got the following error .
org.hyperic.hq.bizapp.client.AgentCallbackClientException: Remote error while invoking 'registerAgent: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException
at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:201)
at org.hyperic.hq.bizapp.client.BizappCallbackClient.registerAgent(BizappCallbackClient.java:135)
at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetup(AgentClient.java:808)
at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetupIfNoProvider(AgentClient.java:517)
at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1257)
Caused by: org.hyperic.lather.LatherRemoteException: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException
at org.hyperic.lather.client.LatherHTTPClient.invoke(LatherHTTPClient.java:124)
at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:157)
... 4 more
Error registering agent: Remote error while invoking 'registerAgent: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException
ScreenShot:
I googled with the term "org.hyperic.hq.bizapp.client.agentcallbackclientexception".
I got two links.
Link 1 :
One link confirmed that it is a bug with Hyperic
The Link is here.
https://jira.hyperic.com/browse/HHQ-4206
Link 2:
Other link gave some tweaking.
Run the following commands
su postgres
psql HQ
select * from eam_agent where address='192.168.X.X'
Here 192.168.X.X is the IP Address of the Agent.
Here, I got two entries.
Again the run the same query to select id alone.
select id from eam_agent where address='192.168.X.X'
I got output as
ID1
ID2
Now I copied the ID's and run these queries once again.
select * from eam_ai_agent_report where id=ID1
select * from eam_ai_agent_report where id=ID2
So its confirmed that, data [IP Address] is duplicated.
Now I deleted all the entries corresponding to the duplicated entries.
delete from eam_ai_agent_report where id=ID1;
delete from eam_ai_agent_report where id=ID2;
delete from eam_agent where address='192.168.X.X'
When I restarted the Agent Script again, that System was able to be configured and connect to Hyperic Server.
I got the solution from the following link .
https://communities.vmware.com/message/1943349
No comments:
Post a Comment