1

Topic: Problem after installation

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


====
Hi
After installation, I saw, user iredadmin there  no exist.
I added ireadmin user and groups manually, but when I`ll go to https://main.domain.tld/iredadmin or /mail
I have "SSL connection error", and in /var/log/apache2/error.log I have

############
[Tue Apr 15 15:47:11 2014] [error] [client XX.XX.XX.XX] Invalid method in request \x16\x03\x01
[Tue Apr 15 15:47:11 2014] [error] [client XX.XX.XX.XX] Invalid method in request \x16\x03\x01
[Tue Apr 15 15:47:11 2014] [error] [client XX.XX.XX.XX] Invalid method in request \x16\x03\x01
[Tue Apr 15 15:47:11 2014] [error] [client XX.XX.XX.XX] Invalid method in request \x16\x03\x01
[Tue Apr 15 15:47:11 2014] [error] [client XX.XX.XX.XX] Invalid method in request \x16\x03
###########

I had installed apache and mysql before installation

How can I resolve this issue?

Best Regards

Hubert Lewandowski

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Problem after installation

I had disable default-ssl in sites-available.
https://main.domain.ltd/mail works ok, but when I try connect to https://main.domain.ltd/iredmail I have error in logs:

[Tue Apr 15 16:44:18 2014] [notice] Apache/2.2.22 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1e mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Tue Apr 15 16:44:24 2014] [error] [client X.X.X.X] mod_wsgi (pid=2438): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Tue Apr 15 16:44:24 2014] [error] [client X.X.X.X] mod_wsgi (pid=2438): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.
[Tue Apr 15 16:44:24 2014] [error] [client X.X.X.X] Traceback (most recent call last):
[Tue Apr 15 16:44:24 2014] [error] [client X.X.X.X]   File "/usr/share/apache2/iredadmin/iredadmin.py", line 9, in <module>
[Tue Apr 15 16:44:24 2014] [error] [client X.X.X.X]     from libs import iredbase
[Tue Apr 15 16:44:24 2014] [error] [client X.X.X.X]   File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 18, in <module>
[Tue Apr 15 16:44:24 2014] [error] [client X.X.X.X]     import iredutils
[Tue Apr 15 16:44:24 2014] [error] [client X.X.X.X]   File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 13, in <module>

How can I resolve this?
Best Regards
[Tue Apr 15 16:44:24 2014] [error] [client X.X.X.X]     import settings
[Tue Apr 15 16:44:24 2014] [error] [client X.X.X.X] ImportError: No module named settings

3

Re: Problem after installation

Do you have file /usr/share/apache2/iredadmin/settings.py? What's the file owner and permission?