It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Start jira as a service: Control process exited, code exited status=203

Hi there,

when i try to start a certain jira instance i get this error

service1.PNG

service2.PNG

The start stop scripts worked just fine before i changed the init.d script to make sure that the database service doesnt shut down before jira does.

The Jira instance runs under Ubuntu 18.04 and i have successfully tested it on a test server.

Now on the productive server this problem appears.

but i can't see an error in the start script . i juist added one service under "Required-STop) (marked in bold)

##!/bin/bash
### BEGIN INIT INFO
# Provides: jira
# Required-Start: $remote_fs $syslog $time $named postgresql
# Required-Stop: $remote_fs $syslog $time $named postgresql
# Default-Start: 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Atlassian Jira
# Description: Atlassian Jira Server
### END INIT INFO
# JIRA Linux service controller script
cd "/opt/atlassian/jira/bin"

case "$1" in
start)
./start-jira.sh
;;
stop)
./stop-jira.sh
;;
restart)
./stop-jira.sh
./start-jira.sh
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac

 

thanks in advance

Jens

1 answer

@Jens Kisters 

 

Hi Jens

is your init.d script executable?

 

Cheers

Kurt

Hi Kurt, yes has rwx-rx-r-x permissions and it also works when being executed.

kind regards

Jens

@Jens Kisters 

 

One thing that comest to my mind, should

##!/bin/bash

not

#!/bin/bash

be (so only one #

 

Cheers

 

Kurt

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

245 views 1 2
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you