I am using JIRA server 7.1.9
I have configure background index for jira at 12:00 am daily. This is trigger using jira REST api. I am using this for past 3-4 months
Last night when reindexing happpened following error occoured; after that jira stopped responding, and I had to manually delete indexes and re build them after starting jira.
2019-05-22 00:00:03,553 JiraTaskExectionThread-435 INFO rms 0x3925685x1 t0u3yz 180.151.75.219 /rest/api/2/reindex [c.a.j.issue.index.De
faultIndexManager] Reindexing 136389 issues in the background.
2019-05-22 00:00:44,040 ISSUE-indexQueue:thread-1 INFO [c.a.j.r.v2.index.ReindexResource] Re-indexing is 1% complete. Current inde
x: Issue
2019-05-22 00:01:21,686 ISSUE-indexQueue:thread-1 INFO [c.a.j.r.v2.index.ReindexResource] Re-indexing is 2% complete. Current inde
x: Issue
2019-05-22 00:01:52,660 ISSUE-indexQueue:thread-1 INFO [c.a.j.r.v2.index.ReindexResource] Re-indexing is 3% complete. Current inde
x: Issue
Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file /var/atlassian/application-data/jira/log/atlassian-jira-gc-2019-05-22_0655.
log due to No such file or directory
Can someone help me why this issue occoured, and how can i prevent this in future.
Thanks in advance
Looking at the last line, did you check if the directory structure is there, if there have been any changes to the folder permissions and if there have been any disk related messages?
Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file /var/atlassian/application-data/jira/log/atlassian-jira-gc-2019-05-22_0655.
log due to No such file or directory
Cheers
Kurt
thanks for the reply,
No there was no such file at that location,
and permission to its parent directory is fine.
cheers
ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your Jira system was unable to write to the disk, as the operating system blocked it. If you've checked the permissions are ok (remember Jira should be running as a dedicated user, not root or a real human user), then check the disk space and anything else that might stop it writing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply Nic,
Follow up question: Is there any issue running jira from root user? I am running jira from root user only.
thanks
appreciate your reply
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a bad security practice, as it is possible to trick a Tomcat into running code on the server if there are apps you can upload data to. Running code as root - you've handed the server to the attacker.
You should never run an externally facing service as root
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.