Newrelic插件nginx-nr-agent不起作用

我正在使用Newrelic的nginx-nr-agent但突然崩溃,发出以下错误,而不是从头开始。

 2016-04-12 07:51:07,021 nginx-nr-agent [ERROR]: EXCEPTION: Traceback (most recent call last): File "/usr/bin/nginx-nr-agent.py", line 431, in newrelic_push u = urlopen(r, data=json.dumps(payload)) File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 401, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 419, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1219, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open r = h.getresponse(buffering=True) File "/usr/lib/python2.7/httplib.py", line 1034, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 407, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 365, in _read_status line = self.fp.readline() File "/usr/lib/python2.7/socket.py", line 447, in readline data = self._sock.recv(self._rbufsize) File "/usr/lib/python2.7/ssl.py", line 241, in recv return self.read(buflen) File "/usr/lib/python2.7/ssl.py", line 160, in read return self._sslobj.read(len) File "/usr/lib/pymodules/python2.7/daemon/daemon.py", line 399, in terminate raise exception SystemExit: Terminating on signal 15 

请帮忙吗?

我从这里得到了两个解决方案,一个是删除pid文件/var/run/nginx-nr-agent/nginx-nr-agent.pid然后start/restart它。 第二个解决方案是重新启动服务器。

这个插件由Nginx公司发布和支持。如果以前的建议没有帮助,请联系newrelic-support@nginx.com。