0

after run agent on slave machine freeze in this step:

[machine@slave ~]$ /opt/rhq-agent/bin/rhq-agent.sh start Unused option: start RHQ 4.12.0.JON330GA Update 12 [e80b551] (Sat Jun 22 07:06:55 IRDT 2019) The agent is waiting for plugins to be downloaded... >

Workaround:

  • ping master and slave with ip and name successful

  • add ip and name in hosts file

  • no proxy

  • no firewall! No iptable on slave and master

  • Permission of /opt = 777

  • Jboss ON version 3.3 update 12

Log:

019-08-30 19:11:50,579 INFO [RHQ Server Polling Thread] (enterprise.communications.command.client.JBossRemotingRemoteCommunicator)- {JBossRemotingRemoteCommunicator.changing-endpoint}Communicator is changing endpoint from [InvokerLocator [servlet://jbossno.machine.org:7080/jboss-remoting-servlet-invoker/ServerInvokerServlet/?generalizeSocketException=true]] to [InvokerLocator [servlet://jbossno.machine.org:7080/jboss-remoting-servlet-invoker/ServerInvokerServlet/?generalizeSocketException=true]] 2019-08-30 19:11:50,580 WARN [RHQ Server Polling Thread] (org.rhq.enterprise.agent.AgentMain)- {AgentMain.failover-failed}Failed to failover to another server. Cause: org.jboss.remoting.CannotConnectException: Can not connect http client invoker after 1 attempt(s) 2019-08-30 19:11:50,580 WARN [RHQ Server Polling Thread] (org.rhq.enterprise.agent.FailoverFailureCallback)- {AgentMain.too-many-failover-attempts}Too many failover attempts have been made [1]. Exception that triggered the failover: [org.jboss.remoting.CannotConnectException: Can not connect http client invoker after 1 attempt(s)] 2019-08-30 19:11:50,580 ERROR [RHQ Server Polling Thread] (enterprise.communications.command.client.JBossRemotingRemoteCommunicator)- {JBossRemotingRemoteCommunicator.init-callback-failed}The initialize callback has failed. It will be tried again. Cause: org.jboss.remoting.CannotConnectException:Can not connect http client invoker after 1 attempt(s) -> java.net.UnknownHostException:jbossno.machine.org. Cause: org.jboss.remoting.CannotConnectException: Can not connect http client invoker after 1 attempt(s)

any recommendation?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.