服务器 Ubuntu 16.04 64 位版本 Apache2.4,安装的 6.2.3_x86-64 seafile seafile 启动成功 运行./seahub start-fastcgi 报错如下
Traceback (most recent call last):
File "/home/tmr/seafile/seafile-server-6.2.3/seahub/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/tmr/seafile/seafile-server-6.2.3/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/home/tmr/seafile/seafile-server-6.2.3/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/management/__init__.py", line 328, in execute
django.setup()
File "/home/tmr/seafile/seafile-server-6.2.3/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/tmr/seafile/seafile-server-6.2.3/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/apps/registry.py", line 108, in populate
app_config.import_models(all_models)
File "/home/tmr/seafile/seafile-server-6.2.3/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/apps/config.py", line 198, in import_models
self.models_module = import_module(models_module_name)
File "/home/tmr/seafile/seafile-server-6.2.3/seahub/thirdpart/importlib-1.0.4-py2.6.egg/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/home/tmr/seafile/seafile-server-6.2.3/seahub/seahub/avatar/models.py", line 25, in <module>
import Image
File "/usr/lib/python2.7/dist-packages/PILcompat/Image.py", line 1, in <module>
from PIL.Image import *
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 66, in <module>
from PIL import _imaging as core
ImportError: libtiff.so.3: cannot open shared object file: No such file or directory
运行./seahub.sh start 提示:
Starting seahub at port 8000 ...
Error:Seahub failed to start.
Please try to run "./seahub.sh start" again
1
SoulSleep 2017-12-13 13:59:30 +08:00
好久前装过,印象中可以考虑这两个问题:
64 位系统 32 位库 读写权限 |
2
nullcoder OP |
3
SoulSleep 2017-12-13 14:49:14 +08:00
@nullcoder #2 ImportError: libtiff.so.3: cannot open shared object file: No such file or directory
这种情况更像是缺少某个类库,这个并不确定,我之前遇到的情况是,64 位系统中存在的类库是 64 位的,但是程序需要 32 位的类库,所以,可以考虑检查下是不是这个问题 Google 了一下: http://www.asteriskguru.com/tutorials/libtiff_so_3_cannot_open.html 还有可能是这样。。。 |