都显示错误,不知道为什么


#1

seahub.log 错误

2017-01-09 12:55:36,015 [ERROR] seahub.api2.endpoints.shared_repos:49 get Error received: 511 Unknown service (In _start_service)
2017-01-09 12:55:37,645 [ERROR] seahub.api2.endpoints.shared_folders:47 get Error received: 511 Unknown service (In _start_service)
2017-01-09 12:55:38,905 [ERROR] seahub.api2.endpoints.shared_folders:47 get Error received: 511 Unknown service (In _start_service)
2017-01-09 12:56:06,108 [ERROR] seahub.api2.endpoints.shared_repos:49 get Error received: 511 Unknown service (In _start_service)
2017-01-09 12:56:07,125 [ERROR] seahub.api2.endpoints.shared_folders:47 get Error received: 511 Unknown service (In _start_service)
2017-01-09 12:56:20,285 [ERROR] seahub.api2.views:573 post Error received: 511 Unknown service (In _start_service)
2017-01-09 13:11:13,128 [ERROR] seahub.api2.endpoints.admin.sysinfo:37 get Error received: 511 Unknown service (In _start_service)
2017-01-09 13:11:57,174 [ERROR] seahub.api2.endpoints.admin.sysinfo:37 get Error received: 511 Unknown service (In _start_service)
2017-01-09 13:13:27,208 [ERROR] seahub.views:90 get_system_default_repo_id Error received: 511 Unknown service (In _start_service)
2017-01-09 13:13:27,210 [ERROR] seahub.api2.endpoints.admin.system_library:31 get Error received: 511 Unknown service (In _start_service)
2017-01-09 13:13:34,755 [ERROR] seahub.views:90 get_system_default_repo_id Error received: 511 Unknown service (In _start_service)
2017-01-09 13:13:34,757 [ERROR] seahub.api2.endpoints.admin.system_library:31 get Error received: 511 Unknown service (In _start_service)


#2

底层的程序没有运行,查看一下 ../logs/seafile.log, ../logs/ccnet.log, ../logs/controller.log 中有什么信息。


#3

seafile.log

[01/09/2017 01:38:57 PM] http-server.c(2017): Could not bind socket: Address already in use
[01/09/2017 01:39:07 PM] …/common/mq-mgr.c(54): [mq client] mq cilent is started
[01/09/2017 01:39:07 PM] http-server.c(2017): Could not bind socket: Address already in use
[01/09/2017 01:39:17 PM] …/common/mq-mgr.c(54): [mq client] mq cilent is started
[01/09/2017 01:39:17 PM] http-server.c(2017): Could not bind socket: Address already in use

ccnet.log

[01/09/17 12:45:23] …/common/session.c(132): using config file /home/nas/conf/ccnet.conf
[01/09/17 12:45:23] …/common/session.c(455): socket file exists, delete it anyway
[01/09/17 12:45:23] …/common/session.c(484): Listen on /home/nas/ccnet/ccnet.sock for local clients
[01/09/17 12:45:23] …/common/session.c(290): Update pubinfo file
[01/09/17 12:45:24] …/common/session.c(398): Accepted a local client
[01/09/17 12:45:24] …/common/session.c(398): Accepted a local client
[01/09/17 12:45:24] …/common/session.c(398): Accepted a local client
[01/09/17 12:45:24] …/common/session.c(398): Accepted a local client
[01/09/17 12:45:24] …/common/peer.c(943): Local peer down
[01/09/17 12:45:24] …/common/peer.c(943): Local peer down
[01/09/17 12:45:32] …/common/session.c(398): Accepted a local client
[01/09/17 12:45:32] …/common/peer.c(943): Local peer down
[01/09/17 12:45:34] …/common/session.c(398): Accepted a local client
[01/09/17 12:45:34] …/common/session.c(398): Accepted a local client
[01/09/17 12:45:34] …/common/peer.c(943): Local peer down
[01/09/17 12:45:34] …/common/peer.c(943): Local peer down
[01/09/17 12:45:44] …/common/session.c(398): Accepted a local client
[01/09/17 12:45:44] …/common/session.c(398): Accepted a local client
[01/09/17 12:45:44] …/common/peer.c(943): Local peer down
[01/09/17 12:45:44] …/common/peer.c(943): Local peer down

controller.log

[01/09/17 13:41:07] seafile-controller.c(73): spawn_process: seaf-server -F /home/nas/conf -c /home/nas/ccnet -d /home/nas/seafile-data -l /home/nas/logs/seafile.log -P /home/nas/pids/seaf-server.pid
[01/09/17 13:41:07] seafile-controller.c(88): spawned seaf-server, pid 4614
[01/09/17 13:41:17] seafile-controller.c(396): pid file /home/nas/pids/seaf-server.pid does not exist
[01/09/17 13:41:17] seafile-controller.c(416): seaf-server need restart…
[01/09/17 13:41:17] seafile-controller.c(186): starting seaf-server …
[01/09/17 13:41:17] seafile-controller.c(73): spawn_process: seaf-server -F /home/nas/conf -c /home/nas/ccnet -d /home/nas/seafile-data -l /home/nas/logs/seafile.log -P /home/nas/pids/seaf-server.pid
[01/09/17 13:41:17] seafile-controller.c(88): spawned seaf-server, pid 4619
[01/09/17 13:41:27] seafile-controller.c(396): pid file /home/nas/pids/seaf-server.pid does not exist
[01/09/17 13:41:27] seafile-controller.c(416): seaf-server need restart…
[01/09/17 13:41:27] seafile-controller.c(186): starting seaf-server …
[01/09/17 13:41:27] seafile-controller.c(73): spawn_process: seaf-server -F /home/nas/conf -c /home/nas/ccnet -d /home/nas/seafile-data -l /home/nas/logs/seafile.log -P /home/nas/pids/seaf-server.pid
[01/09/17 13:41:27] seafile-controller.c(88): spawned seaf-server, pid 4624


#4

应该是端口已被占用了


#5

哪个端口被占用??????


#6

https://manual-cn.seafile.com/deploy_windows/ports_used_by_seafile_windows_server.html


#7

搞定,谢谢!!!!!!


#8

这个问题怎么解决的?谢谢