Alias domains & log folders

  • On a fresh install of 1.1.20
    I create a customer.
    Then add an alias as domain.


    The folder


    /var/log/apache2/aliasdomain


    is not created but is referenced in apache config.


    This cause a crash of Apache at the restart.


    Kind regards
    Cedric

  • Alias as domain ???

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Re


    I cannot reproduce the problem.


    What is the httpd server implementation you're using ? Please read i-MSCP bugs - Reporting rules

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Ok, sorry, I wrote too fast the first message.


    So, I'm running on a Ubuntu 14.04.1 LTS



    Apache is installed as ITK


    I create a domain.
    I add an alias domain


    And when restarting Apache I have this error


    Code
    1. └─> service apache2 restart* Restarting web server apache2 [fail] * The apache2 configtest failed.Output of config test was:(2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/radiostlambert.be/' for error log of vhost defined at /etc/apache2/sites-enabled/radiostlambert.be.conf:1AH00014: Configuration check failedAction 'configtest' failed.The Apache error log may have more information.


    I create the folder /var/log/apache2/radiostlambert.be/ and everything is ok.
    So it seems there is a folder creation missing in the process.


    The apache package installed are


    Code
    1. ii apache2 2.4.7-1ubuntu4.1 amd64 Apache HTTP Server
    2. ii apache2-bin 2.4.7-1ubuntu4.1 amd64 Apache HTTP Server (binary files and modules)
    3. ii apache2-data 2.4.7-1ubuntu4.1 all Apache HTTP Server (common files)
    4. ii libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.5 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
    5. ii libapache2-mpm-itk 2.4.6-01-1 amd64 multiuser module for Apache



    Cedric

  • Hello ;


    Add my ssh key to your server and give me the IP

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @VirtualCed


    Don't worry for the panel, I can create a temporary account myself if needed. I'll have a look at your server after my shower ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • No problem Laurent, take your time.
    It's not an issue for me, as I can create the folder manually.
    Just thing it's a bug in this release.


    Best regards
    Cedric