Starting YouTrack as a service fails without error message

风格不统一 提交于 2019-12-07 22:27:50

问题


I've followed the directions to setup YouTrack as a service provided by JetBrains, however when I try to use the command:

service youtrack start

I get 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

Difficult to figure what it's trying to say but it clearly does not start properly. After the message nothing more happens and no youtrack.pid appears in the standalone directory.


回答1:


Permissions

The owner of the directory /home/youtrack was set properly to the user youtrack. However all subdirectories, including standalone were all owned by root.

After using the command chown -R youtrack:youtrack /home/youtrack, the problem was solved.

This also caused /logs/wrapper.log to not be able to properly log anything without write permissions, hence the lack of errors.

Memory

After fixing the file/folder permissions, YouTrack was still failing to start. This was due to the initial memory allowance being set to 256M. Changing it to 512M solved it.



来源:https://stackoverflow.com/questions/22849379/starting-youtrack-as-a-service-fails-without-error-message

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!