attributeerror epollreactor object has no attribute adpotstreamport

Asked by rocky

Hi,

Am unable to open the graphite metrics.

Found below error.

10/10/2017 04:23:03 :: Log opened.
10/10/2017 04:23:03 :: twistd 11.0.0 (/usr/local/bin/python2.7 2.7.3) starting up.
10/10/2017 04:23:03 :: reactor class: twisted.internet.epollreactor.EPollReactor.
10/10/2017 04:23:03 :: Starting factory CarbonClientFactory(127.0.0.1:2004:None)
10/10/2017 04:23:03 :: Traceback (most recent call last):
10/10/2017 04:23:03 :: File "bin/carbon-aggregator.py", line 32, in <module>
10/10/2017 04:23:03 :: run_twistd_plugin(__file__)
10/10/2017 04:23:03 :: File "/opt/graphite/lib/carbon/util.py", line 108, in run_twistd_plugin
10/10/2017 04:23:03 :: runApp(config)
10/10/2017 04:23:03 :: File "/usr/local/lib/python2.7/site-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/scripts/twistd.py", line 23, in runApp
10/10/2017 04:23:03 :: _SomeApplicationRunner(config).run()
10/10/2017 04:23:03 :: File "/usr/local/lib/python2.7/site-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/application/app.py", line 380, in run
10/10/2017 04:23:03 :: self.postApplication()
10/10/2017 04:23:03 :: File "/usr/local/lib/python2.7/site-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/scripts/_twistd_unix.py", line 205, in postApplication
10/10/2017 04:23:03 :: self.startApplication(self.application)
10/10/2017 04:23:03 :: File "/usr/local/lib/python2.7/site-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/scripts/_twistd_unix.py", line 323, in startApplication
10/10/2017 04:23:03 :: app.startApplication(application, not self.config['no_save'])
10/10/2017 04:23:03 :: File "/usr/local/lib/python2.7/site-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/application/app.py", line 644, in startApplication
10/10/2017 04:23:03 :: service.IService(application).startService()
10/10/2017 04:23:03 :: File "/usr/local/lib/python2.7/site-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/application/service.py", line 277, in startService
10/10/2017 04:23:03 :: service.startService()
10/10/2017 04:23:03 :: File "/usr/local/lib/python2.7/site-packages/Twisted-11.0.0-py2.7-linux-x86_64.egg/twisted/application/service.py", line 277, in startService
10/10/2017 04:23:03 :: service.startService()
10/10/2017 04:23:03 :: File "/opt/graphite/lib/carbon/protocols.py", line 61, in startService
10/10/2017 04:23:03 :: self._port = reactor.adoptStreamPort(
10/10/2017 04:23:03 :: AttributeError: 'EPollReactor' object has no attribute 'adoptStreamPort'

Could you please help me to resolve the issue.

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Denis Zhdanov
Solved:
Last query:
Last reply:
Revision history for this message
Best Denis Zhdanov (deniszhdanov) said :
#1

What's your Graphite version? 1.0.x and master require Twisted 13.2 or never, 11.0 is too old, please upgrade it.

Revision history for this message
rocky (rocky.munich1) said :
#2

Thank you for your valuable response.

After that we getting below response in carbon-cache-a logs.

10/10/2017 07:26:59 :: Error tagging icinga2.omsappagentvmdr1.host.ping4.perfdata.rta.value: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 111: Connection refused.
]
10/10/2017 07:26:59 :: Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x2776e18>
10/10/2017 07:27:05 :: Tagging icinga2.icingamonitoringdr_softlayer_com.services.icinga.icinga.perfdata.active_service_checks.value
10/10/2017 07:27:05 :: Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x2782ef0>
10/10/2017 07:27:05 :: Error tagging icinga2.icingamonitoringdr_softlayer_com.services.icinga.icinga.perfdata.active_service_checks.value: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 111: Connection refused.
]
10/10/2017 07:27:05 :: Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x2782ef0>

Revision history for this message
rocky (rocky.munich1) said :
#3

Thanks Denis Zhdanov, that solved my question.