Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Facing issue while installing remote agent on linux box

Hi Team,

I am trying to install the bamboo remote agent on my Linux box.But we are getting below issue while installing remote agent on the Linux box.

 

Error logs:


INFO | jvm 2 | 2017/12/06 11:07:36 | 2017-12-06 11:07:36,350 INFO [AgentRunnerThread] [AgentRegistrationBean] Registering agent on the server,
INFO | jvm 2 | 2017/12/06 11:11:51 | 2017-12-06 11:11:51,450 ERROR [ActiveMQ Task-1] [FailoverTransport] Failed to connect to [tcp://DUBV-ENGBAM05.dubeng.local:54663?wireFormat.maxInactivityDuration=300000] after: 10 attempt(s)
INFO | jvm 2 | 2017/12/06 11:11:51 | 2017-12-06 11:11:51,456 INFO [ActiveMQ Connection Executor: unconnected] [PooledConnectionFactory] Expiring connection ActiveMQConnection {id=ID:dubvpruekb-32801-1512558456382-1:1,clientId=ID:dubvpruekb-32801-1512558456382-0:1,started=false} on IOException: java.net.ConnectException: Connection refused (Connection refused)
INFO | jvm 2 | 2017/12/06 11:11:51 | Exiting due to fatal exception.
INFO | jvm 2 | 2017/12/06 11:11:51 | java.lang.reflect.InvocationTargetException
INFO | jvm 2 | 2017/12/06 11:11:51 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 2 | 2017/12/06 11:11:51 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 2 | 2017/12/06 11:11:51 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 2 | 2017/12/06 11:11:51 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 2 | 2017/12/06 11:11:51 | at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:30)
INFO | jvm 2 | 2017/12/06 11:11:51 | at java.lang.Thread.run(Thread.java:748)
INFO | jvm 2 | 2017/12/06 11:11:51 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentRegistrationBean': Invocation of init method failed; nested exception is org.springframework.remoting.RemoteAccessException: Could not access JMS invoker queue [queue://com.atlassian.bamboo.registrationQueue]; nested exception is javax.jms.IllegalStateException: javax.jms.JMSException: Connection refused (Connection refused)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1545)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
INFO | jvm 2 | 2017/12/06 11:11:51 | at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:267)
INFO | jvm 2 | 2017/12/06 11:11:51 | at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:77)
INFO | jvm 2 | 2017/12/06 11:11:51 | ... 6 more
INFO | jvm 2 | 2017/12/06 11:11:51 | Caused by: org.springframework.remoting.RemoteAccessException: Could not access JMS invoker queue [queue://com.atlassian.bamboo.registrationQueue]; nested exception is javax.jms.IllegalStateException: javax.jms.JMSException: Connection refused (Connection refused)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.convertJmsInvokerAccessException(JmsInvokerClientInterceptor.java:433)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:206)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
INFO | jvm 2 | 2017/12/06 11:11:51 | at com.sun.proxy.$Proxy16.registerAgent(Unknown Source)
INFO | jvm 2 | 2017/12/06 11:11:51 | at com.atlassian.bamboo.v2.build.agent.remote.AgentRegistrationBean.registerAgent(AgentRegistrationBean.java:57)
INFO | jvm 2 | 2017/12/06 11:11:51 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 2 | 2017/12/06 11:11:51 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 2 | 2017/12/06 11:11:51 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 2 | 2017/12/06 11:11:51 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
INFO | jvm 2 | 2017/12/06 11:11:51 | ... 21 more
INFO | jvm 2 | 2017/12/06 11:11:51 | Caused by: javax.jms.IllegalStateException: javax.jms.JMSException: Connection refused (Connection refused)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.apache.activemq.jms.pool.ConnectionPool.createSession(ConnectionPool.java:134)
INFO | jvm 2 | 2017/12/06 11:11:51 | at org.apache.activemq.jms.pool.PooledConnection.createSession(PooledConnection.java:167)

1 answer

0 votes
robhit Atlassian Team Dec 08, 2017

Hi,

From the stack trace:

INFO | jvm 2 | 2017/12/06 11:11:51 | 2017-12-06 11:11:51,450 ERROR [ActiveMQ Task-1] [FailoverTransport] Failed to connect to [tcp://DUBV-ENGBAM05.dubeng.local:54663?wireFormat.maxInactivityDuration=300000] after: 10 attempt(s)
INFO | jvm 2 | 2017/12/06 11:11:51 | 2017-12-06 11:11:51,456 INFO [ActiveMQ Connection Executor: unconnected] [PooledConnectionFactory] Expiring connection ActiveMQConnection {id=ID:dubvpruekb-32801-1512558456382-1:1,clientId=ID:dubvpruekb-32801-1512558456382-0:1,started=false} on IOException: java.net.ConnectException: Connection refused (Connection refused)

It is clear that there is some connectivity issue and remote agents are not able to connect Bamboo.

Check the following things:

1. check "DUBV-ENGBAM05.dubeng.local" is correct.

2. Check that the port 54663 is open and not listening to any other service.

3. You can check the connectivity from the remote agent machine using telnet as well for the same hostname and port.

If you couldn't find anything, raise a support call.

 

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

251 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you