Hi community, after installing Jira Software 7.10.0 as a service, when executing:
/etc/init.d/jira start as root
I get following error message and Jira does not start:
To run JIRA in the foreground, start the server with start-jira.sh -fg
executing using dedicated user: jira
bash: ./startup.sh: Permission denied
Can you please help me fix this?
@Hyd3kYou will need to give the user jira permission to run this file.
there are many ways to do this, but i suggest this.
1. add user(jira) to the ownership group
go to where you have the startup jira script in mine its here /opt/jira/bin/
enter the command ls - al ( you will see the owner group of the file start-jira.sh)
use the command
sudo usermod -a -G groupname username
2. then execute the command( recursively giving executable permission including all subfiles)
chmod -R +xr /opt/jira/bin
This should do best!.
Thanks for the suggestion and it worked. We have fixed the Jira service startup problem by adding the jira user to the root group as follows:
sudo usermod -a -G root jira
But my question is, the install should take care of this right. Why we have to do this explicitly?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Hyd3k,
the output says, that the user jira is used to run that service.
Can you please check, if that user has permission for the jira installation and data home directories.
it seems, as if the user has at least no permission to ./startup.sh
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.