1

Topic: Cannot connect to server after installing iRedMail

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu 15.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
After installing iRedMail-0.9.2 I can only connect via ssh, ports 80, 443, 3306(MySQL?) and others are blocked.
Here is the output of /etc/init.d/apache2 status:

root@mail:~# /etc/init.d/apache2 status
● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
   Active: failed (Result: exit-code) since Tue 2015-08-04 20:52:30 EDT; 34min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 375 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Aug 04 20:52:30 mail apache2[375]: * The apache2 configtest failed.
Aug 04 20:52:30 mail apache2[375]: Output of config test was:
Aug 04 20:52:30 mail apache2[375]: AH00526: Syntax error on line 26 of /etc/apache2/sites-enabled/default-ssl.conf:
Aug 04 20:52:30 mail apache2[375]: Invalid command 'SSLOpenSSLConfCmd', perhaps misspelled or defined by a module not included in the server configuration
Aug 04 20:52:30 mail apache2[375]: Action 'configtest' failed.

----

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

2

Re: Cannot connect to server after installing iRedMail

acidblue wrote:

Aug 04 20:52:30 mail apache2[375]: AH00526: Syntax error on line 26 of /etc/apache2/sites-enabled/default-ssl.conf:

What does line 26 of /etc/apache2/sites-enabled/default-ssl.conf say?


Craig

3

Re: Cannot connect to server after installing iRedMail

Please comment out 'SSLOpenSSLConfCmd' line in /etc/apache2/sites-enabled/default-ssl.conf, then restart Apache service.

4

Re: Cannot connect to server after installing iRedMail

ZhangHuangbin wrote:

Please comment out 'SSLOpenSSLConfCmd' line in /etc/apache2/sites-enabled/default-ssl.conf, then restart Apache service.

Thank you, that worked smile