VMware Cloud Community
indira
Contributor
Contributor

Unable to import Platform

Hi,

I have added a new agent to my hyperic-3.2.5.
While autodiscovery, showing following error

"Auto-Discovery
Unable to import platform : org.hyperic.hq.appdef.shared.AIQApprovalException: Error connecting or communicating with agent EOF received from Agent "

How to resolve this error?

Thanks,
Indira
0 Kudos
4 Replies
indira
Contributor
Contributor

The agent log showing following error message

2009-03-17 09:42:12,166 ERROR [main] [CommandListener] Error writing result to client
org.hyperic.hq.agent.AgentConnectionException: Unable to send response: null
at org.hyperic.hq.agent.server.AgentServerConnection.sendSuccessResponse(AgentServerConnection.java:116)
at org.hyperic.hq.agent.server.CommandListener.listenLoop(CommandListener.java:226)
at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:705)
at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:769)
at org.hyperic.hq.agent.server.AgentDaemon.main(AgentDaemon.java:782)
Caused by: java.io.UTFDataFormatException
at java.io.DataOutputStream.writeUTF(Unknown Source)
at java.io.DataOutputStream.writeUTF(Unknown Source)
at org.hyperic.hq.agent.AgentRemoteValue.toStream(AgentRemoteValue.java:191)
at org.hyperic.hq.agent.server.AgentServerConnection.sendSuccessResponse(AgentServerConnection.java:114)

Can anybody help?

Thanks,
indira
0 Kudos
indira
Contributor
Contributor

Sending the screenshot.
Please find the attached image.
0 Kudos
indira
Contributor
Contributor

Server log showing the following --

2009-03-17 09:23:57,142 ERROR [http-0.0.0.0-7080-5] [org.hyperic.hq.control.server.session.ControlScheduleManagerEJBImpl] Error looking up appdef name for type=3 id=11301
2009-03-17 09:23:57,143 ERROR [http-0.0.0.0-7080-5] [org.hyperic.hq.control.server.session.ControlScheduleManagerEJBImpl] Error looking up appdef name for type=3 id=10155
2009-03-17 09:24:40,350 INFO [http-0.0.0.0-7080-1] [org.hyperic.hq.autoinventory.agent.client.AICommandsClient] CommandsClient.getScanStatus
2009-03-17 09:24:40,351 INFO [http-0.0.0.0-7080-1] [org.hyperic.hq.agent.client.AgentConnection] 209.220.229.147 -> autoinv:getScanStatus
2009-03-17 09:24:41,362 ERROR [http-0.0.0.0-7080-8] [org.hyperic.hq.control.server.session.ControlScheduleManagerEJBImpl] Error looking up appdef name for type=3 id=11301
2009-03-17 09:24:41,364 ERROR [http-0.0.0.0-7080-8] [org.hyperic.hq.control.server.session.ControlScheduleManagerEJBImpl] Error looking up appdef name for type=3 id=10155
2009-03-17 09:24:41,383 ERROR [http-0.0.0.0-7080-8] [org.hyperic.hq.ui.action.portlet.autoDisc.ViewAction] Failed to approve AI report
org.hyperic.hq.appdef.shared.AIQApprovalException: Error connecting or communicating with agent Unable to connect to 209.220.229.147:2144: Connection refused
0 Kudos
indira
Contributor
Contributor

I just mistaken, that was caused when agent was down.

I restarted the agent, same problem in auto-inventory.
I also tried by removing the data directory in agent after clearing AIQ_PLATFORM_ID tables.

Agent log showing the following error:


2009-03-18 11:04:47,625 ERROR [main] [CommandListener] Error writing result to client
org.hyperic.hq.agent.AgentConnectionException: Unable to send response: null
at org.hyperic.hq.agent.server.AgentServerConnection.sendSuccessResponse(AgentServerConnection.java:116)
at org.hyperic.hq.agent.server.CommandListener.listenLoop(CommandListener.java:226)
at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:705)
at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:769)
at org.hyperic.hq.agent.server.AgentDaemon.main(AgentDaemon.java:782)
Caused by: java.io.UTFDataFormatException
at java.io.DataOutputStream.writeUTF(Unknown Source)
at java.io.DataOutputStream.writeUTF(Unknown Source)
at org.hyperic.hq.agent.AgentRemoteValue.toStream(AgentRemoteValue.java:191)
at org.hyperic.hq.agent.server.AgentServerConnection.sendSuccessResponse(AgentServerConnection.java:114)


Thanks,
Indira
0 Kudos