Zimbra 8.0.4 on port 443 only: cannot start Apache
I'm trying to configure my Zimbra box to have a website on top of Zimbra.
I've tried many things in the past, read some wikis and never got this right.
I'm trying again (the Nth time) and I'm trying to make things more simple: Zimbra on 443 (https) and Apache2 on 80 (http).
I've configured Zimbra to listen only to port 443 with the help of documentation here. Here is how I've done it:
I've tried to configure Apache to only listen on port 80 by changing the /etc/apache2/ports.conf file and commenting out the 443 port configs:
When my machine rebooted from those changes, my Apache server was working but my mta service in Zimbra failed to start.
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to <VirtualHost *:443>
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
# Listen 443
# Listen 443
I stopped Apache and started Zimbra... and it works fine on port 443 only (though I cannot confirm nothing is on port 80, i'm not sure how to really check this... lsof output is gibberish)
Now I can't start Apache while Zimbra is running, I get this error message:
* Starting web server apache2
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
So it's still not functional..
Can you help?