更改seahubsetting里的邮件设置,然后重启seafile、seahub提示错误。web1正常重启,web2提示下面:
Job for seafile.service failed because the control process exited with error code. See “systemctl status seafile.service” and “journalctl -xe” for details.
更改seahubsetting里的邮件设置,然后重启seafile、seahub提示错误。web1正常重启,web2提示下面:
Job for seafile.service failed because the control process exited with error code. See “systemctl status seafile.service” and “journalctl -xe” for details.
看一下是什么报错 gunicorn.conf.py daemon = True 改成 False 手动启动seahub.sh 看一下是因为什么报错
[root@web2-seafile conf]# systemctl restart seafile
Job for seafile.service failed because the control process exited with error code. See “systemctl status seafile.service” and “journalctl -xe” for details.
[root@web2-seafile conf]# systemctl status seafile.service
● seafile.service - Seafile Server
Loaded: loaded (/etc/systemd/system/seafile.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2023-03-16 16:03:41 CST; 6min ago
Process: 30335 ExecStop=/opt/seafile/seafile-server-latest/seafile.sh stop (code=exited, status=0/SUCCESS)
Process: 15268 ExecStart=/opt/seafile/seafile-server-latest/seafile.sh start (code=exited, status=1/FAILURE)
Main PID: 15268 (code=exited, status=1/FAILURE)
– The start-up result is done.
Mar 16 16:10:01 web2-seafile CROND[16874]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Mar 16 16:10:01 web2-seafile CROND[16875]: (root) CMD (/bin/bash /etc/titanagent/agent_update_exception.sh >> /var/log/titanagent/check.o.log 2>>
Mar 16 16:10:02 web2-seafile avahi-daemon[19004]: Server startup complete. Host name is web2-seafile-1898689.local. Local service cookie is 37764
…………
Withdrawing workstation service for lo.
Mar 16 16:10:02 web2-seafile avahi-daemon[19004]: Host name conflict, retrying with web2-seafile-1898690
…………
请问重启seafile和重启seahub是相同效果吗?/opt/seafile/seafile-server-latest/seahub.sh restart这个seahub可以重启。
修改了seafile.conf文件是需要重启seafile还是启seafile和seahub都重启呢,看web2里重启seafile失败conf也没生效。谢谢