SEVERE: Unable to create directory for deployment: /opt/atlassian/jira/conf/Catalina/localhost
Thought it might have to do with no DB being established yet, but I see the comments in the server.xml file that DB is set up the first time you log in to jira.
Installed jira 6.1 on CentOS server. The installer didn't indicate any errors. No errors indicated when I run "service jira start" but I just cannot connect to the instance via browser. I've tried both the express setup and the custom setup.
Looks like a permissions issue, but I installed as root, changed owner to jira, set the appropriate execute permissions...
Hi Brian
It looks you haven't give permissions to the jira user that is starting JIRA to the JIRA folders. This documentation might help: https://confluence.atlassian.com/display/JIRAKB/JIRA+Generates+a+FileNotFoundException+due+to+Permission+denied
Hope it helps,
Ricardo Carracedo.
There's a known bug in the 6.1 Linux installer causing the "SEVERE: Unable to create directory for deployment: /opt/atlassian/jira/conf/Catalina/localhost" message in catalina.out.
If you've run the installer as "root", /opt/atlassian/jira/conf
is owned by root:root with 755 permissions.
Solution:
chown -R jira:root /opt/atlassian/jira/conf/
This allows the "jira" user to populate the Catalina tree. No more SEVERE errors are logged.
Atlassian acknowledged this is a problem with 6.1 installer which should be fixed in 6.2 (which I have not yet tested).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are using Jira 6.2.7 and ran into the same exact issue. Thanks for the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just installed a fresh new JIRA 7.1.1 on Linux and ran (again) into the same exact problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also happens with 7.1.9 on Linux
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried giving permission but the installation still fails with error:
17-Mar-2020 16:58:31.462 SEVERE [Catalina-startStop-1] org.apache.catalina.startup.HostConfig.beforeStart Unable to create directory for deployment: [/opt/atlassian/jira/conf/Catalina/localhost]
If I try to create it manually it works fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
JIRA logs started but nginx logs not started? Also unable access the JIRA in browser getting blank screen...
Does anyone have idea to resolve this issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm on JIRA 6.2.7 and ran into the same exact issue. Need to do what 'S Stack' specified and that fixed it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian, Michael...
Any more info on this issue I am having the same trouble
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Ian, I'm still stuck with this problem too. Any time I need to reboot, I have to manually clear out the /opt/atlassian/jira/work/ directory, and then manually re-create the Catalina/localhost folder. PITB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Brian - curious what you mean by "set my.conf to localhost"
I'm guessing you meant my.cnf? Even then, what config variable do you set to localhost within my.cnf? The bind-address? (bind-address = 127.0.0.1 is what I currently have there)
I'm having the same issue you describe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was an internal firewall issue. SMH
I had to change iptables, and set my.conf to localhost.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was an internal firewall issue. SMH
I had to change iptables, and set my.conf to localhost.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error message is coming from the catalina.out file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error message is coming from the catalina.out file.
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.