JIRA startup failed, JIRA has been locked.

一、故障现象

界面登录时提示:
JIRA Startup Failed
You cannot access JIRA at present. Look at the table below to identify the reasons 

Description 
The jira.home directory '/data/www/jira_home/jiradata' is already locked. Please see the JIRA documentation for more information on locked jira.home directories.
 
后台启动:
[oracle@bogon bin]$ ./startup.sh
Detecting JVM PermGen support...
PermGen switch is supported. Setting to 256m
If you encounter issues starting up JIRA Standalone Edition, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide
Using CATALINA_BASE:   /home/atlassian-jira-enterprise-4.0.2-standalone
Using CATALINA_HOME:   /home/atlassian-jira-enterprise-4.0.2-standalone
Using CATALINA_TMPDIR: /home/atlassian-jira-enterprise-4.0.2-standalone/temp
Using JRE_HOME:        /usr/java/jdk1.6.0_25
Using CLASSPATH:       /home/atlassian-jira-enterprise-4.0.2-standalone/bin/bootstrap.jar
touch: cannot touch `/home/atlassian-jira-enterprise-4.0.2-standalone/logs/catalina.out': Permission denied

二、故障原因
'/data/www/jira_home' 下有一个 .jira-home.lock文件,删除重新启动就好了。
.jira-home.lock文件是为了防止在一台机器上跑多个JIRA站点,并且又设置了同一个jira.home的情況。

三、故障排除
1、查找.jira-home.lock文件
[root@bogon ~]# find / -name '.jira-home.lock'
/data/www/jira_home/jiradata/.jira-home.lock

2、关闭jira命令
/data/www/jira/bin/shutdown.sh

【注】/data/www是我的安装路径,修改为自己的安装目录

3、启动jira命令
/data/www/jira/bin/startup.sh

故障解决。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/751371/viewspace-706101/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/751371/viewspace-706101/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值