[root@localhost logs]# tail -n 30 seahub.log
return super(APIView, self).handle_exception(exc)
File “/opt/seafile/seafile-pro-server-9.0.5/seahub/thirdpart/rest_framework/views.py”, line 465, in handle_exception
self.raise_uncaught_exception(exc)
File “/opt/seafile/seafile-pro-server-9.0.5/seahub/thirdpart/rest_framework/views.py”, line 476, in raise_uncaught_exception
raise exc
File “/opt/seafile/seafile-pro-server-9.0.5/seahub/thirdpart/rest_framework/views.py”, line 493, in dispatch
self.initial(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-9.0.5/seahub/thirdpart/rest_framework/views.py”, line 410, in initial
self.perform_authentication(request)
File “/opt/seafile/seafile-pro-server-9.0.5/seahub/thirdpart/rest_framework/views.py”, line 324, in perform_authentication
request.user
File “/opt/seafile/seafile-pro-server-9.0.5/seahub/thirdpart/rest_framework/request.py”, line 220, in user
self._authenticate()
File “/opt/seafile/seafile-pro-server-9.0.5/seahub/thirdpart/rest_framework/request.py”, line 373, in _authenticate
user_auth_tuple = authenticator.authenticate(self)
File “/opt/seafile/seafile-pro-server-9.0.5/seahub/seahub/api2/authentication.py”, line 66, in authenticate
ret = self.authenticate_v2(request, key)
File “/opt/seafile/seafile-pro-server-9.0.5/seahub/seahub/api2/authentication.py”, line 102, in authenticate_v2
user = User.objects.get(email=token.user)
File “/opt/seafile/seafile-pro-server-9.0.5/seahub/seahub/base/accounts.py”, line 95, in get
emailuser = ccnet_threaded_rpc.get_emailuser(email)
File “/opt/seafile/seafile-pro-server-9.0.5/seafile/lib64/python3/site-packages/pysearpc/client.py”, line 125, in newfunc
ret_str = self.call_remote_func_sync(fcall_str)
File “/opt/seafile/seafile-pro-server-9.0.5/seafile/lib64/python3/site-packages/pysearpc/named_pipe.py”, line 98, in call_remote_func_sync
ret_str = transport.send(self.service_name, fcall_str)
File “/opt/seafile/seafile-pro-server-9.0.5/seafile/lib64/python3/site-packages/pysearpc/named_pipe.py”, line 59, in send
sendall(self.pipe, header)
File “/opt/seafile/seafile-pro-server-9.0.5/seafile/lib64/python3/site-packages/pysearpc/utils.py”, line 31, in sendall
raise NetworkError(‘Failed to write to socket: %s’ % e)
pysearpc.errors.NetworkError: Failed to write to socket: [Errno 32] Broken pipe
[2024-11-30 16:30:59 +0800] [37369] [WARNING] Worker with pid 37637 was terminated due to signal 11
[2024-11-30 16:30:59 +0800] [37656] [INFO] Booting worker with pid: 37656
OpenBLAS blas_thread_init: pthread_create failed for thread 11 of 12: Resource temporarily unavailable
[2024-11-30 16:31:10 +0800] [37369] [WARNING] Worker with pid 37656 was terminated due to signal 11
[2024-11-30 16:31:10 +0800] [37699] [INFO] Booting worker with pid: 37699
OpenBLAS blas_thread_init: pthread_create failed for thread 11 of 12: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 63253 current, 63253 max
[2024-11-30 16:31:19 +0800] [37369] [WARNING] Worker with pid 37699 was terminated due to signal 11
[2024-11-30 16:31:19 +0800] [37719] [INFO] Booting worker with pid: 37719
OpenBLAS blas_thread_init: pthread_create failed for thread 11 of 12: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 63253 current, 63253 max
[2024-11-30 16:31:29 +0800] [37369] [WARNING] Worker with pid 37719 was terminated due to signal 11
[2024-11-30 16:31:29 +0800] [37737] [INFO] Booting worker with pid: 37737
OpenBLAS blas_thread_init: pthread_create failed for thread 11 of 12: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 63253 current, 63253 max
[2024-11-30 16:31:38 +0800] [37369] [WARNING] Worker with pid 37737 was terminated due to signal 11
[2024-11-30 16:31:38 +0800] [37755] [INFO] Booting worker with pid: 37755
OpenBLAS blas_thread_init: pthread_create failed for thread 11 of 12: Resource temporarily unavailable
[2024-11-30 16:32:20 +0800] [37369] [WARNING] Worker with pid 37755 was terminated due to signal 11
[2024-11-30 16:32:20 +0800] [37774] [INFO] Booting worker with pid: 37774
[2024-11-30 16:32:43 +0800] [37369] [WARNING] Worker with pid 37774 was terminated due to signal 11
[2024-11-30 16:32:43 +0800] [37794] [INFO] Booting worker with pid: 37794
看起来应该seafile服务没有启动,您看下seafile.log有什么报错
一楼就是seahub的日志
一楼就是日志,这个服务不停启动失败
您发的是seahub的日志,需要再发一下seafile的日志 seafile.log
[root@localhost logs]# tail -n 50 seafile.log
2024-12-02 13:18:37 start to serve on pipe client
2024-12-02 13:19:51 start to serve on pipe client
2024-12-02 13:43:13 …/common/seaf-utils.c(409): Use database Mysql
2024-12-02 13:43:13 http-server.c(236): fileserver: worker_threads = 10
2024-12-02 13:43:13 http-server.c(249): fileserver: backlog = 32
2024-12-02 13:43:13 http-server.c(264): fileserver: fixed_block_size = 8388608
2024-12-02 13:43:13 http-server.c(279): fileserver: web_token_expire_time = 3600
2024-12-02 13:43:13 http-server.c(294): fileserver: max_indexing_threads = 1
2024-12-02 13:43:13 http-server.c(309): fileserver: max_index_processing_threads= 3
2024-12-02 13:43:13 http-server.c(331): fileserver: cluster_shared_temp_file_mode = 600
2024-12-02 13:43:13 http-server.c(409): fileserver: enable_async_indexing = 0
2024-12-02 13:43:13 http-server.c(421): fileserver: async_indexing_threshold = 700
2024-12-02 13:43:13 http-server.c(433): fileserver: fs_id_list_request_timeout = 300
2024-12-02 13:43:13 http-server.c(446): fileserver: max_sync_file_count = 100000
2024-12-02 13:43:13 http-server.c(461): fileserver: put_head_commit_request_timeout = 10
2024-12-02 13:43:13 …/common/license.c(718): License file /opt/seafile/seafile-license.txt does not exist, allow at most 3 trial users
2024-12-02 13:43:13 socket file exists, delete it anyway
2024-12-02 13:43:13 filelock-mgr.c(975): Cleaning expired file locks.
2024-12-02 13:43:16 start to serve on pipe client
2024-12-02 13:43:24 start to serve on pipe client
2024-12-02 13:43:24 start to serve on pipe client
2024-12-02 13:43:24 start to serve on pipe client
2024-12-02 13:43:24 start to serve on pipe client
2024-12-02 13:44:11 start to serve on pipe client
2024-12-02 13:44:30 start to serve on pipe client
2024-12-02 13:44:56 start to serve on pipe client
2024-12-02 21:00:29 …/common/seaf-utils.c(409): Use database Mysql
2024-12-02 21:00:29 http-server.c(236): fileserver: worker_threads = 10
2024-12-02 21:00:29 http-server.c(249): fileserver: backlog = 32
2024-12-02 21:00:29 http-server.c(264): fileserver: fixed_block_size = 8388608
2024-12-02 21:00:29 http-server.c(279): fileserver: web_token_expire_time = 3600
2024-12-02 21:00:29 http-server.c(294): fileserver: max_indexing_threads = 1
2024-12-02 21:00:29 http-server.c(309): fileserver: max_index_processing_threads= 3
2024-12-02 21:00:29 http-server.c(331): fileserver: cluster_shared_temp_file_mode = 600
2024-12-02 21:00:29 http-server.c(409): fileserver: enable_async_indexing = 0
2024-12-02 21:00:29 http-server.c(421): fileserver: async_indexing_threshold = 700
2024-12-02 21:00:29 http-server.c(433): fileserver: fs_id_list_request_timeout = 300
2024-12-02 21:00:29 http-server.c(446): fileserver: max_sync_file_count = 100000
2024-12-02 21:00:29 http-server.c(461): fileserver: put_head_commit_request_timeout = 10
2024-12-02 21:00:29 …/common/license.c(718): License file /opt/seafile/seafile-license.txt does not exist, allow at most 3 trial users
2024-12-02 21:00:29 socket file exists, delete it anyway
2024-12-02 21:00:29 filelock-mgr.c(975): Cleaning expired file locks.
2024-12-02 21:00:32 start to serve on pipe client
2024-12-02 21:00:40 start to serve on pipe client
2024-12-02 21:00:40 start to serve on pipe client
2024-12-02 21:00:40 start to serve on pipe client
2024-12-02 21:00:42 start to serve on pipe client
2024-12-02 21:00:45 start to serve on pipe client
2024-12-02 21:00:48 start to serve on pipe client
2024-12-02 21:01:28 start to serve on pipe client
您使用命令 ps -ef|grep seafile,截图确认下seaf-server是否正常启动了