From: Larry M. <Lar...@Sp...> - 2004-08-21 18:37:12
|
Hi, Running a mixed Sid/Sarge system. Just installed apt-proxy-v2 (a.k.a. 1.9.17) from testing. Now the service won't restart under xinetd, complaining that 9999 is already in use. I've tried restating both xinetd and apt-proxy, but the results are the same. netstat says nothing is using port 9999. It's probably something simple, but I'm an xinetd-noob, I'm afraid. tia for any help, Larry. /var/log/apt-proxy.log (Pls forgive the large inline): 2004/08/21 09:35 PDT [-] twistd 1.3.0rc1 (/usr/bin/python2.3 2.3.4) starting up 2004/08/21 09:35 PDT [-] reactor class: twisted.internet.default.SelectReactor 2004/08/21 09:35 PDT [-] Loading /usr/sbin/apt-proxy... 2004/08/21 09:35 PDT [-] Updating twisted's process module. 2004/08/21 09:35 PDT [-] No updating required. 2004/08/21 09:35 PDT [-] Loaded. 2004/08/21 09:35 PDT [-] apt_proxy.apt_proxy.Factory starting on 9999 2004/08/21 09:35 PDT [-] Traceback (most recent call last): 2004/08/21 09:35 PDT [-] File "/usr/bin/twistd2.3", line 36, in ? 2004/08/21 09:35 PDT [-] run() 2004/08/21 09:35 PDT [-] File "/usr/lib/python2.3/site-packages/twisted/scripts/twistd.py", line 184, in run 2004/08/21 09:35 PDT [-] app.run(runApp, ServerOptions) 2004/08/21 09:35 PDT [-] File "/usr/lib/python2.3/site-packages/twisted/application/app.py", line 205, in run 2004/08/21 09:35 PDT [-] runApp(config) 2004/08/21 09:35 PDT [-] File "/usr/lib/python2.3/site-packages/twisted/scripts/twistd.py", line 175, in runApp 2004/08/21 09:35 PDT [-] startApplication(config, application) 2004/08/21 09:35 PDT [-] File "/usr/lib/python2.3/site-packages/twisted/scripts/twistd.py", line 159, in startApplication 2004/08/21 09:35 PDT [-] service.IService(application).privilegedStartService() 2004/08/21 09:35 PDT [-] File "/usr/lib/python2.3/site-packages/twisted/application/service.py", line 205, in privilegedStart Service 2004/08/21 09:35 PDT [-] service.privilegedStartService() 2004/08/21 09:35 PDT [-] File "/usr/lib/python2.3/site-packages/twisted/application/internet.py", line 57, in privilegedStart Service 2004/08/21 09:35 PDT [-] self._port = self._getPort() 2004/08/21 09:35 PDT [-] File "/usr/lib/python2.3/site-packages/twisted/application/internet.py", line 74, in _getPort 2004/08/21 09:35 PDT [-] return getattr(reactor, 'listen'+self.method)(*self.args, **self.kwargs) 2004/08/21 09:35 PDT [-] File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 283, in listenTCP 2004/08/21 09:35 PDT [-] p.startListening() 2004/08/21 09:35 PDT [-] File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 594, in startListening 2004/08/21 09:35 PDT [-] raise CannotListenError, (self.interface, self.port, le) 2004/08/21 09:35 PDT [-] twisted.internet.error.CannotListenError: Couldn't listen on any:9999: (98, 'Address already in use'). xinetd 2.3.13 /var/log/daemon.log (snippet around xinet restart) [...snip...] Aug 21 09:35:33 ipanema xinetd[1914]: Exiting... Aug 21 09:35:33 ipanema xinetd[5706]: Reading included configuration file: /etc/xinetd.d/apt-proxy [file=/etc/xinetd.conf] [line=11] Aug 21 09:35:33 ipanema xinetd[5706]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.d/chargen] [line=11] [...snip...] /etc/xinetd.d/apt-proxy: service apt-proxy { disable = no socket_type = stream protocol = tcp port = 9999 wait = no user = (*scrubbed*) server = /usr/sbin/apt-proxy server_args = /var/log/apt-proxy.log } |