1

Topic: iredmail/apache not working on linux after first login?

have manager to set up a mail server on a ubuntu linux using iredmail, which automatically install all the required components i.e postfix, dovecot, apache, and web mail client and admin.

so after installation and reboot everything worked fine without any issue, i even sent and email to my gmail account and sent back a reply which i recieved back on the mailing server.

but after 30 mins from the server being up it just crashed, when i try to open my mail client on mailserver.example.com i see 2 different error messages every now and then one is "unable to connect" and the other one is "ssl error" i searched a lot on it every where without any luck.

NOTE: everytime i reboot the server the mail client loads for 3 seconds then when i try to login or refresh i get the errors listed above.

below is some examples on my apache error logs:



[Thu Jan 26 22:30:49.857354 2017] [core:notice] [pid 1700] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jan 26 22:40:45.820701 2017] [mpm_prefork:notice] [pid 1700] AH00169: caught SIGTERM, shutting down
[Thu Jan 26 22:40:46.696131 2017] [ssl:warn] [pid 2329] AH01906: mailserver.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jan 26 22:40:46.755485 2017] [ssl:warn] [pid 2330] AH01906: mailserver.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jan 26 22:40:46.755649 2017] [wsgi:warn] [pid 2330] mod_wsgi: Compiled for Python/2.7.11.
[Thu Jan 26 22:40:46.755656 2017] [wsgi:warn] [pid 2330] mod_wsgi: Runtime using Python/2.7.12.
[Thu Jan 26 22:40:46.759992 2017] [mpm_prefork:notice] [pid 2330] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations
[Thu Jan 26 22:40:46.760033 2017] [core:notice] [pid 2330] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jan 26 22:44:02.766106 2017] [mpm_prefork:notice] [pid 2330] AH00171: Graceful restart requested, doing restart
[Thu Jan 26 22:44:02.875295 2017] [ssl:warn] [pid 2330] AH01906: mailserver.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jan 26 22:44:02.875458 2017] [wsgi:warn] [pid 2330] mod_wsgi: Compiled for Python/2.7.11.
[Thu Jan 26 22:44:02.875466 2017] [wsgi:warn] [pid 2330] mod_wsgi: Runtime using Python/2.7.12.
[Thu Jan 26 22:44:02.876473 2017] [mpm_prefork:notice] [pid 2330] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations
[Thu Jan 26 22:44:02.876505 2017] [core:notice] [pid 2330] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jan 26 22:47:37.500280 2017] [mpm_prefork:notice] [pid 2330] AH00169: caught SIGTERM, shutting down

----

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

2

Re: iredmail/apache not working on linux after first login?

Please try to disable "fail2ban" service temporarily and test again.

3

Re: iredmail/apache not working on linux after first login?

ZhangHuangbin wrote:

Please try to disable "fail2ban" service temporarily and test again.

Thanks alot that done the trick, it works fine again now