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

Article ID: 121026, created on Apr 11, 2014, last review on Sep 21, 2015

  • Applies to:
  • Plesk Automation 11.5

Symptoms

The creation of a subdomain fails with the following error:

    Error: mktemp: failed to create file via template `/etc/proftpd.d/50-plesk.conf.XXXXXX': No such file or directory
    Can not create temporary file

Cause

The /etc/proftpd.d/ directory is absent on the Apache Service Node.

Resolution

Make sure that the /etc/proftpd.d/ directory exists on the Apache Service Node. If it is absent, create it as below:

    [root@test]# ls -ld /etc/proftpd.d/
    drwxr-xr-x 2 root root 4096 Apr 10 15:44 /etc/proftpd.d/

Search Words

proftp

/usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67

etc/proftpd.d/50-plesk.conf.XXXXXX'

usr/local/psa/admin/sbin/httpdmng --reconfigure-all 2014-08-14T13:11:02+05:30 ERR (3): Apache config (14080020500.13552500) generation failed: mktemp: failed to create file via template `/var/www/vhosts/advt.commodityonline.com/conf/14080020500.13552500_httpd.include.XXXXXX': Invalid argument Can not create temporary file

Error: proftpd-config failed:

/etc/httpd/conf/plesk.conf.d/ip_default/ : FcgidIOTimeout must be greater than 0

cgi_wrapper error

Apache configuration error

New configuration files for the Apache web

ERROR while trying to act on PEAR packages

An error occurred during domain update: An error occurred during changing of hosting settings: proftpd-config failed: mktemp: failed to create file via template `/etc/proftpd.d/50-plesk.conf.XXXXXX': No such file or directory Can not create temporary file

New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/nginxDomainVhost.php, error = Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

Error: mktemp: failed to create file via template `/etc/proftpd.d/50-plesk.conf.XXXXXX': No such file or directory Can not create temporary file

After perform the plesk upgrade from 11.5 to 12.0 I have encounter error in creating new domain

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all 2014-08-14T13:11:02+05:30 ERR (3): Apache config (14080020500.13552500) generation failed: mktemp: failed to create file via template `/var/www/vhosts/advt.commodityonline.com/conf/14080020500.13552500_httpd.include.XXXXXX': Invalid argument Can not create temporary file

Error: proftpd-config failed: mktemp: failed to create file via template `/etc/proftpd.d/50-plesk.conf.XXXXXX': No such file or directory Can not create temporary file

33a70544d00d562bbc5b17762c4ed2b3 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF