Search Engine: Elastic

Article ID: 124812, created on Mar 11, 2015, last review on Mar 11, 2015

  • Applies to:
  • Plesk Automation 11.5


The log directory is not created at the creation of the subdomain. The following error is shown:

System error 2: No such file or directoryWarning: mkdir: cannot create directory `./': File exists ERROR: Cannot relink logs. Target directory '/var/www/vhosts/' is in invalid state.

The directory '/var/www/vhosts/' has incorrect permissions and ownership.


Incorrect vhost permissions.


Fix the permissions as follows:

# chmod 700 /var/www/vhosts/
# chown .root /var/www/vhosts/

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF