lovezhuoran 2013-11-19 06:22 采纳率: 66.7%
浏览 3526
已采纳

暗黑服务器启动问题 python-memcached

暗黑世界服务器在linux下easy_install python-memcached后不知道python-memcached怎么启动,所以报 “memcache connect error ”
2013-11-16 13:29:54+0800 [-] Log opened.
2013-11-16 13:29:54+0800 [-] DelaySite starting on 9998
2013-11-16 13:29:54+0800 [-] Starting factory
2013-11-16 13:29:54+0800 [-] BilateralFactory starting on 9999
2013-11-16 13:29:54+0800 [-] Starting factory
2013-11-16 13:29:54+0800 [-] Log opened.
2013-11-16 13:29:54+0800 [-] net start...
2013-11-16 13:29:54+0800 [-] net pid: 14542
2013-11-16 13:29:54+0800 [BilateralBroker,0,127.0.0.1] node [net] takeProxy ready
Traceback (most recent call last):
File "appmain.py", line 27, in
ser.config(serconfig, dbconfig=dbconf, memconfig=memconf,masterconf=masterconf)
File "/usr/lib/python2.6/site-packages/firefly-1.2.2dev-py2.6.egg/firefly/server/server.py", line 97, in config
mclient.connect(urls, hostname)
File "/usr/lib/python2.6/site-packages/firefly-1.2.2dev-py2.6.egg/firefly/dbentrust/memclient.py", line 33, in connect
raise MemConnError()
firefly.dbentrust.memclient.MemConnError: memcache connect error
2013-11-16 13:29:54+0800 [Broker,client] Unhandled error in Deferred:
2013-11-16 13:29:54+0800 [Broker,client] Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion.

2013-11-16 13:29:54+0800 [Broker,client] Stopping factory
Traceback (most recent call last):
File "appmain.py", line 27, in
ser.config(serconfig, dbconfig=dbconf, memconfig=memconf,masterconf=masterconf)
File "/usr/lib/python2.6/site-packages/firefly-1.2.2dev-py2.6.egg/firefly/server/server.py", line 97, in config
mclient.connect(urls, hostname)
File "/usr/lib/python2.6/site-packages/firefly-1.2.2dev-py2.6.egg/firefly/dbentrust/memclient.py", line 33, in connect
raise MemConnError()
firefly.dbentrust.memclient.MemConnError: memcache connect error
Traceback (most recent call last):
File "appmain.py", line 27, in
ser.config(serconfig, dbconfig=dbconf, memconfig=memconf,masterconf=masterconf)
File "/usr/lib/python2.6/site-packages/firefly-1.2.2dev-py2.6.egg/firefly/server/server.py", line 97, in config
mclient.connect(urls, hostname)
File "/usr/lib/python2.6/site-packages/firefly-1.2.2dev-py2.6.egg/firefly/dbentrust/memclient.py", line 33, in connect
raise MemConnError()
firefly.dbentrust.memclient.MemConnError: memcache connect error
Traceback (most recent call last):
File "appmain.py", line 27, in
ser.config(serconfig, dbconfig=dbconf, memconfig=memconf,masterconf=masterconf)
File "/usr/lib/python2.6/site-packages/firefly-1.2.2dev-py2.6.egg/firefly/server/server.py", line 97, in config
mclient.connect(urls, hostname)
File "/usr/lib/python2.6/site-packages/firefly-1.2.2dev-py2.6.egg/firefly/dbentrust/memclient.py", line 33, in connect
raise MemConnError()
firefly.dbentrust.memclient.MemConnError: memcache connect error
求大牛指导

  • 写回答

1条回答 默认 最新

  • uxqclm 2013-11-19 06:23
    关注

    easy_install python-memcached 这个装的只是Python的模块用来与memcached连接,你还要装一个memcached服务,根据你的Linux选择用apt-get, yum去装 memcached 应该就有了

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 麒麟V10桌面版SP1如何配置bonding
  • ¥15 Marscode IDE 如何预览新建的 HTML 文件
  • ¥15 K8S部署二进制集群过程中calico一直报错
  • ¥15 java python或者任何一种编程语言复刻一个网页
  • ¥20 如何通过代码传输视频到亚马逊平台
  • ¥15 php查询mysql数据库并显示至下拉列表中
  • ¥15 freertos下使用外部中断失效
  • ¥15 输入的char字符转为int类型,不是对应的ascall码,如何才能使之转换为对应ascall码?或者使输入的char字符可以正常与其他字符比较?
  • ¥15 devserver配置完 启动服务 无法访问static上的资源
  • ¥15 解决websocket跟c#客户端通信