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

Jens Kisters //SeibertSolutions
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2019

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

0 votes
Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2019

@Jens Kisters //SeibertSolutions 

 

Hi Jens

is your init.d script executable?

 

Cheers

Kurt

Jens Kisters //SeibertSolutions
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2019

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

kind regards

Jens

Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2019

@Jens Kisters //SeibertSolutions 

 

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