作为服务启动YouTrack失败,没有错误消息 [英] Starting YouTrack as a service fails without error message

查看:123
本文介绍了作为服务启动YouTrack失败,没有错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已遵循设置说明由JetBrains提供的YouTrack即服务,但是当我尝试使用以下命令时:

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

我收到以下消息:

"/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

很难弄清它要说的是什么,但显然不能正确启动.消息出现后,没有任何反应,standalone目录中也没有youtrack.pid出现.

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.

推荐答案

权限

目录/home/youtrack的所有者已正确设置为用户 youtrack .但是,所有子目录(包括standalone)都由 root 拥有.

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.

使用命令chown -R youtrack:youtrack /home/youtrack后,问题已解决.

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

这也导致/logs/wrapper.log在没有写权限的情况下无法正确记录任何内容,因此缺少错误.

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

修复文件/文件夹权限后,YouTrack仍然无法启动.这是由于初始存储空间设置为256M.将其更改为512M即可解决.

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.

这篇关于作为服务启动YouTrack失败,没有错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆