How to install jira in cPanel VPS

Hello, i try to install Jira from .bin on VPS with cPanel.

Location of jira install /home/user/public_html/

location of data files /var/atlassian/application-data/jira

when try to start jira from /home/user/public_html/bin/start-jira.sh i get :

To run JIRA in the foreground, start the server with start-jira.sh -fg

executing using dedicated user: jira

./startup.sh: line 62: /home/user/public_html/bin/catalina.sh: Permission denied

./startup.sh: line 62: exec: /home/user/public_html/bin/catalina.sh: cannot execute: Permission denied

i have tried to change owner and permissions, but not results.
thanks,
Mihai

5 answers

1 accepted

1 vote
Accepted answer

any sugestions ?

-rwxr-xr-x 1 jira jira 19189 Aug 28 09:53 catalina.sh - not working , same messege:

To run JIRA in the foreground, start the server with start-jira.sh -fg

executing using dedicated user: jira

./startup.sh: line 62: /home/user/public_html/bin/catalina.sh: Permission denied

./startup.sh: line 62: exec: /home/user/public_html/bin/catalina.sh: cannot execute: Permission denied

-rwxr-xr-x 1 root root 19189 Aug 28 09:53 catalina.sh - same error
-rwxr-xr-x 1 user user 19189 Aug 28 09:53 catalina.sh - same error, "user" is cPanel user

You've used three different user-owners and two different login users there and not explained what combinations you've tried.

The first file looks right to me, because it's owned by the Jira user. So you need to run it as the Jira user. Or change it to another appropriate user. Make sure you have done this for ALL the files in the Jira installation though.

Once you've got the permissions lined up correctly, then the other thing that may throw "permission denied" type errors is SELinux - you might need to look into telling that to let it run.

here's an example

all files and folders from /home/user/public_html/jira/ (install folder changed from previos post) have owner jira:jira

./start-jira.sh

To run JIRA in the foreground, start the server with start-jira.sh -fg

executing using dedicated user: jira

./startup.sh: line 62: /home/linuxzon/public_html/jira/bin/catalina.sh: Permission denied

./startup.sh: line 62: exec: /home/linuxzon/public_html/jira/bin/catalina.sh: cannot execute: Permission denied

SELinux status: disabled

Just to clarify: are you doing this within a web folder that's under cPanel itself?

0 votes

You say you've tried to change owner and permissions - could you explain what you've done there? Might be easiest to show us the results of "ls -l catalina.sh" and tell us who the current user is, the one you're running Jira as.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,285 views 17 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you