I have a ubuntu 14.04 machin with nginx, which was working fine until I last used my computer that was last night. Today when I started my computer and navigated to 127.0.0.1 it said server not found so I tried restarting nginx nginx start was successful but I had the same issue on 127.0.0.1 so I checked netstat -ntlp where I did not see port 80 anywhere. I am not sure what went wrong and clueless about it. Here is the nginx log :
2015/03/22 17:50:10 [alert] 5030#0: unlink() "/run/nginx.pid" failed (2: No such file or directory)