right now I can only start Jira logged in as root and using sh /opt/atlassian/jira/bin/catalina.sh run

I'm sure its permissions, because if I try the same as the user when jira was installed 'jira1' it does not start. so I'd like some reference as to what I can do to resolve this so jira1 can start jira.

also I would have to leave this ssh session running to keep jira running, which I don't really want to.

I would like to have a script to run at system start that would start Jira for me.

I found this:


which is a file called jira1 in /etc/init.d, but that didn't seem to work either and I'm not sure where logs would be telling me at what step the start has failed.

this is the file jira1:

#!/bin/sh -e

# JIRA startup script

#chkconfig: 2345 80 05

#description: JIRA

# Define some variables

# Name of app ( JIRA, Confluence, etc )


# Name of the user to run as


# Location of application's bin directory


# Location of Java JDK

export JAVA_HOME=/usr/lib/jvm/java-6-sun

case $1 in

# Start command


echo Starting $APP

/bin/su -m $USER -c cd $BASE/logs && $BASE/bin/startup.sh &> /dev/null


# Stop command


echo Stopping $APP

/bin/su -m $USER -c $BASE/bin/shutdown.sh &> /dev/null

echo $APP stopped successfully


# Restart command


$0 stop

sleep 5

$0 start



echo Usage: /etc/init.d/$APP {start|restart|stop}

exit 1



exit 0

1 answer

1 accepted

1 vote
Accepted answer

There should be a 'jira1' user on your system which was created by the Jira setup. This user has to have some rights in the Jira Home and Installation Directory.

Just take a look there - maybe the files are belonging to the 'jira' user without the '1'.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,098 views 4 9
Read article

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