the remote agent does not show up in theonline agent list
Asked by Amir:

Hi,

I have followed the installation instruction to install bamboo remote agent.

everything goes as expected until the last step.

the agent log says the following in the log but it does not show up in the online agents.
> 2019-07-10 16:51:58,811 INFO \[AgentRunnerThread\] \[QuartzScheduler\] Scheduler scheduler_$_NON_CLUSTERED started.  
> 2019-07-10 16:51:59,025 INFO \[AgentRunnerThread\] \[RemoteAgent\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> 2019-07-10 16:51:59,025 INFO \[AgentRunnerThread\] \[RemoteAgent\] \* \*  
> 2019-07-10 16:51:59,025 INFO \[AgentRunnerThread\] \[RemoteAgent\] \* Bamboo agent 'ip-10-0-45-136' ready to receive builds.  
> 2019-07-10 16:51:59,025 INFO \[AgentRunnerThread\] \[RemoteAgent\] \* Remote Agent Home: /home/ubuntu/bamboo-agent-home  
> 2019-07-10 16:51:59,025 INFO \[AgentRunnerThread\] \[RemoteAgent\] \* Broker URL: failover:(tcp://XXX.YYYY.COM:54663?wireFormat.maxInactivityDuration=300000)?initialReconnectDelay=15000\&maxReconnectAttempts=10  
> 2019-07-10 16:51:59,025 INFO \[AgentRunnerThread\] \[RemoteAgent\] \* \*  
> 2019-07-10 16:51:59,025 INFO \[AgentRunnerThread\] \[RemoteAgent\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> 2019-07-10 16:56:59,182 INFO \[0-BAM::ip-10-0-45-136::Agent:pool-3-thread-1\] \[BuildAgentControllerImpl\] Agent -1 checking build queue for executables...  
> 2019-07-10 17:00:04,301 INFO \[remoteEventRebroadcasterMessageListenerContainer-1\] \[RemoteEventRebroadcasterMessageListener\] ExecutableQueueUpdate: addToQueue, agents known to be affected: \[\]  
> 2019-07-10 17:01:59,194 INFO \[0-BAM::ip-10-0-45-136::Agent:pool-3-thread-1\] \[BuildAgentControllerImpl\] Agent -1 checking build queue for executables...

the only thing that appears on the online remote agent tab in the agents menu is a line of log as follows:

**A remote agent is loading on ip-10-0-45-136 (10.0.45.136).**

I have granted access to remote agent during setup of the agent.

My Bamboo server is on Windows.

My Bamboo remote agent is on Ubuntu 18 using OpenJDK 11.

I would be really grateful if somebody can help me.

Thank you very much in advance


Answers:
author: Daniel Santos
body: Hi [@Amir](/t5/user/viewprofilepage/user-id/3467765)

You should run the remote agent with a version supported in our [Supported platforms - Atlassian Documentation](https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html). The latest supported version is OpenJDK 1.8.

The description you shared also happens when a remote agent is manually cloned (copying the folders and starting a new instance). This is because the GUID of the agent is the same. In this case, the agent comes up, but Bamboo is not able to see more than one agent.

My suggestion is:

1. Change the JDK to the supported version
2. If you cloned the agent, please install a new one

I hope that helps.

comments: author: Amir
body: Thank you, I downgraded the OpenJDK to 1.8 and it worked


author: Daniel Santos
body: Hi [@Amir](/t5/user/viewprofilepage/user-id/3467765)

I'm glad it worked and you now have your remote agent available!  
Have a great day!


Tags: remote-agent