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 生成的QRCode圖片加上下載按鈕
  • ¥15 板材切割优化算法,数学建模,python,lingo
  • ¥15 科来模拟ARP欺骗困惑求解
  • ¥100 iOS开发关于快捷指令截屏后如何将截屏(或从截屏中提取出的文本)回传给本应用并打开指定页面
  • ¥15 unity连接Sqlserver
  • ¥15 图中这种约束条件lingo该怎么表示出来
  • ¥15 VSCode里的Prettier如何实现等式赋值后的对齐效果?
  • ¥15 流式socket文件传输答疑
  • ¥20 keepalive配置业务服务双机单活的方法。业务服务一定是要双机单活的方式
  • ¥50 关于多次提交POST数据后,无法获取到POST数据参数的问题