• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Domain log - ERROR: PleskUtilException filemng: stat failed: Permission denied

E

engineoil

Guest
When trying to look at the log files (in Plesk 10.4.4) for one domain in a shared host (vps). I get the error below.
I can see log files for other domains on the same host.

ERROR: PleskUtilException
filemng: stat failed: Permission denied

System error 13: Permission denied
0: FileMng.php:172
Service_FileMng->_execAndGetOutput(array)
1: FileMng.php:21
Service_FileMng->ls(string '/var/www/vhosts/domain.com/statistics/logs', string 'files')
2: class.LogFilesList.php:86
LogFilesList->fetchLogFilesList()
3: cList.php:87
cList->fetchList()
4: cList.php:106
cList->init()
5: LogsUIPointer.php:124
LogsUIPointer->accessItem(string 'GET', NULL null)
6: UIPointer.php:595
UIPointer->access(string 'GET')
7: plesk.php:45

Any clue would be welcome!
 
Looks like there is incorrect permissions on /var/www/vhosts/domain.com/statistics/logs directory or files inside.
 
You are right. The statistics and log directories were set to userid:psacln. I reset these to root:psaserv
thanks!
 
Back
Top