Analysis process:
If you find that bamboo is inaccessible in the morning, use the command
Ps-ef | grep 8085
No service occupies port 8085 (bamboo uses tomcat as the Embedded Server and port 8085 ),
It turns out that the server was not started, so the bamboo service was restarted and the access still failed;
View logs. The error message is as follows:
10:12:54, 652 INFO [localhost-startStop-1] [MessageDatabase] Database/opt/app/bamboo/atlassian-bamboo-4.4.4-home/jms-store/bamboo/KahaDB/lock is locked...
Waiting 10 seconds for the database to be unlocked.
Reason: java. io. IOException: File '/opt/app/bamboo/atlassian-bamboo-4.4.4-home/jms-store/bamboo/KahaDB/lock' could not be locked.
Probably because the program has locked the database.
But I cannot understand that since no service is started, and the database is built in, non-shared databases, how can the database be locked ???
Google finds the cause and finds the following response:
-----------------------------------------
After so much serach I found more than one instace were running.
Ps-ax | grep bamboo
Then I kill all the process and restart the server.
And its fixed.
Thanks for all your help.
-----------------------------------------
-----------------------------------------
You can shut down your Bamboo, make sure that there are no other Bamboo instances
Running (ps-ax | grep bamboo), delete 'bamboohome/jms-store' directory
And start your Bamboo instance.
Armen.
-------------------------------------------
I tried to find multiple bamboo instances. What's so strange !!!!!
Kill all processes and restart the bamboo Server...