VPS侦探论坛

 找回密码
 注册
查看: 7564|回复: 4

运行memcached提示libevent版本过低

[复制链接]
发表于 2012-4-14 02:02:55 | 显示全部楼层 |阅读模式

编译安装新的2.0以后,还是提示这个:

# /etc/init.d/memcached start
Starting memcached: You are using libevent 1.1a.
Please upgrade to a more recent version (1.3 or newer)


卸载rpm包也不行:

# rpm -e libevent --test
error: "libevent" specifies multiple packages



求助大侠们,怎么处理?

[ 本帖最后由 onalps 于 2012-4-14 02:03 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-4-14 09:27:33 | 显示全部楼层


安装memcached libevent都是安装的2.0.13版本的
肯定是系统原来安装了libevent,可以yum update libevent试试
或卸载掉系统里的libevent,再echo "/usr/local/libevent/lib/" >> /etc/ld.so.conf
ldconfig
然后再启动试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-4-15 00:55:05 | 显示全部楼层

运行了yum -y install libevent

# yum -y install libevent
Loaded plugins: fastestmirror, rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package libevent-1.1a-3.2.1.x86_64 already installed and latest version
Package libevent-1.1a-3.2.1.i386 already installed and latest version
Nothing to do
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-4-15 01:04:39 | 显示全部楼层

回复 2# 的帖子




还是不行,请问军哥还有其他方法么(卸载掉系统里的libevent)?

phpinfo里显示memcached已经安装成功。就是无法启动。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-4-15 09:32:01 | 显示全部楼层

前面不是说了2个方法了吗,卸载系统里的yum remove libevent

phpinfo里的是memcache不是memcacehd

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-22 19:21 , Processed in 0.026419 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表