Ensure JIRA has permission to create and write to the jira.home directory /data/atl/jira/home
.
Review our documentation for more information on setting your JIRA home.
Pls help to resolve this issue
Thanks,
Prasad
The user which is running the start doesn't have these permissions.
The quick fix is to go the server as the jira user and create /data/atl/jira/home yourself.
Note it not advised to create the home directory within the same directory tree as the Jira application as it can cause issues in upgrading.
Resolved but throwing the following error
10.53.0.22 refused to connect.
Try:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira may not be starting at all.
check for the process 'ps -ef | grep java'
check the atlassian-jira.log file in /jira-home/log directory
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After executing
sudo chown -R jirauser:jiragroup /path/to/jirahome
sudo chown -R jirauser:jiragroup /path/to/jirainstall
chmod -R u=rwx,go-rwx,o-rwx /path/to/jirahome
chmod -R u=rwx,go-rwx,o-rwx /path/to/jirainstall
I am not able to start jira from bin throwing the following error now
earlier i used to start and stop as a service also now not able to start and stop from bin also
***************************************************
[root@ip-10-53-0-22 bin]# sudo ./start-jira.sh
To run Jira in the foreground, start the server with start-jira.sh -fg
executing using dedicated user: jira3
bash: ./startup.sh: Permission denied
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you screenshot the exact commands you ran?
Also ls-al your Jira & home directories.
PS
If you reply to the posted answer it will be easier for us to read the post and mark the correct solution is resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @prasad biddika ,
Hope you are doing good!!
It means Jira is unable to read or write the data in Jira Home directory.
So, you need check the ownership and permission of Home Directory.
sudo chown -R jirauser:jiragroup /path/to/jirahome
sudo chown -R jirauser:jiragroup /path/to/jirainstall
chmod -R u=rwx,go-rwx,o-rwx /path/to/jirahome
chmod -R u=rwx,go-rwx,o-rwx /path/to/jirainstall
For more information you may please have a look at How to fix directory permissions in Linux for Jira Server
Hope this information helps!
Regards,
Mayur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @prasad biddika ,
You have to check the dedicated user bu navigaing to cd /op/atlassian/jira/bin and cat user,sh and check the user. I think in your case it is jira3.
sudo chown -R jira3:jira3 /path/to/jirahome
sudo chown -R jira3:jira3 /path/to/jirainstall
chmod -R u=rwx,go-rwx,o-rwx /path/to/jirahome
chmod -R u=rwx,go-rwx,o-rwx /path/to/jirainstall
Hope this will solve the 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.