Youtrack 6 reboot fails on Fedora and Java Wrapper
I followed http://confluence.jetbrains.com/display/YTD6/Linux.+YouTrack+JAR+as+a+Service on Fedora server. Launching Youtrack 6 as "youtrack" user with
/etc/init.d/youtrack start
Command starts up correctly. I added the youtrack service wrapper on boot
/sbin/chkconfig --add youtrack
teams. But after rebooting the server, Youtrack doesn't work.
journalctl -xn
Command only gives me this hint
systemd[4000]: Failed at step EXEC spawning /etc/rc.d/init.d/youtrack: Exec format error
I have set my permissions as in this thread `` Running YouTrack as a service crashing with no error message ''
But the error still occurs. I pasted the default template from the tutorial "/etc/rc.d/init.d/youtrack" with only one change:
#export JAVA_HOME=/usr/java/jdk1.6.0_21
export JAVA_HOME=/usr/java/latest
/ usr / java / latest points to Oracle JDK 8.
+3
source to share