Some time back, the root user password has been changed.After that while contacting nginx server, the connection was not established. Restarting the php5-fpm has resolved that issue.But we are getting ‘Connection reset by peer’ error while making post calls to the server. We are using node js server in the backend.
boot.log shows :
You are required to change your password immediately (root enforced) su: Authentication token is no longer valid; new one required (Ignored) Cloud-init v. 0.7.5 running ‘modules:config’ at Sun, 22 Jan 2017 11:53:15 +0000. Up 10.82 seconds.
php5-fpm log shows:
[15-Feb-2017 06:40:05] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
[15-Feb-2017 06:40:16] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
[15-Feb-2017 15:21:29] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @Seetha93,
I know this question is bit old in terms of how fast stuff are evolving, but I still think it’s good to have it cleared up, so, looking for answers on the web, I came up with the following three possibilities:
The error provided suggests the issue is coming from PHP-FPM. You’ll need to enable the catch_workers_output module. This can be set
in /etc/php5/fpm/pool.d/www.conf. As soon as you do, restart the service and check your php5-fpm.log. Check the log and it should provide more descriptive errors.
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.