Article ID: 113737, created on Jun 21, 2013, last review on May 9, 2014

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

问题

操作系统:RHEL5, RHEL6

如果从 Atomic  库更新了 MySQL,而且安装了旧版本的 mysqlclient15 程序包,升级可能会失败出现以下错误:
 
Upgrade fails with the error: 
Trying to set up APS controller database... Attempting to check APS db 
connection via ODBC, using /usr/bin/isql (empty output is good) 
/usr/bin/isql: relocation error: /usr/lib64/libmyodbc3.so: symbol strmov, version libmysqlclient_15 not defined in file 
libmysqlclient.so.15 with link time reference 
Failed, rc = 127. 
Failed to establish test connection. Cleaning up. 
 
ERROR while trying to establish test connection to APS database via 
ODBC 
Check the error reason(see log file: 
/tmp/plesk_10.4.4_installation.log), fix an d try again

原因

该问题是由与 Atomic's MySQL  一起安装的 Atomic  库里 mysqlclient15 程序包中的错误引起的。

解决方案

更新 mysqlclient15 程序包到最新版本。执行以下命令:
# yum update mysqlclient15
带有错误修复的程序包版本是 "2.el5.art."
 
您可以通过以下命令查看 mysqlclient15 程序包版本:
 
# rpm -q --queryformat '%{RELEASE}\n' mysqlclient15
2.el5.art


之后重新运行该工具完成升级:
# /usr/local/psa/bootstrapper/pp<version>-bootstrapper/bootstrapper.sh repair

使用你服务器上的实际版本替换 <version>。

a914db3fdc7a53ddcfd1b2db8f5a1b9c 0a53c5a9ca65a74d37ef5c5eaeb55d7f 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 e8756e9388aeca36710ac39e739b2b37 aea4cd7bfd353ad7a1341a257ad4724a 01bc4c8cf5b7f01f815a7ada004154a2 f4ce8084cb23619ef5fe9428ecc388ea

Email subscription for changes to this article