暗黑服务器启动问题 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
求大牛指导

suannai0314
鹳狸媛 楼主的这个问题解决了么?下边的答案能解决问题么?如果可以麻烦点击答案旁的√采纳哦~如果没有也可以将自己的答案贴上然后进行采纳的。
接近 6 年之前 回复

1个回答

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

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!