For starters please let me know if this is not the best forum for this request.
I've been evaluating confluence with great success until it inexplicably stopped working and none of my troubleshooting efforts so far have bourne fruit.
Attempting to reach confluence on port 8090 gives me HTTP Status 500's from a errors.jsp page and not very informative "root causes".
A summary of the infrastructure I am using;
Oracle Linux 5.7
Oracle Database 11.2
Users successfully authenticating via our Microsoft AD
I'll await feedback on the first concern above before continuing to add detail.
As you know, HTTP Status 500 is very vague error that doesn't tell us much. Try to tail <confluence-install>/logs/catalina.out and <confluence-data>/logs/atlassian-confluence.log file then replicate the issue. That should give us some clue.
From what I can tell it appears to be an file/software ownership issue.
Firstly, confluence had been working as a fresh install for about 1 week, and I believe it is installed as per the install doco. I accept I may have missed something but would be surprised that it took this long to for any mistep to rear its head in the form of such errors.
To upload the copious amounts of information from the two log files you refer to would be messy, but can be done if you really really want. For the sake of brevity I'll try to only post what is relevant.
When I bounced confluence with "service confluence stop" and "service confluence start" I noted the following in the catalina.out file;
java.io.FileNotFoundException: /var/atlassian/application-data/confluence/logs/atlassian-confluence.log (Permission denied)
NB. Nothing at all apeared in the atlassian-confluence.log file.
I changed the ownership of that file just to see what would happen and although there was some progress the end result of the web service at port 8090 was the same. There was some additional output in the atlassian-confluence.log file this time however. Regardless ther were some additional messages about file permissions in the atlassian-confluence.log file.
I have seen similar messages in logs of other webapps I have used and a common problem is "somebody started the webapp as root".
I noted that the/etc/init.d/confluence service script must be run as root however the version configured by the installer does not "su" as the confluence user, however I have not investigated the child scripts yet to determine the ownership flow, but suffice to say the evidence does point to a possible problem here.
I noted the article;
which seems somewhat woefully out of date (still pointing to java 1.5) and noted that it does "su" as confluence but points to different start/stop scripts than the version I am evaluating.
Anyway Jing I'm prepared to keep plugging away to find a root cause and any assistance from yourself or others at Atlassian would be appreciated.
It does seem like a permission issue. Try to check the permission for all the file in the Confluence data folder (var/atlassian/application-data/)
After that, assign the permission to the appropriate if needed
chown -R user /path/to/dir
I've reread the install doco and I believe there is nothing for or against installing confluence as root or otherwise, on linux.
I recall I installed as root, which as per the doco, has created a confluence user account to run the application. I'm reluctant to go about changing the ownership on entire directory trees in an ad-hoc fashion unless you/Atlassian can point me towards a confluence knowledge-base article or similar. Alternatively I can assist a more in-depth analysis by providing more log data and such.
If I had a paid for confluence license I'd currently be in a lot of strife. Suffice to say the evaluation has hit a snag and its not looking good for confluence...
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs