主题: ubuntu安装后其他正常 ~无法访问iredadmin~~附上apache日志
老张:
ubuntu刚装完 iredmail 0.74 其它运行正常,但是访问iredadmin页面打不开
apache error.log 记录如下 请问怎么解决?
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] Traceback (most recent call last):
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/web/application.py", line 240, in process
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] return p(lambda: process(processors))
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/web/session.py", line 55, in _processor
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] self._cleanup()
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/web/session.py", line 135, in _cleanup
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] self.store.cleanup(timeout)
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/web/session.py", line 280, in cleanup
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] self.db.delete(self.table, where="$last_allowed_time > atime", vars=locals())
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/web/db.py", line 863, in delete
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] db_cursor = self._db_cursor()
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/web/db.py", line 541, in _db_cursor
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] return self.ctx.db.cursor()
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/web/db.py", line 482, in _getctx
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] self._load_context(self._ctx)
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/web/db.py", line 491, in _load_context
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] ctx.db = self._connect_with_pooling(self.keywords)
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/web/db.py", line 538, in _connect_with_pooling
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] return self._pooleddb.connection()
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/local/lib/python2.6/dist-packages/DBUtils-1.1-py2.6.egg/DBUtils/PooledDB.py", line 331, in connection
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] con = self.steady_connection()
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/local/lib/python2.6/dist-packages/DBUtils-1.1-py2.6.egg/DBUtils/PooledDB.py", line 279, in steady_connection
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] *self._args, **self._kwargs)
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/local/lib/python2.6/dist-packages/DBUtils-1.1-py2.6.egg/DBUtils/SteadyDB.py", line 134, in connect
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] failures, ping, closeable, *args, **kwargs)
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/local/lib/python2.6/dist-packages/DBUtils-1.1-py2.6.egg/DBUtils/SteadyDB.py", line 186, in __init__
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] self._store(self._create())
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/local/lib/python2.6/dist-packages/DBUtils-1.1-py2.6.egg/DBUtils/SteadyDB.py", line 190, in _create
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] con = self._creator(*self._args, **self._kwargs)
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/MySQLdb/__init__.py", line 81, in Connect
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] return Connection(*args, **kwargs)
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 170, in __init__
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] super(Connection, self).__init__(*args, **kwargs2)
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171] OperationalError: (2003, "Can't connect to MySQL server on '182.50.1.212' (111)")
[Thu Mar 08 09:44:05 2012] [error] [client 114.249.232.171]