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,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

有什么帮助吗?

最佳答案
我从here得到了两个解决方案,一个是删除pid文件/var/run/Nginx-nr-agent/Nginx-nr-agent.pid,然后启动/重新启动它.第二种解决方案是重新启动服务器.

相关文章

一、Linux下Nginx的安装 1.去官网 http://nginx.org/download/下载对应的Nginx安装包,推荐使...
一、空格:默认匹配、普通匹配 location / { root /home; } 二、= :精确匹配(表示匹配到 /home/resou...
``` nginx -c 配置文件路径 ``` ``` /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.con...
前言 nginx可所谓是如今最好用的软件级别的负载均衡了。通过nginx的高性能,并发能力强,占用内存下的特...
1.ngnix概念 Nginx是一款高性能的http 服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器。由俄...
博客园从今天上午就开始报502错误 , 他的原因还不知道 , 暂时先说下我们遇到502的排查情况 最大的可能性...