bamboo啟動報錯,無法正常訪問

來源:互聯網
上載者:User

分析過程:

早上發現bamboo無法訪問,便使用命令

ps -ef | grep 8085

發現沒有任何服務佔用8085連接埠(bamboo使用tomcat作為內嵌伺服器,連接埠使用8085),

原來是伺服器沒有啟動,於是重啟bamboo服務,結果仍然無法正常訪問;

查看日誌,報錯資訊如下:

2014-04-01 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.


猜測大概是因為程式鎖定了資料庫導致。
但是有點搞不明白,既然都沒有服務啟動,而資料庫又是內建的,非共用資料庫,怎麼會出現資料庫鎖定呢???
google尋找原因,發現以下回複:
-----------------------------------------
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.
-------------------------------------------

嘗試之,發現竟然有多個bamboo的執行個體;何其詭異哪!!!!!

殺死所有進程,重啟bamboo Server,搞定...

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.