分页: 1 / 1

apt-p2p怎么用?

发表于 : 2009-09-06 10:40
zasdfgbnm
$ apt-p2p
2009-09-06 10:45:06+0800 [-] Log opened.
2009-09-06 10:45:06+0800 [-] Loading config files: '/etc/apt-p2p/apt-p2p.conf', '/home/gaoxiang/.apt-p2p/apt-p2p.conf', ''
2009-09-06 10:45:06+0800 [-] Successfully loaded config files: '/etc/apt-p2p/apt-p2p.conf'
2009-09-06 10:45:06+0800 [-] Starting application with uid/gid 118/65534
2009-09-06 10:45:06+0800 [-] /var/lib/python-support/python2.6/apt_p2p_Khashmir/DHT.py:8: exceptions.DeprecationWarning: the sha module is deprecated; use the hashlib module instead
2009-09-06 10:45:07+0800 [-] Starting main application server
2009-09-06 10:45:07+0800 [-] Initializing the main apt_p2p application
2009-09-06 10:45:08+0800 [-] Traceback (most recent call last):
2009-09-06 10:45:08+0800 [-] File "/usr/sbin/apt-p2p", line 92, in <module>
2009-09-06 10:45:08+0800 [-] service.IServiceCollection(application).privilegedStartService()
2009-09-06 10:45:08+0800 [-] File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 273, in privilegedStartService
2009-09-06 10:45:08+0800 [-] service.privilegedStartService()
2009-09-06 10:45:08+0800 [-] File "/usr/lib/python2.6/dist-packages/twisted/application/internet.py", line 85, in privilegedStartService
2009-09-06 10:45:08+0800 [-] self._port = self._getPort()
2009-09-06 10:45:08+0800 [-] File "/usr/lib/python2.6/dist-packages/twisted/application/internet.py", line 116, in _getPort
2009-09-06 10:45:08+0800 [-] *self.args, **self.kwargs)
2009-09-06 10:45:08+0800 [-] File "/usr/lib/python2.6/dist-packages/twisted/internet/posixbase.py", line 356, in listenTCP
2009-09-06 10:45:08+0800 [-] p.startListening()
2009-09-06 10:45:08+0800 [-] File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 858, in startListening
2009-09-06 10:45:08+0800 [-] raise CannotListenError, (self.interface, self.port, le)
2009-09-06 10:45:08+0800 [-] twisted.internet.error.CannotListenError: Couldn't listen on any:9977: [Errno 98] Address already in use.

Re: apt-p2p怎么用?

发表于 : 2009-09-08 17:38
boysky