An error is reported when bamboo is started and normal access fails.

Source: Internet
Author: User

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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.