• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Error: proftpd-config failed: mktemp

RonaldBro

New Pleskian
Hello i get the following error when creationg a domain subscription with hosting.

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

i've found this page. http://kb.parallels.com/en/121026

But if i do "ls -ld /etc/proftpd.d/" i get the following error.
ls: cannot access /etc/proftpd.d/: No such file or directory

Can anyone help me?

With Kind Regards,

Ronald
 
Be sure that you have psa-proftpd package installed on your server. Re-install it if necessary.
 
Be sure that you have psa-proftpd package installed on your server. Re-install it if necessary.

I've already done that yesterday to be sure i've done it again but still no luck.


[root@siteit01 ~]# yum install psa-proftpd
Loaded plugins: fastestmirror, presto, priorities, security
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
* base: mirror.yourwebhoster.eu
* epel: mirror.de.leaseweb.net
* extras: mirror.yourwebhoster.eu
* updates: mirror.yourwebhoster.eu
434 packages excluded due to repository priority protections
Setting up Install Process
Package psa-proftpd-1.3.5-6.el6.art.x86_64 already installed and latest version
Nothing to do
[root@siteit01 ~]# yum reinstall psa-proftpd
Loaded plugins: fastestmirror, presto, priorities, security
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
* base: mirror.yourwebhoster.eu
* epel: mirror.de.leaseweb.net
* extras: mirror.yourwebhoster.eu
* updates: mirror.yourwebhoster.eu
434 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package psa-proftpd.x86_64 0:1.3.5-6.el6.art will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Reinstalling:
psa-proftpd x86_64 1.3.5-6.el6.art atomic 1.5 M

Transaction Summary
================================================================================
Reinstall 1 Package(s)

Total download size: 1.5 M
Installed size: 5.7 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 1.5 M
psa-proftpd-1.3.5-6.el6.art.x86_64.rpm | 1.5 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : psa-proftpd-1.3.5-6.el6.art.x86_64 1/1
Verifying : psa-proftpd-1.3.5-6.el6.art.x86_64 1/1

Installed:
psa-proftpd.x86_64 0:1.3.5-6.el6.art


I also get this prolem in the beginning screen. I think it's related.

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.

I've already followed the following link with no luck.
http://forum.parallels.com/showthre...es-for-the-Apache-web-server-were-not-created
 
Try to disable atomic repo and use only Parallels official repository. For example, on my test server I see:

[root@ppu12-0 ~]# rpm -qf /etc/proftpd.d
psa-proftpd-1.3.5-cos6.build1200140529.18.i386

[root@ppu12-0 ~]# ll /etc/proftpd.d/50-plesk.conf
-rw-r--r-- 1 root root 257 Jul 17 12:21 /etc/proftpd.d/50-plesk.conf

[root@ppu12-0 ~]# cat /usr/local/psa/version
12.0.18 CentOS 6 1200140626.18
 
Try to disable atomic repo and use only Parallels official repository. For example, on my test server I see:

[root@ppu12-0 ~]# rpm -qf /etc/proftpd.d
psa-proftpd-1.3.5-cos6.build1200140529.18.i386

[root@ppu12-0 ~]# ll /etc/proftpd.d/50-plesk.conf
-rw-r--r-- 1 root root 257 Jul 17 12:21 /etc/proftpd.d/50-plesk.conf

[root@ppu12-0 ~]# cat /usr/local/psa/version
12.0.18 CentOS 6 1200140626.18

Problem still exist. I've disabled atomic enabled plesk repo. Removed proftpd and reinstalled with from plesk repo.

Last login: Thu Jul 17 10:25:35 2014 from 87.251.40.235
[root@siteit01 ~]# rpm -qf /etc/proftpd.d
psa-proftpd-1.3.5-cos6.build1200140529.18.x86_64
[root@siteit01 ~]# ll /etc/proftpd.d/50-plesk.conf
ls: cannot access /etc/proftpd.d/50-plesk.conf: No such file or directory
[root@siteit01 ~]# cat /usr/local/psa/version
12.0.18 CentOS 6 1200140626.18
[root@siteit01 ~]#
 
No.
Beside the above error I also had the following error:
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/domainVhost.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.

I deleted all subscriptions.
I deleted all web-server configuration files (from Webserver Configurations Troubleshooter).

I have run:
Code:
# /usr/local/psa/admin/bin/httpdmng --reconfigure-all
# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair

Now I have created a new subscription without these errors and it seems that it is OK.
But it is strange what it happened... I'll try to re-install all (clean CentOS + Plesk) to see if this errors will appear again.
 
Back
Top