如图:
然后无法启动seahub
但是将邮件配置全部注释掉,seahub重启就成功。通过查看日志:
Jul 22 17:28:03 VM_0_8_centos systemd: Stopping Seafile Seahub…
Jul 22 17:28:03 VM_0_8_centos seahub.sh: Stopping seahub …
Jul 22 17:28:04 VM_0_8_centos seahub.sh: Done.
Jul 22 17:28:04 VM_0_8_centos systemd: Stopped Seafile Seahub.
Jul 22 17:28:04 VM_0_8_centos systemd: Starting Seafile Seahub…
Jul 22 17:28:04 VM_0_8_centos seahub.sh: LC_ALL is not set in ENV, set to en_US.UTF-8
Jul 22 17:28:04 VM_0_8_centos seahub.sh: Starting seahub at port 8000 …
Jul 22 17:28:05 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/thirdpart/gunicorn’
Jul 22 17:28:06 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:28:10 VM_0_8_centos seahub.sh: #033[33mError:Seahub failed to start.#033[m
Jul 22 17:28:10 VM_0_8_centos seahub.sh: Please try to run “./seahub.sh start” again
Jul 22 17:28:10 VM_0_8_centos systemd: seahub.service: main process exited, code=exited, status=1/FAILURE
Jul 22 17:28:10 VM_0_8_centos systemd: Failed to start Seafile Seahub.
Jul 22 17:28:10 VM_0_8_centos systemd: Unit seahub.service entered failed state.
Jul 22 17:28:10 VM_0_8_centos systemd: seahub.service failed.
Jul 22 17:28:14 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:28:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:29:01 VM_0_8_centos systemd: Started Session 439 of user root.
Jul 22 17:29:14 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:29:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:30:01 VM_0_8_centos systemd: Started Session 440 of user root.
Jul 22 17:30:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:30:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:31:01 VM_0_8_centos systemd: Started Session 441 of user root.
Jul 22 17:31:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:31:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:32:01 VM_0_8_centos systemd: Started Session 442 of user root.
Jul 22 17:32:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:32:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:33:01 VM_0_8_centos systemd: Started Session 443 of user root.
Jul 22 17:33:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:33:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:34:01 VM_0_8_centos systemd: Started Session 444 of user root.
Jul 22 17:34:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:34:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:34:32 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:34:33 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:34:33 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:34:33 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:35:01 VM_0_8_centos systemd: Started Session 445 of user root.
Jul 22 17:35:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:35:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:36:01 VM_0_8_centos systemd: Started Session 446 of user root.
Jul 22 17:36:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:36:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:37:01 VM_0_8_centos systemd: Started Session 447 of user root.
Jul 22 17:37:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:37:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:38:01 VM_0_8_centos systemd: Started Session 448 of user root.
Jul 22 17:38:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:38:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:38:32 VM_0_8_centos systemd-logind: Removed session 436.
Jul 22 17:38:32 VM_0_8_centos systemd: Removed slice User Slice of root.
Jul 22 17:39:01 VM_0_8_centos systemd: Created slice User Slice of root.
Jul 22 17:39:01 VM_0_8_centos systemd: Started Session 449 of user root.
Jul 22 17:39:01 VM_0_8_centos systemd: Removed slice User Slice of root.
Jul 22 17:39:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:39:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:40:01 VM_0_8_centos systemd: Created slice User Slice of root.
Jul 22 17:40:01 VM_0_8_centos systemd: Started Session 450 of user root.
Jul 22 17:40:01 VM_0_8_centos systemd: Removed slice User Slice of root.
Jul 22 17:40:15 VM_0_8_centos python2.7: detected unhandled Python exception in ‘/opt/seafile/seafile-pro-server-7.0.5/seahub/manage.py’
Jul 22 17:40:15 VM_0_8_centos python2.7: can’t communicate with ABRT daemon, is it running? [Errno 2] No such file or directory
Jul 22 17:40:22 VM_0_8_centos systemd: Created slice User Slice of root.
Jul 22 17:40:22 VM_0_8_centos systemd: Started Session 451 of user root.
我发现是某个.py文件引起的。有人可以帮帮我吗