Jump to content
Froxlor Forum
  • 0

Apache not starting after adding ssl port


symon

Question

Posted

Hello everyone,

I'm just trying to setup froxlor on a debian wheezy in a local VM for testing purposes. I'm trying to migrate away from plesk but actually i even struggle with the setup.  I consider myself an advanced linux user so not everything is new for me.

The actual problem is this: I added the currently used ip with port 443 in 'IPs and Ports'. Then I restarted apache2 manually (to be fair I restarted the whole machine). However it does not come up again. It claims port 443 was already in use.

First thing i obviously checked was if some other process was using this port but the netstat output does not contain it for any user or process.

I investigated a little further and the only thing I found out so far was that I have a file called "/etc/apache2/sites-enabled/10_froxlor_ipandport_10.0.2.15.443.conf" that seems to be responsible. When I move it away from the enabled sites apache starts normally.

 

What it contains seems normal so far:

# 10_froxlor_ipandport_10.0.2.15.443.conf
# Created 17.09.2015 20:02
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

Listen 10.0.2.15:443
NameVirtualHost 10.0.2.15:443
<VirtualHost 10.0.2.15:443>
DocumentRoot "/var/www/vxempty/"
 ServerName localhost
 SSLEngine On
 SSLProtocol ALL -SSLv2 -SSLv3
 SSLHonorCipherOrder On
 SSLCipherSuite ECDH+AESGCM:ECDH+AES256:!aNULL:!MD5:!DSS:!DH:!AES128
 SSLVerifyDepth 10
 SSLCertificateFile /etc/apache2/ssl/apache2.pem
 SSLCertificateKeyFile /etc/apache2/ssl/apache2.key
 SSLCACertificateFile /etc/apache2/ssl/apache2.crt
  SSLCertificateChainFile /etc/apache2/ssl/apache2.csr
</VirtualHost>

Further the configs for ports seem to be ok:

NameVirtualHost *:80
Listen 80

<IfModule mod_ssl.c>
    # 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
</IfModule>

<IfModule mod_gnutls.c>
    Listen 443
</IfModule>

Any ideas what I may have done wrong?

 

Thanks in Advance

symon

4 answers to this question

Recommended Posts

Posted

Ah thanks! Guess I should read more and ask less.

Anyways I want to say that I am pleased so far by the interface and of course the fast support!

One more question: Is there a short and good way to check if all of the services are working in the way they should? Like before I switch IPs I would like to be sure the whole services are working as expected.

Thanks again

Posted

There's always "ps faux" and "tail -f [log-file]" to see if everything is doing what it is supposed to. Short: no, there's nothing provided by froxlor to check if everything is running/working

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...