Launching YouTrack as a service crashes without an error message
I followed the directions for setting up YouTrack as a service provided by JetBrains, however when I try to use the command:
service youtrack start
I receive the following message:
"/home/youtrack/standalone/bin/wrapper"
"/home/youtrack/standalone/conf/wrapper.conf"
wrapper.syslog.ident=youtrack
wrapper.pidfile="/home/youtrack/standalone/youtrack.pid"
wrapper.daemonize=TRUE
It's hard to know what he's trying to say, but he clearly doesn't start off properly. After the message, nothing else happens and the standalone
youtrack.pid file does not appear in the directory .
source to share
Permissions
The directory owner has /home/youtrack
been correctly configured for the youtrack user . However, all subdirectories including standalone
were owned by root .
After using the command, the chown -R youtrack:youtrack /home/youtrack
problem was resolved.
It also made /logs/wrapper.log
it impossible to write anything correctly without write permission, hence no errors.
Memory
After correcting file / folder permissions, YouTrack still wouldn't launch. This was because the initial memory value was set to 256M
. Changing it to 512M
resolved it.
source to share