Topic: Webmail and Admin Panel problem (Python issue)
==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 6.0 64bit
- Related log if you're reporting an issue: apache2 error log
Hello. In /iredadmin/ i got "internal server error" and in /mail/ i got: DATABASE ERROR: CONNECTION FAILED!
This is my 3rd installation on fresh OS. Always got the same stuff.
Apache2 error log:
[Mon Nov 18 14:31:08 2013] [error] python_init: Python version mismatch, expected '2.6.5+', found '2.6.6'.
[Mon Nov 18 14:31:08 2013] [error] python_init: Python executable found '/usr/bin/python'.
[Mon Nov 18 14:31:08 2013] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.
[Mon Nov 18 14:31:08 2013] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Mon Nov 18 14:31:08 2013] [notice] mod_python: using mutex_directory /tmp
[Mon Nov 18 14:31:08 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Nov 18 14:31:08 2013] [notice] Apache/2.2.16 (Debian) mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_wsgi/3.3 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] Traceback (most recent call last):
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/web/application.py", line 240, in process
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] return p(lambda: process(processors))
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/web/session.py", line 55, in _processor
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] self._cleanup()
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/web/session.py", line 135, in _cleanup
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] self.store.cleanup(timeout)
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/web/session.py", line 280, in cleanup
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] self.db.delete(self.table, where="$last_allowed_time > atime", vars=locals())
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/web/db.py", line 863, in delete
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] db_cursor = self._db_cursor()
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/web/db.py", line 541, in _db_cursor
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] return self.ctx.db.cursor()
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/web/db.py", line 482, in _getctx
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] self._load_context(self._ctx)
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/web/db.py", line 493, in _load_context
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] ctx.db = self._connect(self.keywords)
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/web/db.py", line 521, in _connect
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] return self.db_module.connect(**keywords)
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/MySQLdb/__init__.py", line 81, in Connect
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] return Connection(*args, **kwargs)
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 170, in __init__
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] super(Connection, self).__init__(*args, **kwargs2)
[Mon Nov 18 14:31:10 2013] [error] [client 213.158.216.184] OperationalError: (1045, "Access denied for user 'iredadmin'@'localhost' (using password: YES)")
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.