• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Issue hosting update is failed: vhostmng-structure failed: Cannot create directory /httpdocs/Master/Production/current/public: No such file or directory

maximus99

Basic Pleskian
Server operating system version
Centos 7.9
Plesk version and microupdate number
18.0.52
Hi Team,

We are running CentOS7.9 hosted plesk version of 18.0.52

In plesk panel we are getting below error

New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00526: Syntax error on line 62 of /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf: SSLCertificateFile: file '/usr/local/psa/var/certificates/scfr' does not exist or is empty. 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. See the details in Configuration Troubleshooter

We have tried the below steps

1. We have tried to perform the plesk repair web utility initially for that domain and still same issue.

2. we have tried to unassign and cert works but when we try to assign a cert we are getting below error
Could not unassign certificate from the domain. stdout: , stderr: [2024-06-20 17:02:03.495] 3045025:6674446b4d052 ERR [util_exec] proc_close() failed [‘/usr/local/psa/admin/bin/vhostmng-structure’] with exit code [1]
An error occurred during domain update: An error occurred during changing of hosting settings: hosting update is failed: vhostmng-structure failed: Cannot create directory /httpdocs/Master/Production/current/public: No such file or directory
System error 2: No such file or directory

But when we checked the path its exists and permission looks good .
/httpdocs/Master/Production/current ls -l

drwxr-x--- 4 xxxx3 xxxxx 251 Jun 21 10:03 public

3. Then we have tried plesk repair all also . Still didnt fix the issue.

Kindly advise us on this
 
New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00526: Syntax error on line 62 of /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf: SSLCertificateFile: file '/usr/local/psa/var/certificates/scfr' does not exist or is empty. 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. See the details in Configuration Troubleshooter

This error matches the issue described in this support article, which might help you solve the problem:
 
Hi Kaspar,

Thanks for your update ,

But i am unable find any cert using the grep
~ grep -r scfXXXXX /var/www/vhosts/system/*
~

Also error.log of the domain
[proxy:error] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var
/www/vhosts/system/example.com/php-fpm.sock (*) failed

Not sure what this error means ,
Could not unassign certificate from the domain. stdout: , stderr: [2024-06-20 17:02:03.495] 3045025:6674446b4d052 ERR [util_exec] proc_close() failed [‘/usr/local/psa/admin/bin/vhostmng-structure’] with exit code [1]
An error occurred during domain update: An error occurred during changing of hosting settings: hosting update is failed: vhostmng-structure failed: Cannot create directory /httpdocs/Master/Production/current/public: No such file or directory
System error 2: No such file or directory

As the Docroot directory for the domain is available , when we checked the path its exists and permission looks good .

/httpdocs/Master/Production/current ls -l

drwxr-x--- 4 xxxx3 xxxxx 251 Jun 21 10:03 public
 
Back
Top