Apache wont start after playing around

Discussion in 'Installation/Configuration' started by neumann, Oct 6, 2024.

  1. abintipl

    abintipl Member HowtoForge Supporter

    Yes, I have checked and compared line by line with another server's 000-apps.vhost(another server working fine), both are the same
    Thanks & regards!
     
  2. remkoh

    remkoh Active Member HowtoForge Supporter

    I'm at a loss.
    Are you actively using apps.vhost on this server?
    If not, remove the symbolic link in /etc/apache2/sites-enabled and restart Apache.
    If there are no other errors in your config Apache should be running and serving your other websites again.
    At least for the time being, until the solution is found.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The apps vhost is likely fine, its just the first one that uses SSL and that#s why it showed up. If he removes it (what he can do of course), he will likely get the exact same error with the next vhost that uses SSL.

    The error:

    Code:
    Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
    Means that SSL is not available in Apache. I'm aware that a2enmod says it's enabled, but apparently, it's not.
     
  4. remkoh

    remkoh Active Member HowtoForge Supporter

    My thoughts exactly. But clueless on how somebody could have accomplished that.
    I would have expected some other error before apps.vhost is loaded and returning the current error.
    Nothing else related in syslog??
     
  5. abintipl

    abintipl Member HowtoForge Supporter

    Hi,
    Thank you for the reply
    I again checked file /etc/apache2/sites-available/apps.vhost & compared with another working server apps.vhost, both are idential!

    Even, I replaced the apps.vhost file with working server apps.vhost but no luck.

    Thanks
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You do not have an issue with the apps.vhost, see my post above.
     
  7. abintipl

    abintipl Member HowtoForge Supporter

    Sir,
    I have removed apps.vhost from /etc/apache2/sites-enabled as well as from /etc/apache2/sites-available.
    Then restarted apache with no errors
    Now I can see Apache Default page while logging (with http://) to ISPconfig Panel or any of the website hosted on this server

    Apache2 Ubuntu Default Page

    Further, I ran ispconfig_update.sh --force any updated services & created new ssl but can not access
    Then again removed apps.vhost from sites-available as well as sites-enabled restarted apache2
    Then can see again Apache Default page
    But not able to go further.
    Thanks
     
    Last edited: Oct 12, 2024
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    This shows what I told you: you do not have an issue with the apps.vhost and removing the apps vhost does not solve your issue. So the next step is to undo the apps vhost removal. Then, you should start to check why Apache is not loading its SSL module.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Here some trouble shooting steps from ChatGPT:
     
  10. remkoh

    remkoh Active Member HowtoForge Supporter

    I was under the impression more HTTPS sites existed on the server.
    But apparenly not since now there's only talk about de default site working after removing apps.vhost.
    I would just reinstall Apache and maybe Openssl packages over the existing ones then and after that run ispconfig_update.sh --force again.
    That should fix any corrupted or missing files.
     

Share This Page