Article ID: 9266, created on Aug 16, 2013, last review on Aug 16, 2013

  • Applies to:
  • Plesk

已修复

本文章中描述的问题已在 Parallels Plesk Panel 10.4.x 和更新版本中完全得以修复。

问题

升级 Parallels Plesk Panel 到 10.0.1 版本后,在登录页面上会显示以下错误信息:

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
        CommonPanel_Application_Abstract->_initLog()
2: Abstract.php:31
        CommonPanel_Application_Abstract->run()
3: Abstract.php:19
        CommonPanel_Application_Abstract::init()
4: auth.php3:137


但是,所有包和数据库都已升级:

# rpm -q psa
psa-10.0.1-cos5.build109101029.18

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"select * from misc where param='version'"
+---------+-------+
| param   | val   |
+---------+-------+
| version | 01090 |
+---------+-------+
#

而文件 /usr/local/psa/version 为空:
# cat /usr/local/psa/version
#

解决方案

升级后的脚本没有正确执行。要修复此错误,请通过执行 bootstrapper 脚本进行升级后配置修复 .
Bootstrapper 脚本位于目录 $PRODUCT_ROOT_DIbootstrapper/.

# /usr/local/psa/bootstrapper/pp10.9.0-bootstrapper/bootstrapper.sh repair
..........
**** Product repair completed successfully.

修复配置后,应该就可以访问控制面板。

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article