Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
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: 22.214.171.124, 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.×