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

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

0 votes
Alexis Robert Community Leader 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 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
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 ...

179 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