JiraLockedError with "JIRA Startup Failed" error

Andrew Manson August 9, 2011

I'm gettting an error when i visit my jira installation as follows:

JIRA Startup Failed

You cannot access JIRA at present. Look at the table below to identify the reasons

Error occurred while starting Plugin Manager. Unable to install bundle

Can someone please let me know what I should do to try and debug this issue? I have had a look in the logs and it doesn't show anything useful.

I am running the standalone installation of Jira 4.4 on Linux, Ubuntu 10.04 LTS.

Edit:
Taking some advice from the comments I have tried to watch the logs when I restarted the service and we have the following erros: (sorry for the external link but i tried pasting it in and it was a bit messy) http://pastebin.com/TnpKhvr1

the main line of the backtrace is:

  1. 2011-08-10 14:28:14,336 main WARN [plugin.osgi.factory.OsgiPlugin] Unable to install plugin 'com.atlassian.activeobjects.activeobjects-plugin'
  2. com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle

6 answers

1 accepted

5 votes
Answer accepted
Andrew Manson August 9, 2011

The solution is to delete the .bundled-plugins/ folder and the .osgi-plugins/ folder from JIRA_HOME. They will be recreated on the next start up.

http://confluence.atlassian.com/display/JIRAKB/JIRA+Fails+to+Start+Due+to+%27com.atlassian.plugin.osgi.container.OsgiContainerException+Unable+to+install+bundle%27+Errors+During+Plugin+Loading

5 votes
Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2011

Before panicking,

1) check permissions in the /var/atlassian/application-data/jira/plugins/.bundled-plugins/ (jira needs to write here), I suppose JIRA_HOME is set to /var/atlassian/application-data/jira/, make it writable for Jira. Check the user under you launch jira

2) Ubuntu comes with an OpenJDK by default. Make sure you do not run Jira with that JVM.

3) Backup (tar.gz), then remove the jar which is causing problems from /var/atlassian/application-data/jira/plugins/.bundled-plugins/ (in your case the active objects plugin). Check first if you can open it with unzip (unzip -t)

Andrew Manson August 9, 2011

1) /var/atlassian/application-data/jira/plugins/.bundled-plugins/ and everything in it is owned by jira and user has write permission.

1) /var/atlassian/application-data/jira/ and everything in it is owned by jira and user has write permission.

2) I'm using the Standalone edition so it comes with its own JVM which is printed out every time jira starts: Using JRE_HOME: /opt/atlassian/jira/jre/

3) Tired removing the problematic plugin which just keeps getting recreated every time I start the service.
So I don't know what to do! Thank you for your suggestions so far though


Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2011

Ok, check also atlassian-jira/WEB-INF/classes/atlassian-bundled-plugins.zip. It needs at least read permission and it should be a valid archive.

To explain it, this is where the bundled plugins are kept. It seems to me that your install is somehow corrupted (disk problems ?).

2 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 9, 2011

No way of knowing. I know you've said you've read the log file, and said "it doesn't show anything useful", but we don't know that. Are there any errors at all? It's very likely to already contain the message you're seeing under the description too - look in that area.

Andrew Manson August 9, 2011

I have investigated the issue further and when i said the log "doesn't show anything useful" I meant when i tried to access the frontpage, not when I was strting the service. The logs have a whole load of information when I startup the service like:

2011-08-10 14:28:14,336 main WARN [plugin.osgi.factory.OsgiPlugin] Unable to install plugin 'com.atlassian.activeobjects.activeobjects-plugin'
com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle

I will edit my question to include this extra information

1 vote
joseph nguyen January 29, 2013

i got the same error, as i edited the backup option and restarted jira. found out that i shut down jira when a backup cycle was running and it corrupted the backup file.

when i deleted the corrupted backup file, jira starts up fine.

so, apparently the startup process reads the latest backup file for some reason.

0 votes
J. Wilkes August 1, 2012

Another, rather simple reason might be your disk quota was reached; you may want to check for this as well.

0 votes
Eva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2011

Are you looking for the right log? If you see this error in startup, you should have seen the errors on the atlassian.log, which show all the plugin you have and the block of errors during startup.

When I get lock issue, I usually just stop and restart JIRA and it works fine for me. If it's a plugin you just installed (seem like the case from the error), then perhaps you can remove that plugin file in installed-plugin folder?

Andrew Manson August 9, 2011

I haven't added any plugins to the jira system, the only thing I did was to enable the GreenHopper functionality in my free trial and then I had to restart the server. Is it safe, do you think, to remove/uninstall a core plugin like 'com.atlassian.activeobjects.activeobjects-plugin'?

Suggest an answer

Log in or Sign up to answer