• Article for your preferred language does not exist. Below is international version of the article.

Article ID: 121770, created on May 27, 2014, last review on May 27, 2014

  • Applies to:
  • Plesk Automation 11.1

Symptoms

PPA 11.5 Upgrade fails on domains reconfiguration:

    # /usr/local/psa/admin/bin/httpdmng --reconfigure-domain domain.tld
    ERR (3)  [panel]: Apache config (14007509920.35071600) generation failed: Template_Exception: mkdir: cannot create directory `/var/www/vhosts/system/domain.tld/conf': No such file or directory
    mktemp: failed to create file via template `/var/www/vhosts/system/domain.tld/conf/httpd.conf.XXXXXX': No such file or directory
    Can not create temporary file

    file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
    line: 68
    code: 0
    mkdir: cannot create directory `/var/www/vhosts/system/domain.tld/conf': No such file or directory
    mktemp: failed to create file via template `/var/www/vhosts/system/domain.tld/conf/httpd.conf.XXXXXX': No such file or directory
    Can not create temporary file

Other error:

    ERROR poaupdater.uUtil.ExecFailed
    [LOGTEE]: ['/usr/local/psa/admin/bin/httpdmng', '--reconfigure-all'] exited with non-zero status 1

Cause

Domain structure were not upgraded during PPA upgrade.

Resolution

Login to Apache Node and check "/var/www/vhosts/system" directory. If it is empty, execute the following command on Management Node to update domain structure:

    /usr/local/psa/bin/repair --update-vhosts-structure -service-node 1.2.3.4

where 1.2.3.4 is IP Address of Apache Node.

c1ecc6010feff26cb42d1d14a7881dd6 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF