2019-02-14 14:26:56,831 http-nio-8084-exec-5 ERROR anonymous 865x601x1 1iiqarv 10.64.199.30 /secure/SetupDatabase.jspa [webwork.config.XMLActionConfiguration] IO exception in file:/opt/atlassian/jira/atlassian-jira/WEB-INF/classes/actions.xmljava.io.FileNotFoundException: /opt/atlassian/jira/atlassian-jira/WEB-INF/classes/actions.xml (Too many open files) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
=======================================================
Solution:
If you are not a root user, you are only authorized to run sudo command for start.sh, shutdown.sh, Jira-start.sh, Jira-shutdown.sh.
1. You need to ask your root user account to Grant 777 to folder /opt/atlassian/jira/work/ because you need to delete the file catalina.pid first before you run the shutdown.sh command.
Delete file catalina.pid under folder /opt/atlassian/jira/work/
go to folder /opt/atlassian/jira/bin/ to run command below:
>sudo ./shutdown.sh
shutdown again one more time to ensure all processes stop.
>sudo ./shutdown.sh
Check JAVA process to see if any process running or not
>ps -ef | grep java
2. Follow instruction below to increase the limit of number files to open. Root user account has to do this.
https://confluence.atlassian.com/jirakb/loss-of-functionality-due-to-too-many-open-files-errors-156862102.html
After finishing the above task, you need to start up JIRA process. Go to folder below:
/opt/atlassian/jira/bin/ to run the startup command.
>sudo ./startup.sh
Go to your browser http://hostname:(http port number) ; example http://123.234.1.344:8080
If it is not shutting down, try to force it
>sudo ./catalina.sh stop –force (this command is under /opt/atlassian/jira/bin/ )