We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
配置文件里只要写上这一段 就无法启动realm [log] level = "warn" output = "/var/log/realm.log"
提示 ● realm.service - realm Loaded: loaded (/etc/systemd/system/realm.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: core-dump) since Mon 2022-04-25 15:39:00 CST; 2s ago Process: 9710 ExecStart=/etc/realm/realm -c /etc/realm/config.toml (code=dumped, signal=ABRT) Main PID: 9710 (code=dumped, signal=ABRT)
Apr 25 15:39:00 OLink systemd[1]: realm.service: Main process exited, code=dumped, status=6/ABRT Apr 25 15:39:00 OLink systemd[1]: realm.service: Failed with result 'core-dump'.
The text was updated successfully, but these errors were encountered:
可能是没有写入 /var/log/realm.log 的权限, 也有可能是整个配置文件格式错了,没法载入配置。
/var/log/realm.log
Sorry, something went wrong.
我也遇到相同的问题,把log那三行去掉就正常那个启动(systemd),单独运行systemd的命令行是正常启动的
No branches or pull requests
配置文件里只要写上这一段 就无法启动realm
[log]
level = "warn"
output = "/var/log/realm.log"
提示
● realm.service - realm
Loaded: loaded (/etc/systemd/system/realm.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: core-dump) since Mon 2022-04-25 15:39:00 CST; 2s ago
Process: 9710 ExecStart=/etc/realm/realm -c /etc/realm/config.toml (code=dumped, signal=ABRT)
Main PID: 9710 (code=dumped, signal=ABRT)
Apr 25 15:39:00 OLink systemd[1]: realm.service: Main process exited, code=dumped, status=6/ABRT
Apr 25 15:39:00 OLink systemd[1]: realm.service: Failed with result 'core-dump'.
The text was updated successfully, but these errors were encountered: