2 lovezhuoran lovezhuoran 于 2013.11.19 14:22 提问

暗黑服务器启动问题 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
uxqclm   2013.11.19 14:23
已采纳

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

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!