最近给公司搭建了JIRA环境,用于项目的管理,安装的那边都正常使用,仅仅过了一个周末,重新开机后发现访问不了JIRA系统。
报错如下:
JIRA Startup Failed
You cannot access JIRA at present. Look at the table below to identify the reasons:
Description
The following plugins are required by JIRA, but have not been started:
* Atlassian JIRA - Plugins - Project Config Plugin (com.atlassian.jira.jira-project-config-plugin)
* Embedded Gadgets Plugin (com.atlassian.gadgets.embedded)
* Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard)
* Opensocial Plugin (com.atlassian.gadgets.opensocial)
* Gadget Directory Plugin (com.atlassian.gadgets.directory)
* Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)
网上查了很多资料,最后终于在一片文章中解决了问题,原文地址:http://blog.networkedcollaboration.com/2012/03/05/troubleshooting-jira-startup-errors/
文章内容如下:
The list of plugins that fail to start may vary, but the cause is usually one of the following:
To check each of these potential causes:
JIRA needs a minimum of 768MB memory allocated to the Java heap (though I would recommend a minimum of 1024MB) and a minimum of 256MB memory allocated to PermGen space in order to function. To check your memory settings:
1. In your
2. Find the sections JVM_MINIMUM_MEMORY= and JVM_MAXIMUM_MEMORY=
3. Set both settings to the same value, e.g.:
JVM_MINIMUM_MEMORY=”1024m”
JVM_MAXIMUM_MEMORY=”1024m”
4. Find the section for JIRA_MAX_PERM_SIZE=
5. Make sure it is at lease 256MB, e.g.
JIRA_MAX_PERM_SIZE=256m
6. Save setenv.sh and restart JIRA.
1. In your
2. Find the sections JVM_MINIMUM_MEMORY= and JVM_MAXIMUM_MEMORY=
3. Set both settings to the same value, e.g.:
JVM_MINIMUM_MEMORY=”1024m”
JVM_MAXIMUM_MEMORY=”1024m”
4. Find the section for JIRA_MAX_PERM_SIZE=
5. Make sure it is at lease 256MB, e.g.
JIRA_MAX_PERM_SIZE=256m
6. Save setenv.bat and restart JIRA.
See Atlassian’s instructions for changing memory settings via the command line or via theWindows Registry (expand Windows Service section for both options).
JIRA creates a lot of temporary files that it needs to write to and read from (caches, indexes, etc.) and if anti-virus software is running on the JIRA server and scanning the
See Atlassian’s Knowledge Base article on Crashes and Performance Issues Troubleshooting for further details and problems with specific anti-virus software.
Occasionally the caches that JIRA creates for plugins become corrupted and need to be cleared. To clear all plugin caches:
1. Shutdown JIRA.
2. Delete the
3. Start JIRA.
If none of the above fix the problem then it may be due to the plugins being disabled in the database which need to be manually re-enabled.
1. Backup JIRA
2. Run the following SQL query against your JIRA database to see if any plugins are disabled:
select * from propertyentry e join propertystring s on e.id=s.id where e.property_key like '%plugin.state%';
3. If no results are returned then disabled plugins in the database is not the problem, if results are returned make a note of the ID(s) and run the following SQL query for each ID:
update propertystring set propertyvalue='true' where id=;
e.g.
update propertystring set propertyvalue='true' where id=11710;
4. Delete the
我按照这个步骤操作已经解决了改问题。