Article ID: 121407, created on Jun 11, 2015, last review on Jun 18, 2015

  • Applies to:
  • Plesk Automation 11.5
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 10.4 for Linux/Unix

Symptômes

Impossible d'ouvrir les fichiers de log dans le Panneau de contrôle. L'erreur suivante s'affiche dans le navigateur :

ERROR: PleskUtilException
filemng: stat failed: No such file or directory
System error 2: No such file or directory

[root@ppa_mn ~]# less /usr/local/psa/admin/logs/panel.log

2014-02-27T12:55:40+04:00 ERR (3)  [panel]: filemng: stat failed: No such file or directory
System error 2: No such file or directory
:
0: Agent.php:222
        Service_Agent->execAndGetResponse(string 'filemng', array)
1: Unix.php:300
        Service_Driver_Filesystem_Plesk_Unix->_execAndGetResponse(array)
2: Unix.php:31
        Service_Driver_Filesystem_Plesk_Unix->ls(string 'mysysuser', string '/var/www/vhosts/mydomain.com/logs', string 'files')
3: class.LogFilesList.php:92
        LogFilesList->fetchLogFilesList()
4: cList.php:87
        cList->fetchList()
5: cList.php:109
        cList->init()
6: LogsUIPointer.php:122
        LogsUIPointer->accessItem(string 'GET', NULL null)
7: UIPointer.php:619
        UIPointer->access(string 'GET')
8: plesk.php:37
[27-Feb-2014 12:55:40 Europe/Moscow] PleskUtilException: filemng: stat failed: No such file or directory

Cause

Le répertoire requis est inexistant :

[root@service_node]# ls -ld /var/www/vhosts/mydomain.com/logs
/var/www/vhosts/mydomain.com/logs: No such file or directory

Résolution

Créez manuellement le répertoire requis et définissez vos propres droits :

[root@service_node]# mkdir /var/www/vhosts/mydomain.com/logs
[root@service_node]# touch /var/www/vhosts/mydomain.com/logs/access_log
[root@service_node]# touch /var/www/vhosts/mydomain.com/logs/error_log
[root@service_node]# chown mysysuser:root /var/www/vhosts/mydomain.com/logs
[root@service_node]# chmod 700 /var/www/vhosts/mydomain.com/logs

33a70544d00d562bbc5b17762c4ed2b3 56797cefb1efc9130f7c48a7d1db0f0c e0aff7830fa22f92062ee4db78133079 a914db3fdc7a53ddcfd1b2db8f5a1b9c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f e8756e9388aeca36710ac39e739b2b37 dd0611b6086474193d9bf78e2b293040 aea4cd7bfd353ad7a1341a257ad4724a caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF