bamboo 启动报错,无法正常访问
分析過程:
早上發(fā)現(xiàn)bamboo無法訪問,便使用命令
ps?-ef?|?grep?8085
發(fā)現(xiàn)沒有任何服務(wù)占用8085端口(bamboo使用tomcat作為內(nèi)嵌服務(wù)器,端口使用8085),
原來是服務(wù)器沒有啟動,于是重啟bamboo服務(wù),結(jié)果仍然無法正常訪問;
查看日志,報錯信息如下:
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.
猜測大概是因為程序鎖定了數(shù)據(jù)庫導(dǎo)致。
但是有點搞不明白,既然都沒有服務(wù)啟動,而數(shù)據(jù)庫又是內(nèi)置的,非共享的數(shù)據(jù)庫,怎么會出現(xiàn)數(shù)據(jù)庫鎖定呢???
google查找原因,發(fā)現(xiàn)以下回復(fù):
-----------------------------------------
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.
-----------------------------------------
以上轉(zhuǎn)載自: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.
-------------------------------------------
以上轉(zhuǎn)載自:https://answers.atlassian.com/questions/17926/server-won-t-restart-after-crashing-due-to-a-lock-file-issue
嘗試之,發(fā)現(xiàn)竟然有多個bamboo的實例;何其詭異哪!!!!!
殺死所有進(jìn)程,重啟bamboo?Server,搞定...
總結(jié)
以上是生活随笔為你收集整理的bamboo 启动报错,无法正常访问的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: joomla网页加速插件
- 下一篇: echars、象棋、飞机大战、五子棋