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

Problems installing the agent on SLES #189

Open filiphosten opened 10 years ago

filiphosten commented 10 years ago

Filip Hosten

Nov 19 06:43 (PST)

Hi,

I want to install plugin for memcached. These were the steps I followed :

wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py python ez_setup.py

wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py python get-pip.py

But this gave me certificate verification errors.

I did then :

easy_install pip

This was successful.

I untarred the agent and cd into newrelic_plugin_agent-1.2.2/

I did then :

pip install newrelic-plugin-agentDownloading/unpacking newrelic-plugin-agent Could not fetch URL https://pypi.python.org/simple/newrelic-plugin-agent/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:491: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed> Will skip URL https://pypi.python.org/simple/newrelic-plugin-agent/ when looking for download links for newrelic-plugin-agent Could not fetch URL https://pypi.python.org/simple/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:491: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed> Will skip URL https://pypi.python.org/simple/ when looking for download links for newrelic-plugin-agent Cannot fetch index base URL https://pypi.python.org/simple/ Could not fetch URL https://pypi.python.org/simple/newrelic-plugin-agent/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:491: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed> Will skip URL https://pypi.python.org/simple/newrelic-plugin-agent/ when looking for download links for newrelic-plugin-agent Could not find any downloads that satisfy the requirement newrelic-plugin-agent Cleaning up... No distributions at all found for newrelic-plugin-agent Storing complete log in /root/.pip/pip.log

Everything was executed as root.

Also the package "openssl-certs " is installed. (package with CA-certificates)

thanks. Filip

noqqe commented 10 years ago

Had the same issue.

Did the following:

cat /etc/ssl/certs/*.pem >  /etc/ssl/certs/ca-certificates.crt
pip --cert /etc/ssl/certs/ca-certificates.crt install newrelic_plugin_agent