ITPub博客

首页 > Linux操作系统 > Linux操作系统 > JIRA startup failed, JIRA has been locked.

JIRA startup failed, JIRA has been locked.

原创 Linux操作系统 作者:听海★蓝心梦 时间:2011-08-29 09:40:50 0 删除 编辑

一、故障现象

界面登录时提示:
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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-02-18

  • 博文量
    256
  • 访问量
    1202428