nginx 8051#0: *4 recv() failed (104: Connection reset by peer) while reading response header from u

环境    php7   nginx1.8.0   


nginx   报错  500  GATWAY网关错误


2017/08/28 10:45:42 [error] 7975#0: *333 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.2.66, server: local.sdkmanage.com, request: "GET /delivery/iqy/plan HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "local.sdkmanage.com", referrer: "http://local.sdkmanage.com/delivery/iqy"


这个错误查了下和nginx  关系不大 。可以查看、

PHP报错日志    

[28-Aug-2017 10:52:46] WARNING: [pool www] child 8014, script '/usr/local/nginx/html/html/syweb-sdkapi-new_manager/public/index.php' (request: "GET /index.php") executing too slow (1.045607 sec), logging
[28-Aug-2017 10:52:46] NOTICE: child 8014 stopped for tracing
[28-Aug-2017 10:52:46] NOTICE: about to trace 8014
[28-Aug-2017 10:52:46] NOTICE: finished trace of 8014
[28-Aug-2017 10:52:50] WARNING: [pool www] child 8014 said into stderr: "php-fpm: pool www: symbol lookup error: /usr/lib64/libnsssysinit.so: undefined symbol: PR_GetEnvSecure"
[28-Aug-2017 10:52:50] WARNING: [pool www] child 8014 exited with code 127 after 353.090120 seconds from start
[28-Aug-2017 10:52:50] NOTICE: [pool www] child 8054 started
[28-Aug-2017 10:52:53] WARNING: [pool www] child 8052 said into stderr: "php-fpm: pool www: symbol lookup error: /usr/lib64/libnsssysinit.so: undefined symbol: PR_GetEnvSecure"
[28-Aug-2017 10:52:53] WARNING: [pool www] child 8052 exited with code 127 after 201.425391 seconds from start
[28-Aug-2017 10:52:53] NOTICE: [pool www] child 8055 started


查找问题,



Centos官方发布了一个新版本的NSS包,如果进行更新就会产生这样的错误
解决方法:
重启Apache(开启了php-fpm也需要重启)

重启  php-fpm     

service php-fpm restart  ......


错误解决。




Centos官方发布了一个新版本的NSS包,如果进行更新就会产生这样的错误

解决方法:

重启Apache(开启了php-fpm也需要重启)

参考文章: Httpd - Symbol Lookup Errors

你可能感兴趣的:(php)