Error while running apache2ctl configtest. Action 'configtest' failed.

Discussion in 'Installation/Configuration' started by midihipi, Nov 19, 2016.

  1. midihipi

    midihipi New Member HowtoForge Supporter

    I have had ispconfig3 running on apache2 with php7 installed for about a month and I love it.
    I enabled ssl and let's encrypt for multiple sites as I added them and then just left it alone to "bake".
    I noticed that only one site has ssl enabled so I tried:
    letsencrypt --apache
    So it would pick up all the virtual domains.
    I got the error:
    Error while running apache2ctl configtest.
    Action 'configtest' failed.
    The Apache error log may have more information.

    AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:69
    AH00526: Syntax error on line 2 of /etc/apache2/le_tls_sni_01_cert_challenge.conf:
    The address or port is invalid
    Ports are open in ufw any idea why let's encrypt may not be working?
    Forum software will not let me past my log errors in here........
    Last edited: Nov 19, 2016
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The file /etc/apache2/le_tls_sni_01_cert_challenge.conf is not from ispconfig. Check what's in that file and correct the part that the config test reported.

Share This Page