Article ID: 119850, created on Jan 28, 2014, last review on May 10, 2014

  • Applies to:
  • Plesk Automation 11.1

Symptoms

You get the following error when click on Websites and Domains > Logs tab:

Error message or request description : ERROR: PleskUtilException
filemng: stat failed: Permission denied
System error 13: Permission denied

Cause

The ownership on the following directories were set incorrectly:

# ls -ld /var/www/vhosts/example.com/statistics
dr-xr-x--- 7 sub86_49 psaserv 4096 Jan 21 11:16 /var/www/vhosts/example.com/statistics

# ls -ld /var/www/vhosts/example.com/statistics/logs
dr-xr-x--- 2 root root 4096 Jan 21 11:16 /var/www/vhosts/example.com/statistics/logs

Direcotries should be owned by domain's system user sub86_49 and by psaserv group.

Resolution

  1. Find system user for the domain in question:

    # grep example.com /etc/passwd | grep -v web_users
    sub86_49:x:10037:506::/var/www/vhosts/example.com:/bin/false
    

    Note: Also you can find the correct system username at the Websites & Domains > Web Hosting Access > User Account.

  2. Set proper permissions for the directories below:

    chown sub86_49:psaserv /var/www/vhosts/example.com/statistics/
    chown sub86_49:psaserv /var/www/vhosts/example.com/statistics/logs/
    

Search Words

Permission denied

PleskUtilException

c1ecc6010feff26cb42d1d14a7881dd6 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF