Article ID: 119692, created on Jan 17, 2014, last review on May 16, 2016

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


Plesk upgrade failed, an attempt to open Plesk fails with the following error:

ERROR: Zend_Log_Exception
"/usr/local/psa/admin/logs/panel.log" cannot be opened with mode "a"

0: Stream.php:66
    Zend_Log_Writer_Stream->__construct(string '/usr/local/psa/admin/logs/panel.log')
1: Abstract.php:84
2: Abstract.php:31
3: Abstract.php:19
4: auth.php3:137

Or with such error:

    ERROR: Uncaught exception 'Zend_Log_Exception' with message '"/usr/local/psa/admin/logs/panel.log" cannot be opened with mode "a"' in /usr/local/psa/admin/plib/Zend/Log/Writer/Stream.php:81


Owner for Plesk log file /usr/local/psa/admin/logs/panel.log is not correct.


For Plesk version < 12:

Check permissions for /usr/local/psa/admin/logs/panel.log, they should look as below:

    # ls -la /usr/local/psa/admin/logs/panel.log
    -rw-r----- 1 psaadm root 67727 Jan 17 02:30 /usr/local/psa/admin/logs/panel.log

If you see that owner is root as below:

    # ls -la /usr/local/psa/admin/logs/panel.log
    -rw-r----- 1 root root 67727 Jan 17 02:30 /usr/local/psa/admin/logs/panel.log

Change permissions with chown command:

    # chown psaadm:root /usr/local/psa/admin/logs/panel.log

Also, sometimes issue may cause due to incorrect ownership for directory /usr/local/psa/admin/logs/, they should look as below :

# ls -ld  /usr/local/psa/admin/logs/
drwxr-x--- 2 psaadm root 4096 Mar  3 10:00 /usr/local/psa/admin/logs/

For Plesk 12:

In Plesk 12.0.18 log files are stored into /var/log/plesk/ directory and /usr/local/psa/admin/logs/ folder contains only link-files. Due to this fact permissions for /var/log/plesk/ folder and /var/log/plesk/panel.log logfile should be checked and corrected as above if it is not.

Restart psa service after changes

#service psa restart

Search Words

InnoDB Engine is absent in Database server

cannot be opened with mode "a"

Permission denied

ERROR: Uncaught exception 'Zend_Log_Exception' with message '"/var/log/plesk/panel.log"

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 e8756e9388aeca36710ac39e739b2b37 dd0611b6086474193d9bf78e2b293040 33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079 aea4cd7bfd353ad7a1341a257ad4724a 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF