5.执行./seafile.sh start无异常。
6.执行./seahub.sh start配置管理员邮箱与密码后显示
Error:Seahub failed to start.
Please try to run “./seahub.sh start” again
由于seahub没能成功启动,所以logs里没有seahub.log、seafevents.log等文件,查看不了出错信息。
请高手指点。
Traceback (most recent call last):
File "/haiwen/seafile-pro-server-6.0.3/seahub/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/haiwen/seafile-pro-server-6.0.3/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/haiwen/seafile-pro-server-6.0.3/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/core/management/__init__.py", line 303, in execute
settings.INSTALLED_APPS
File "/haiwen/seafile-pro-server-6.0.3/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/conf/__init__.py", line 48, in __getattr__
self._setup(name)
File "/haiwen/seafile-pro-server-6.0.3/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/conf/__init__.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/haiwen/seafile-pro-server-6.0.3/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/conf/__init__.py", line 92, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/haiwen/seafile-pro-server-6.0.3/pro/python/importlib-1.0.2-py2.6.egg/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/haiwen/seafile-pro-server-6.0.3/seahub/seahub/__init__.py", line 3, in <module>
from handlers import repo_created_cb, repo_deleted_cb
File "/haiwen/seafile-pro-server-6.0.3/seahub/seahub/handlers.py", line 16, in <module>
import seafevents
File "/haiwen/seafile-pro-server-6.0.3/pro/python/seafevents/__init__.py", line 37, in <module>
from .virus_scanner import get_virus_record, handle_virus_record, \
File "/haiwen/seafile-pro-server-6.0.3/pro/python/seafevents/virus_scanner/__init__.py", line 2, in <module>
from .virus_scan import VirusScan
File "/haiwen/seafile-pro-server-6.0.3/pro/python/seafevents/virus_scanner/virus_scan.py", line 7, in <module>
from seafobj import commit_mgr, fs_mgr, block_mgr
File "/haiwen/seafile-pro-server-6.0.3/seahub/thirdpart/seafobj/__init__.py", line 2, in <module>
from .commits import commit_mgr
File "/haiwen/seafile-pro-server-6.0.3/seahub/thirdpart/seafobj/commits.py", line 53, in <module>
commit_mgr = SeafCommitManager()
File "/haiwen/seafile-pro-server-6.0.3/seahub/thirdpart/seafobj/commits.py", line 23, in __init__
self.obj_store = objstore_factory.get_obj_store('commits')
File "/haiwen/seafile-pro-server-6.0.3/seahub/thirdpart/seafobj/objstore_factory.py", line 186, in get_obj_store
from seafobj.backends.alioss import SeafObjStoreOSS
File "/haiwen/seafile-pro-server-6.0.3/seahub/thirdpart/seafobj/backends/alioss.py", line 3, in <module>
from oss.oss_api import OssAPI
ImportError: No module named oss.oss_api
Error:Seahub failed to start.