4 Replies Latest reply on Mar 6, 2013 1:46 AM by arun2arunraj

    "Failed to start the Agent"

    arun2arunraj

      Hi Devlopers,

      Failed to start the agent

      java.net.BindException: Cannot assign requested address: JVM_Bind

              at java.net.TwoStacksPlainSocketImpl.socketBind(Native Method)

              at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)

              at java.net.TwoStacksPlainSocketImpl.bind(TwoStacksPlainSocketImpl.java:101)

              at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:175)

              at java.net.ServerSocket.bind(ServerSocket.java:376)

              at java.net.ServerSocket.<init>(ServerSocket.java:237)

              at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:231)

              at org.jboss.remoting.transport.socket.SocketServerInvoker.createServerSocket(SocketServerInvoker.java:264)

              at org.jboss.remoting.transport.socket.SocketServerInvoker.start(SocketServerInvoker.java:193)

              at org.jboss.remoting.transport.Connector.start(Connector.java:324)

              at org.rhq.enterprise.communications.ServiceContainer.setupServerConnector(ServiceContainer.java:1226)

              at org.rhq.enterprise.communications.ServiceContainer.start(ServiceContainer.java:550)

              at org.rhq.enterprise.communications.ServiceContainer.start(ServiceContainer.java:468)

              at org.rhq.enterprise.agent.AgentMain.startCommServices(AgentMain.java:2326)

              at org.rhq.enterprise.agent.AgentMain.start(AgentMain.java:653)

              at org.rhq.enterprise.agent.AgentMain.main(AgentMain.java:429)

      Agent will be restarted soon to see if the failure condition cleared up

      Please help me to Fix this issues. Thanks in advance.

       

      REgrards,

      ArunRaj.

        • 1. Re: "Failed to start the Agent"
          tsegismont

          Hi Arun,

           

          This is most probably because you already have another process running (so the port is already in use).

           

          Regards

          Thomas

          1 of 1 people found this helpful
          • 2. Re: "Failed to start the Agent"
            mazz

            Whenever you get messages or odd behavior like this, the first thing you should always do is go read the agent logs. It is very easy to investigate issues by viewing the agent log at <agent-install-dir>/logs/agent.log.

             

            Once you look at the error messages, you should be able to find out the reason for most things that are happening. If you still can't figure it out, you should google the error message or look at our wiki docs or FAQ. If you still can't figure it out, you can post the question here, but we'd need to see the agent logs anyway - so you should always get the agent log messages first regardless.

             

            Here's one FAQ that may be relevent (but maybe not):

             

            https://docs.jboss.org/author/display/RHQ/FAQ#FAQ-Iwanttorunagentsonallmymachines%2CbutonlyonestartsOKtherestfailduetobindingtoawrongaddress

             

            Thomas' explanation might also be the answer.

             

            But again, without agent log messages, we would just be guessing.

            1 of 1 people found this helpful
            • 3. Re: "Failed to start the Agent"
              arun2arunraj

              Hi JohnMazzitelli ,

               

                  Thank you for the useful information. Yes, There are lots of informations in my log, I will try to fix these errors. If I found difficult, I will put up here.( I can fix it out, I will post the solution too )

               

               

              Regards,

              ArunRaj

              • 4. Re: "Failed to start the Agent"
                arun2arunraj

                Hi Thomas,

                 

                    Thanks for giving a wonderful clue. I fix that issue. Now My System working good.

                 

                    Problem : My Ip has been changed by my ipspoofer software. I got know this when I tried to open my log file. Because it tells me that no connection establishment.

                 

                    Solution : Changed it into my old ip address.

                 

                   Again, Thanks thomas and thanks John for giving such a nice tips.

                 

                Regards,

                ArunRaj