还是出错
[root@localhost seafile-server-latest]# ./seafile.sh restart
Stopping seafile server …
** Message: seafile-controller.c(1091): loading seafdav config from /opt/seafile/conf/seafdav.conf
[06/01/17 05:08:26] …/common/session.c(139): using config file /opt/seafile/conf/ccnet.conf
Starting seafile server, please wait …
** Message: seafile-controller.c(1091): loading seafdav config from /opt/seafile/conf/seafdav.conf
Seafile server started
Done.
[root@localhost seafile-server-latest]# ./seahub.sh restart-fastcgi
Seahub is not running
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub (fastcgi) at 127.0.0.1:8000 …
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.0.10/seahub/manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “/opt/seafile/seafile-pro-server-6.0.10/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/management/init.py”, line 354, in execute_from_command_line
utility.execute()
File “/opt/seafile/seafile-pro-server-6.0.10/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/management/init.py”, line 303, in execute
settings.INSTALLED_APPS
File “/opt/seafile/seafile-pro-server-6.0.10/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/conf/init.py”, line 48, in getattr
self._setup(name)
File “/opt/seafile/seafile-pro-server-6.0.10/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/conf/init.py”, line 44, in _setup
self._wrapped = Settings(settings_module)
File “/opt/seafile/seafile-pro-server-6.0.10/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/conf/init.py”, line 92, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/importlib-1.0.2-py2.6.egg/importlib/init.py”, line 37, in import_module
import(name)
File “/opt/seafile/seafile-pro-server-6.0.10/seahub/seahub/init.py”, line 3, in
from handlers import repo_created_cb, repo_deleted_cb
File “/opt/seafile/seafile-pro-server-6.0.10/seahub/seahub/handlers.py”, line 17, in
from utils import SeafEventsSession
File “/opt/seafile/seafile-pro-server-6.0.10/seahub/seahub/utils/init.py”, line 473, in
SeafEventsSession = seafevents.init_db_session_class(EVENTS_CONFIG_FILE)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/seafevents/db.py”, line 89, in init_db_session_class
Base.metadata.create_all(engine)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/sql/schema.py”, line 3848, in create_all
tables=tables)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/engine/base.py”, line 1922, in _run_visitor
with self._optional_conn_ctx_manager(connection) as conn:
File “/usr/lib64/python2.7/contextlib.py”, line 17, in enter
return self.gen.next()
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/engine/base.py”, line 1915, in _optional_conn_ctx_manager
with self.contextual_connect() as conn:
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/engine/base.py”, line 2106, in contextual_connect
self._wrap_pool_connect(self.pool.connect, None),
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/engine/base.py”, line 2145, in _wrap_pool_connect
e, dialect, self)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/engine/base.py”, line 1456, in _handle_dbapi_exception_noconnection
exc_info
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/util/compat.py”, line 202, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/engine/base.py”, line 2141, in _wrap_pool_connect
return fn()
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/pool.py”, line 387, in connect
return _ConnectionFairy._checkout(self)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/pool.py”, line 766, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/pool.py”, line 516, in checkout
rec = pool._do_get()
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/pool.py”, line 1138, in _do_get
self._dec_overflow()
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/util/langhelpers.py”, line 60, in exit
compat.reraise(exc_type, exc_value, exc_tb)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/pool.py”, line 1135, in _do_get
return self._create_connection()
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/pool.py”, line 333, in _create_connection
return _ConnectionRecord(self)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/pool.py”, line 461, in init
self.__connect(first_connect_check=True)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/pool.py”, line 651, in __connect
connection = pool._invoke_creator(self)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/engine/strategies.py”, line 105, in connect
return dialect.connect(*cargs, **cparams)
File “/opt/seafile/seafile-pro-server-6.0.10/pro/python/SQLAlchemy-1.1.3-py2.6-linux-x86_64.egg/sqlalchemy/engine/default.py”, line 385, in connect
return self.dbapi.connect(*cargs, **cparams)
File “/usr/lib64/python2.7/site-packages/MySQLdb/init.py”, line 81, in Connect
return Connection(*args, **kwargs)
File “/usr/lib64/python2.7/site-packages/MySQLdb/connections.py”, line 193, in init
super(Connection, self).init(*args, **kwargs2)
sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (1045, “Access denied for user ‘seafile’@‘localhost’ (using password: NO)”)
Error:Seahub failed to start.