Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira 7.10.0 wont start as a service

Hyd3k
Contributor
June 9, 2018

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?

2 answers

1 accepted

1 vote
Answer accepted
Moses Thomas
Community Champion
June 10, 2018

@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!.

Hyd3k
Contributor
June 10, 2018

Worked, thanks a lot.

Reddiah Prathipati
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 27, 2020

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?

1 vote
Bastian Stehmann
Community Champion
June 10, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events