Article ID: 124277, created on Jan 25, 2015, last review on Jan 25, 2015

  • Applies to:
  • Plesk Automation 11.5

Symptoms

The procedure of moving subscription to another node failed on the second step configure-apache-on-target:

ppa-move-subscriptions configure-apache-on-target config.ini
...
...
mktemp: failed to create file via template `/var/www/vhosts/system/example.com/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/example.com/conf': No such file or directory
        mktemp: failed to create file via template `/var/www/vhosts/system/example.com/conf/httpd.conf.XXXXXX': No such file or directory
        Can not create temporary file

Cause

Web content was not moved completely. Necessary directories are absent.

Resolution

Return to teh first step of procedure and repeat 'copy-hosting' operation for the affected domain:

ppa-move-subscriptions copy-hosting configsubs.ini

Search Words

Can not create temporary file

[root@ppa ~]# ppa-move-subscriptions configure-apache-on-target configsubs.ini [INFO] | Initialize migrator [INFO] | All temporary data files will be placed in 'migration-session' [INFO] | PPA management node: 10.1.2.12 [INFO] | PPA POA URL: https://admin:Aa01012015#@!@10.1.2.12:8440/RPC2 [INFO] | PPA Plesk URL: https://10.1.2.12:8443/enterprise/control/agent.php [INFO] | Move list from 'migration-session/move-list.xml' is used [INFO] configure-apache-on-target| [INFO] configure-apache-on-target| START: configure Apache on target node [INFO] configure-apache-on-target| Execute for subscriptions: 'olivetc.com.au', 'sugardesigns.com.au', 'halletts.com.au', 'australiancroatianclub.com.au', 'ncdevelopmentconsulting.com.au', 'kidspartycakes.com.au', 'regalhomes.com.au', 'thumbelina.net.au', 'amalgamatedpropertygroup.com.au', 'carersact.org.au', 'adria.org.au', 'moderngroup.net.au', 'projectcoord.com.au', 'bright-lights.com.au', 'voguebathrooms.com.au', 'Templar.com.au', 'HigherFun

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF