Thursday, April 25, 2019

boot - Cannot automatically start JIRA via init.d script



I am running Atlassian JIRA on Ubuntu 12.04 LTS (Precise Pangolin). I would like to automatically start JIRA whenever the system boots. For this purpose, I created script jira in /etc/init.d, similar to the one described in Atlassian's Wiki.



I can manually start / stop JIRA by calling /etc/init.d/jira accordingly. However, JIRA does not start during the boot process. In /var/log/boot.log I see messages like Starting jira... and jira started... which I added in /etc/init.d/jira; however, it seems that the Java process does not survive the boot process as there is no Java process after reboot.



Any idea why the Java process does not outlive the boot process?




Thanks,



Martin



In the end, this solved the problem: https://confluence.atlassian.com/display/JIRA/Starting+JIRA+Automatically+on+Linux?focusedCommentId=214865540#comment-214865540


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...