Hi,
Gave restart commands as follows;
sudo service php5-fpm restart sudo service nginx restart
Server is down immediately after. Any of you guys have an idea of why that happened and how to get going again?
Many thanks
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!
Logs are your friends. Check the nginx error log. That should give you some clue as to why it is crashing.
Check the logs, also run top when you start the server to see the load. <br> <br>Also check to see if you are under DDOS attack run <br> <br>netstat -plan|grep :80|awk {‘print $5’}|cut -d: -f 1|sort|uniq -c|sort -n for port 80 <br> <br>netstat -plan|grep :80|awk {‘print $5’}|cut -d: -f 1|sort|uniq -c|sort -n for port 443 <br> <br>If you are being Dos attacked you need to setup a software firewall and ban the ip. <br> <br>When you run those commands you’ll get a list of IPs and a number beside them this number is the number of connections there opening to your web server.
Sorry its <br> <br>netstat -plan|grep :443|awk {‘print $5’}|cut -d: -f 1|sort|uniq -c|sort -n for port 443(ssl)
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.