bamboo 启动报错,无法正常访问
分析過程:
早上發現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.
-----------------------------------------
以上轉載自:https://answers.atlassian.com/questions/197611/bamboo-database-problem
-----------------------------------------
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.
-------------------------------------------
以上轉載自:https://answers.atlassian.com/questions/17926/server-won-t-restart-after-crashing-due-to-a-lock-file-issue
嘗試之,發現竟然有多個bamboo的實例;何其詭異哪!!!!!
殺死所有進程,重啟bamboo?Server,搞定...
總結
以上是生活随笔為你收集整理的bamboo 启动报错,无法正常访问的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: joomla网页加速插件
- 下一篇: echars、象棋、飞机大战、五子棋