安装完transmission-daemon后,启动transmission-daemon时报错!咋办?
启动命令为:
sudo service transmission-daemon start
报错信息如下:
Failed to get properties: Unit name cockpit-wsinstance-https@.socket is neither a valid invocation ID nor unit name.
Job for transmission-daemon.service failed because the control process exited with error code.
See "systemctl status transmission-daemon.service" and "journalctl -xe" for details.
现在假设你是这样操作的:
你修改/etc/transmission-daemon/settings.json文件,保存然后兴高采烈的运行
systemctl restart transmission-daemon.service
结果:
Job for nginx.service failed because the control process exited with error code. See "systemctl status transmission-daemon.service" and "journalctl -xe" for details.
心儿哇凉的你搜索了:
Job for nginx.service failed because the control process exited with error code. See "systemctl status transmission-daemon.service" and "journalctl -xe" for details.
按照首页的很多办法试图解决,都失败了,你有点悲痛欲绝了,直到看到这个问题下的采纳答案:
Centos7编译安装nginx问题?
你仿佛看到了希望,于是你搜索了/usr/lib/systemd/system 目录下的nginx.service,找到了,发现依然无效,要放弃了吧?哈哈哈,来看看这个答案。
就是你正在看着的这个答案:
一切的一切在你修改/etc/transmission-daemon/settings.json文件的那一刻,都已注定:你修改的语句末尾少了分号 “,”
打开settings.json,逐字逐句检查每句代码后面是否有缺少“,”,缺了补上,:wq保存,运行systemctl restart transmission-daemon.service
你运行了systemctl restart transmission-daemon.service,成功!再打开web客户端,哈哈哈!终于不再是这样的:
不过,这个界面好丑噢!怎么变漂亮啊?看我下一篇文章!
最后一次更新于2020-09-27
0 条评论