Different between starting jira service by "service jira start" and "start-jira.sh"

Tayyab Bashir
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.
December 12, 2016

Hi,

My JIRA server went down and wouldn't start up. 
I tried starting it as usual by "service JIRA start" command. Although the logs showed that the service had started but the application wasn't working.

So I tried to start the service by /etc/init.d/*start-jira.sh*
This has started the service. But I'm wondering why the usual normal command  wasn't  working properly. 

Can anyone tell me the difference between starting the JIRA service by those two methods? 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2016

The "service start" script is a wrapper that runs start-jira.sh but it does run in a different environment than a user logging in and running start-jira.sh

Start with a look in /var/log/messages (and other files in there if appropriate) and see if they can tell you anything about the script failing.

Suggest an answer

Log in or Sign up to answer