1

Topic: iredadmin login error centos 6

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====

I recently upgraded my server to centos 6.3 I reintalled my version of iredMail-Pro-LDAP-1.6.3 from tar
I checked all the config files everything is correct. The install went fine with no errors however when I try to login to the iredadmin panel I get the following errors

[Thu Oct 18 14:55:48 2012] [error] [client 67.177.228.189] mod_wsgi (pid=19110): Target WSGI script '/var/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Thu Oct 18 14:55:48 2012] [error] [client 67.177.228.189] mod_wsgi (pid=19110): Exception occurred processing WSGI script '/var/www/iredadmin/iredadmin.py'.
[Thu Oct 18 14:55:48 2012] [error] [client 67.177.228.189] Traceback (most recent call last):
[Thu Oct 18 14:55:48 2012] [error] [client 67.177.228.189]   File "/var/www/iredadmin/iredadmin.py", line 8, in <module>
[Thu Oct 18 14:55:48 2012] [error] [client 67.177.228.189]     from libs import iredbase
[Thu Oct 18 14:55:48 2012] [error] [client 67.177.228.189]   File "/var/www/iredadmin/libs/iredbase.py", line 87, in <module>
[Thu Oct 18 14:55:48 2012] [error] [client 67.177.228.189]     port=int(cfg.iredadmin.get('port', '3306')),
[Thu Oct 18 14:55:48 2012] [error] [client 67.177.228.189] ValueError: invalid literal for int() with base 10: 'port_of_iredadmin_sql_server'

Ports 80 443 an 3306 are open on my server.
any ideas what the problem might be.

2

Re: iredadmin login error centos 6

[Thu Oct 18 14:55:48 2012] [error] [client 67.177.228.189] ValueError: invalid literal for int() with base 10: 'port_of_iredadmin_sql_server'

Please check iredadmin config file (/var/www/iredadmin/settings.ini), make sure you have correct SQL server port under section [iredadmin].