MeetMe / newrelic-plugin-agent

Multi-Plugin python-based Agent for NewRelic's Platform
BSD 3-Clause "New" or "Revised" License
425 stars 265 forks source link

New relic Plugin Agent Not starting #552

Open AnilkumarSeshendra opened 6 years ago

AnilkumarSeshendra commented 6 years ago

I am trying to install Mongo DB Plugin on my test server. I have followed the steps but could see the agent is not getting started. Below is the link that I followed.

Below are the versions of Python and pip that I installed.

[root@anil newrelic]# pip --version pip 7.1.0 from /usr/lib/python2.6/site-packages (python 2.6) [root@anil newrelic]# python --version Python 2.6.6 [root@anilnewrelic]#

When I try running the agent, getting the below error.

[root@anil data]# newrelic-plugin-agent -c /data/newrelic-plugin-agent.cfg [-f] Traceback (most recent call last): File "/usr/bin/newrelic-plugin-agent", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in working_set.require(requires) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: helper>=2.2.2

I also tried below:

[root@anil init.d]# pwd /data/newrelic_plugin_agent-1.3.0/etc/init.d [root@anil init.d]# /data/newrelic_plugin_agent-1.3.0/etc/init.d/newrelic-plugin-agent.rhel start Starting /usr/bin/newrelic-plugin-agent: Traceback (most recent call last): File "/usr/bin/newrelic-plugin-agent", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in working_set.require(requires) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: helper>=2.2.2 [FAILED]

Can you please help?

Thanks Anilkumar Ch