Sameer Regmi
unread,Nov 20, 2009, 4:10:37 PM11/20/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenode-devel
I installed codenode, and when I do
$ codenode-admin run
I get error message :
2009-11-20 13:05:02-0800 [-] twisted.internet.error.CannotListenError:
Couldn't listen on localhost:8000: [Errno 98] Address already in use.
Could you let me know how I can solve this.
Full traceback:
sameer@tahoe:~/all/codenode/mycodenode$ codenode-admin run
/home/sameer/usr/lib/python/Twisted-8.2.0-py2.6-linux-x86_64.egg/
twisted/persisted/sob.py:12: DeprecationWarning: the md5 module is
deprecated; use hashlib instead
import os, md5, sys
/home/sameer/usr/lib/python/Twisted-8.2.0-py2.6-linux-x86_64.egg/
twisted/python/filepath.py:12: DeprecationWarning: the sha module is
deprecated; use the hashlib module instead
import sha
Removing stale pidfile /home/sameer/all/codenode/mycodenode/twistd.pid
2009-11-20 13:05:02-0800 [-] Log opened.
2009-11-20 13:05:02-0800 [-] twistd 8.2.0 (/usr/bin/python 2.6.2)
starting up.
2009-11-20 13:05:02-0800 [-] reactor class:
twisted.internet.selectreactor.SelectReactor.
2009-11-20 13:05:02-0800 [-] Traceback (most recent call last):
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/bin/twistd",
line 5, in <module>
2009-11-20 13:05:02-0800 [-] pkg_resources.run_script
('Twisted==8.2.0', 'twistd')
2009-11-20 13:05:02-0800 [-] File "/usr/lib/python2.6/dist-packages/
pkg_resources.py", line 448, in run_script
2009-11-20 13:05:02-0800 [-] self.require(requires)[0].run_script
(script_name, ns)
2009-11-20 13:05:02-0800 [-] File "/usr/lib/python2.6/dist-packages/
pkg_resources.py", line 1166, in run_script
2009-11-20 13:05:02-0800 [-] execfile(script_filename, namespace,
namespace)
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/EGG-INFO/scripts/twistd", line
21, in <module>
2009-11-20 13:05:02-0800 [-] run()
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/scripts/twistd.py", line
27, in run
2009-11-20 13:05:02-0800 [-] app.run(runApp, ServerOptions)
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/application/app.py", line
694, in run
2009-11-20 13:05:02-0800 [-] runApp(config)
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/scripts/twistd.py", line
23, in runApp
2009-11-20 13:05:02-0800 [-] _SomeApplicationRunner(config).run()
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/application/app.py", line
423, in run
2009-11-20 13:05:02-0800 [-] self.postApplication()
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/scripts/_twistd_unix.py",
line 206, in postApplication
2009-11-20 13:05:02-0800 [-] self.startApplication
(self.application)
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/scripts/_twistd_unix.py",
line 311, in startApplication
2009-11-20 13:05:02-0800 [-] service.IService
(application).privilegedStartService()
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/application/service.py",
line 273, in privilegedStartService
2009-11-20 13:05:02-0800 [-] service.privilegedStartService()
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/application/service.py",
line 273, in privilegedStartService
2009-11-20 13:05:02-0800 [-] service.privilegedStartService()
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/application/internet.py",
line 85, in privilegedStartService
2009-11-20 13:05:02-0800 [-] self._port = self._getPort()
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/application/internet.py",
line 116, in _getPort
2009-11-20 13:05:02-0800 [-] *self.args, **self.kwargs)
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/internet/posixbase.py",
line 356, in listenTCP
2009-11-20 13:05:02-0800 [-] p.startListening()
2009-11-20 13:05:02-0800 [-] File "/home/sameer/usr/lib/python/
Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/internet/tcp.py", line
858, in startListening
2009-11-20 13:05:02-0800 [-] raise CannotListenError,
(self.interface, self.port, le)
2009-11-20 13:05:02-0800 [-] twisted.internet.error.CannotListenError:
Couldn't listen on localhost:8000: [Errno 98] Address already in use.