graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05211
[Question #256079]: can't start carbon-aggregator.py
New question #256079 on Graphite:
https://answers.launchpad.net/graphite/+question/256079
i have a strange situation running version 0.9.12. I can't start carbon-aggregator.py on port 2023/2024 while carbon-cache is running. Carbon-aggregator.py is trying to start carbon-cache as well and the whole thing fails because port 2003 is already bind. if I stop carbon-cache, carbon-aggregator.py start itself and carbon-cache, but niether of them function properly, although netstart show that ports are listening... Any suggestions? here is the trace. Thank you
./carbon-aggregator.py --debug start'
Starting carbon-aggregator (instance a)
22/10/2014 22:13:03 :: [console] Log opened.
22/10/2014 22:13:03 :: [console] twistd 14.0.0 (/graphite/graphite_python/bin/python 2.6.6) starting up.
22/10/2014 22:13:03 :: [console] reactor class: twisted.internet.epollreactor.EPollReactor.
22/10/2014 22:13:03 :: [console] ServerFactory starting on 2023
22/10/2014 22:13:03 :: [console] Starting factory <twisted.internet.protocol.ServerFactory instance at 0x2736830>
22/10/2014 22:13:03 :: [console] ServerFactory starting on 2024
22/10/2014 22:13:03 :: [console] Starting factory <twisted.internet.protocol.ServerFactory instance at 0x273f6c8>
22/10/2014 22:13:03 :: [console] Traceback (most recent call last):
22/10/2014 22:13:03 :: [console] File "./carbon-aggregator.py", line 32, in <module>
22/10/2014 22:13:03 :: [console] run_twistd_plugin(__file__)
22/10/2014 22:13:03 :: [console] File "/graphite/graphite/lib/carbon/util.py", line 97, in run_twistd_plugin
22/10/2014 22:13:03 :: [console] runApp(config)
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/scripts/twistd.py", line 23, in runApp
22/10/2014 22:13:03 :: [console] _SomeApplicationRunner(config).run()
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/application/app.py", line 380, in run
22/10/2014 22:13:03 :: [console] self.postApplication()
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/scripts/_twistd_unix.py", line 193, in postApplication
22/10/2014 22:13:03 :: [console] self.startApplication(self.application)
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/scripts/_twistd_unix.py", line 381, in startApplication
22/10/2014 22:13:03 :: [console] service.IService(application).privilegedStartService()
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/application/service.py", line 277, in privilegedStartService
22/10/2014 22:13:03 :: [console] service.privilegedStartService()
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/application/service.py", line 277, in privilegedStartService
22/10/2014 22:13:03 :: [console] service.privilegedStartService()
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/application/internet.py", line 105, in privilegedStartService
22/10/2014 22:13:03 :: [console] self._port = self._getPort()
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/application/internet.py", line 133, in _getPort
22/10/2014 22:13:03 :: [console] 'listen%s' % (self.method,))(*self.args, **self.kwargs)
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/internet/posixbase.py", line 374, in listenUDP
22/10/2014 22:13:03 :: [console] p.startListening()
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/internet/udp.py", line 175, in startListening
22/10/2014 22:13:03 :: [console] self._bindSocket()
22/10/2014 22:13:03 :: [console] File "/graphite/graphite_python/lib/python2.6/site-packages/twisted/internet/udp.py", line 195, in _bindSocket
22/10/2014 22:13:03 :: [console] raise error.CannotListenError(self.interface, self.port, le)
22/10/2014 22:13:03 :: [console] twisted.internet.error.CannotListenError: Couldn't listen on 0.0.0.0:2003: [Errno 98] Address already in use.
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.