Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,529
Community Members
 
Community Events
184
Community Groups

Wrong path to JAVA_HOME or JRE_HOME /bin/bin/java: not found

I am trying to install Bamboo and am having problems starting:

sudo

./start-bamboo.sh -fg

Server startup logs are located in /opt/atlassian/atlassian-bamboo-6.10.3/bin/logs/catalina.out

Bamboo Server Edition
Version : 6.10.3


If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at https://confluence.atlassian.com/display/BAMBOO/Installing+and+upgrading+Bamboo

Using CATALINA_BASE: /opt/atlassian/atlassian-bamboo-6.10.3
Using CATALINA_HOME: /opt/atlassian/atlassian-bamboo-6.10.3
Using CATALINA_TMPDIR: /opt/atlassian/atlassian-bamboo-6.10.3/temp
Using JRE_HOME: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin
Using CLASSPATH: /opt/atlassian/atlassian-bamboo-6.10.3/bin/bootstrap.jar:/opt/atlassian/atlassian-bamboo-6.10.3/bin/tomcat-juli.jar
/opt/atlassian/atlassian-bamboo-6.10.3/bin/catalina.sh: 1: exec: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/bin/java: not found

I can’t understand why the start script adds bin / java to the JAVA_HOME path again.

/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/bin/java: not found

 

3 answers

1 accepted

0 votes
Answer accepted

@Alexis Robert , 

Thank you, this guide is not complete enough. I did the same as the guide for Jira, and I did it.

I skipped some steps that are described in the guide for Jira, but they are not in the guide for Bamboo

1 vote
Alexis Robert
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 09, 2019

Hi @Иван_Пузырёв , 

 

you should configure your JAVA_HOME to point to the main folder of the JDK, as the Bamboo script will automatically add the "/bin/java" to JAVA_HOME. 

 

Let me know if you have any questions, 

 

--Alexis

Hi, thanks for the feedback.

What does this mean "main folder"?

echo $JAVA_HOME
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin
echo $JRE_HOME
/usr/lib/jvm/java-1.11.0-openjdk-amd64

I think that in all environment variables the correct values ​​are indicated

I get it. The problems were really with setting user paths for various users, including root.
Is there a guide for setting up a user for Bamboo and permissions to run?

Alexis Robert
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 09, 2019

Hi @Иван_Пузырёв , 

 

there is a detailed guide here : https://confluence.atlassian.com/bamboo/installing-bamboo-on-linux-289276792.html.

It should give you all the information on how to install Bamboo.

Let me know if you have any questions, 

 

--Alexis

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events