最近在测试专业版9.0的时候,发现搜索服务一直起不来,报错
[ERROR] seafes:158 start_index_local: Index process init error: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f31f117de50>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f31f117de50>: Failed to establish a new connection: [Errno 111] Connection refused).
seahub日志报错
File “/opt/seafile/seafile-pro-server-9.0.3/seahub/thirdpart/urllib3/connection.py”, line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7a9749f4c0>: Failed to establish a new connection: [Errno 111] Connection refused
2022-01-11 14:53:44,094 [ERROR] seahub.search.views:197 search ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f7a9749f4c0>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f7a9749f4c0>: Failed to establish a new connection: [Errno 111] Connection refused)
控制文件日志也报错
seafile-controller.c(119): failed to execvp /opt/seafile/seafile-pro-server-9.0.3/pro/elasticsearch/bin/elasticsearch
确定JDK已经是8的,启动服务用了专门的seafile用户(非ROOT),有朋友遇到过同样的问题吗?