0

我的服务器在尝试安装 apc 时发生故障。/var/log/syslog sais:

Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23765]: Upgrading MySQL tables if necessary.
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23768]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23768]: Looking for 'mysql' as: /usr/bin/mysql
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23768]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23768]: Error: Server version (5.5.31-0ubuntu0.12.04.2) does not match with the version of
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23768]: the server (5.5.32) with which this program was built/distributed. You can
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23768]: use --skip-version-check to skip this check.
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23768]: FATAL ERROR: Upgrade failed
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23793]: Checking for insecure root accounts.
Aug 20 01:16:00 vps29386 /etc/mysql/debian-start[23798]: Triggering myisam-recover for all MyISAM tables

请你帮助我好吗?这已发布在serverfault.com上,但没有人在查看该帖子...

4

2 回答 2

0

APC 不是在您的计算机上构建的,而且您似乎正在使用不兼容的存储库来存储二进制文件。您可以自己构建 APC(从http://pecl.php.net/package/APC下载源代码并按照http://svn.php.net/viewvc/pecl/apc/trunk/INSTALL?view=markup进行编译) 或使用 PECL 为您执行此操作,如果您安装了它。

sudo pecl install apc
于 2013-08-20T13:24:24.403 回答
0

重新安装 VPS 对我来说是解决它的唯一方法。

于 2013-09-16T12:19:25.893 回答