Deleted /tmp/ files and getting 502
I accidentally the files in my tmp folder and now I am getting a 502 error on all of the sites running on my server.
Getting the following error in my error.log
2017/06/23 12:21:00 [crit] 17256#0: *1 connect() to unix:/var/run/php/php7.0-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 126.96.36.199, server: boss-14-001.bareface.work, request: “GET /favicon.ico HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.0-fpm.sock:”, host: “boss-14-001.bareface.work”, referrer: “http://boss-14-001.bareface.work/”
I also get the following in my syslog
I am very new at this so if you can help, please be as clear as possible. As far as I can see I may have deleted php7.0-fpm.sock but not sure how to restore that.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×