memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o解决
来源:互联网 发布:编程浪子新浪博客 编辑:程序博客网 时间:2024/06/06 16:37
- memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o解决
- memcached基本选项-p 端口 监听tcp端口-d 以守护进程方式运行memcached-u username 以username运行-m 《num》 最大的内存使用,单位是MB ,缺省是64MB-c <num> 软连接数量,缺省是1024-v 输出警告和错误信息-vv 打印客户端的请求和返回信息检查memcached是否正常运行#ps aux | grep memcached#telnet localhost 11211....stats...会显示memcached的基本信息如果启动时出现“memcached: error while loading shared libraries:libevent-2.0.so.5: cannotopen shared object file: No such file or directory”之类的信息,表示memcached 找不到libevent 的位置所以,请先使用whereis libevent 得到位置,然后连接到memcached 所寻找的路径首先查看,libevent 在哪里# whereis libeventlibevent: /usr/local/lib/libevent.la /usr/local/lib/libevent.so /usr/local/lib/libevent.a然后,再看memcached 从哪里找它# LD_DEBUG=libs memcached -v 2>&1 > /dev/null | less可以看到:是/usr/lib/libevent-2.0.so.5,所以,创建软链[root@localhost tools]# ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5再次启动关闭memcached :pkill memcached
- memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o解决
- memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o解决
- memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o解决
- memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o
- memcached: error while loading shared libraries:libevent-2.0.so.5: cannot open shared object file:
- memcached安装时memcached: error while loading shared libraries:libevent-2.0.so.5: cannot 的问题解决
- memcached error while loading shared libraries: libevent-2.0.so.5
- error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file
- 启动Memcache,出现memcached: error while loading shared libraries: libevent-1.4.so.1: cannot open shared
- ./memcached: error while loading shared libraries: libevent-1.3.so.1: cannot open shared object file
- error while loading shared libraries: libevent-2.0.so.5 (安装MEMCACHED问题)
- error while loading shared libraries: libevent-2.0.so.5 (安装MEMCACHED问题)
- error while loading shared libraries: libevent-2.0.so.5 (安装MEMCACHED问题)
- error while loading shared libraries: libevent-2.0.so.5
- error while loading shared libraries: libevent-2.0.so.5
- error while loading shared libraries: libevent-2.0.so.5
- error while loading shared libraries: libevent-2.0.so.5
- error while loading shared libraries: libevent-2.0.so.5解决办法
- ORACLE用户创建过程
- wordpress搬家主要流程分享本
- 软件配置管理
- java web开发学习-11 Apache ActiveMQ
- struct2动态方法调用和使用通配符定义action
- memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o解决
- 最小二乘法多项式曲线拟合原理与实现
- Android有效解决加载大图片时内存溢出的问题
- Xp系统优化之 路由器(13)
- FLEX学习-1环境搭建
- JSP向controller传参时,如何把动态记录传过去
- C++类中的static数据成员,static成员函数
- mysql优化———第二篇:数据库优化调整参数
- java 线程池。。感觉这个写得比较好。。给兄弟们弄过来了