一、故障现象
界面登录时提示:
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/