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,搞定...


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值