11 Eylül 2012 Salı

confluence suddenly unusable -- java error

System Error
A system error has occurred — our apologies!
For immediate troubleshooting, consult our knowledge base for a solution.
If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:
a description of your problem and what you were doing at the time it occurred
a copy of the error and system information found below
a copy of the application logs (if possible).
Your Confluence administrator can use the support request form to create a support ticket which will include this information.
We will respond as promptly as possible.
Thank you!
Return to site homepage…
The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report.
The SystemInformationService could not be retrieved due to the following error: java.lang.NullPointerException
Cause
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:152)
caused by: java.lang.NullPointerException
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)

If you get this error message, permission error may cause this error.
To solve it,
1. Go to your confluence home directory
2. list all items with ls -al

testwww1:/usr/local/confluence-data# ls -al
total 152
drwx--S---  19 confluence confluence  4096 2012-08-20 10:27
(...)
drwxr-sr-x   2 root       confluence  4096 2012-07-10 15:41 plugins-cache

3. Then, (Our) Confluence is running with confluence user, so permissions were wrong (without writing for group). When I changed owner with:

chown -R confluence:confluence confluence
chown -R confluence:confluence confluence-data
 and restarted Confluence with
/etc/init.d/confluence restart
 it raised up and is working. Hope you will find it useful :)

Hiç yorum yok:

Yorum Gönder