At my CentOS server, I managed to install and setup the required files following the guide on https://confluence.atlassian.com/bamboo/running-bamboo-as-a-linux-service-416056046.html
When logged in as root I tried to start the bamboo service located in /etc/init.d/ with running the command ./bamboo start
I get the following output:
root@server [/etc/init.d]# ./bamboo start -fg Starting bamboo Bamboo Server Edition Version : 5.9.10 Detecting JVM PermGen support... PermGen switch is supported. Setting to 256m 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/bamboo/current Using CATALINA_HOME: /opt/atlassian/bamboo/current Using CATALINA_TMPDIR: /opt/atlassian/bamboo/current/temp Using JRE_HOME: /usr/local/jdk Using CLASSPATH: /opt/atlassian/bamboo/current/bin/bootstrap.jar:/opt/atlassian/bamboo/current/bin/tomcat-juli.jar Tomcat started. root@server [/etc/init.d]#
Possibly this has got to do with the wrong JRE home, since this directory does not exist. In the logs of catalina.out i find the error:
/opt/atlassian/bamboo/current/bin/catalina.sh: line 385: /usr/local/jdk/bin/java: No such file or directory
Just for the sake of sanity I went looking at the running services using the ps command, it does not show anything about bamboo.
Could you help me out with this issue?
Besides of this, I am also wondering, once I have my service running, how to connect this server to my account on?
Yes you won't be able to find bamboo service with the ps command because despite tomcat is started, bamboo itself failed to run because it's not using the required JAVA.
According to this documentation, the supported JAVA version for your bamboo is version 1.8. If you doesn't have JAVA 1.8 in your machine, you can check out this link to install it:
Install Java on CentOS
After installing, the PATH to your JAVA should looks something like:
Next step is simply to add this path to your Bamboo, which you can achieve by following these steps:
Go to <bamboo_installation_directory>/bin/ folder (where your start-bamboo.sh is located), and inside that folder you can see a file called setenv.sh. Open that file and edit it, and enter these in the bottom of the file:
JAVA_HOME="/opt/jdk1.8.0_72/" export JAVA_HOME
You can then restart your Bamboo.
This will point your Bamboo to use the appropriate JAVA and your instance should be able to run.
Hope this may help you, and I wish you a good day!
Ezra A. R. A.
I'm John Allspaw, co-founder of Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs