Hi there,
when i try to start a certain jira instance i get this error
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
Hi Kurt, yes has rwx-rx-r-x permissions and it also works when being executed.
kind regards
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jens Kisters //SeibertSolutions
One thing that comest to my mind, should
##!/bin/bash
not
#!/bin/bash
be (so only one #
Cheers
Kurt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.