在设置epops-agent的过程中遇到错误。 它说“由于服务器错误而无法注册代理”
我尝试重新安装。不仅为AgentManager提供具有完全管理员权限的帐户。
这是从日志中获取的:
20-09-2019 15:29:47,647 SGT INFO [main] [ServersManager] Successfully sent to server Server[IP:172.23.14.65 isDown:false lastSuccess:Fri Sep 20 15:29:47 SGT 2019 ]
20-09-2019 15:29:47,649 SGT ERROR [main] [AgentClient] - Unable to register the agent due to server error.
org.hyperic.hq.bizapp.client.AgentCallbackClientException: Remote error while invoking 'registerAgent: org.hyperic.lather.LatherRemoteException: I/O error on POST request for "http://localhost:8877/agentAdapterCommand/RegisterCommandData": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:240)
at org.hyperic.hq.bizapp.client.BizappCallbackClient.registerAgent(BizappCallbackClient.java:336)
at org.hyperic.hq.bizapp.agent.client.AgentClient.registerAgent(AgentClient.java:661)
at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetup(AgentClient.java:581)
at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetupIfNoProvider(AgentClient.java:418)
at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1360)
Caused by: org.hyperic.lather.LatherRemoteException: I/O error on POST request for "http://localhost:8877/agentAdapterCommand/RegisterCommandData": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
at org.hyperic.lather.client.LatherHTTPClient.parseLatherHttpResponse(LatherHTTPClient.java:157)
at org.hyperic.lather.client.LatherHTTPClient.invoke(LatherHTTPClient.java:142)
at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:187)
... 5 more
20-09-2019 15:29:50,258 SGT INFO [autoinventory-scanner] [AutoinventoryCommandsServer] starting runtime scan, Sync Mode:false
20-09-2019 15:29:50,259 SGT INFO [autoinventory-scanner] [AutoinventoryCommandsServer] runtime scan complete 1 ms, Sync Mode:false