Article ID: 128825, created on May 12, 2016, last review on May 12, 2016

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Unable to remove/create a webspace. The following error messages are registered in /var/log/sw-engine/error.log:

2015/06/05 12:11:22 [error] 651#0: *227679 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "POST /enterprise/control/agent.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "127.0.0.1:8443"

During task execution the errors like below are written to the /usr/local/psa/admin/logs/panel.log file with enabled debugging in the /usr/local/psa/admin/conf/panel.ini:

....
2015-06-06T00:53:23+07:00 DEBUG (7)  [panel]: 0, script = sappmng, version = 1.0, args=--delete-application --application-full-name=file:////usr/local/psa/var/apscache/data-GGgZfG 
...
stderr:
Www root directory /var/www/vhosts/example.com/httpdocs does not exist

Cause

The httpdocs directory was manually removed prior to deleting the webspace.

Resolution

Create missing httpdocs directory in the virtual host directory /var/www/vhosts/example.com/ (where example.com is the webspace name) and re-run the failed task.

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF