Update from Ubuntu and i-mscp 1.2.0 to 1.2.9, apache2 Error

  • Hello,


    i am trying to Update the following Server Konfiguration.


    Ubuntu 12.04 -> Ubuntu 14.04
    i-mscp 1.2.0 -> i-mscp 1.2.9


    The System Update from Ubuntu 12.04 to 14.04 was successfull.
    But the i-mscp Upgrade fails with the following error message:


    I started the installer with ./imscp-autoinstall -d after System Upgrade


  • Your apache2 config file /etc/apache2/apache2.conf is corrupt. Fix it or just purge apache2 and rerun the imscp-autoinstall apt-get purge apache2.

  • okay I try this now.


    I updated the Server again
    What to do if it says:


    To keep or Update the Konfiguration files?


    Shell-Script
    1. Konfigurationsdatei »/etc/apache2/apache2.conf« ==> Geändert (von Ihnen oder von einem Skript) seit der Installation. ==> Paketverteiler hat eine aktualisierte Version herausgegeben. Wie möchten Sie vorgehen? Ihre Wahlmöglichkeiten sind: Y oder I : Die Version des Paket-Betreuers installieren N oder O : Die momentan installierte Version beibehalten D : Die Unterschiede zwischen den Versionen anzeigen Z : Eine Shell starten, um die Situation zu begutachten Der Standardweg ist das Beibehalten der momentanen Version.*** apache2.conf (Y/I/N/O/D/Z) [Vorgabe=N] ?

    Or is it better to run the ./imscp-autoinstall for i-mscp 1.2.0 Version after System Upgrade first and after that 1.2.9 ?
    Because right after the Ubuntu Upgrade to 14.04 I tried to check "service apache2 restart" and it already says:


    apache2: Syntax error on line 214 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory



    Or to do this?


    Shell-Script
    1. apt-get purge apache2



    And than run the i-mscp Installer again without -r

    Shell-Script
    1. ./imscp-autoinstall


    Right?

  • Okay i could Update the Apache2 now with the following command


    Shell-Script
    1. apt-get purge apache2
    2. apt-get install apache2
    3. touch /etc/apache2/httpd.conf
    4. ./imscp-autoinstall


    But now all Websites have Error 403 Forbidden!

  • Sorry, I was on the wrong track.


    My apache2.conf doesn't have any reference to httpd.conf. Please make sure that the /etc/apache2 is empty after purging apache2. Maybe you are still using some old incompatible version of this file.

  • Please remove also the folder /etc/apache2:

    Code
    1. apt-get purge apache2
    2. rm -r /etc/apache2
    3. perl imscp-autoinstall -dr (use v1.2.9 please)