Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Cannot restart nginx properly, yet I can start and stop it and they're both okay

$
0
0
It seems that whenever I use /etc/init.d/nginx restart I am always receiving an error. But using /etc/init.d/nginx start or /etc/init.d/nginx stop everything works well. I'm using Ubuntu 14.04 with mainline ppa. I used the ppa thing since adding the direct source of nginx mainline/stable in Ubuntu and installing it does not generate the "sites-enabled" and "sites-available" folders. Plus, hhvm says that the nginx installation is corrupted. Using the "warn" feature of the error log outputs blank. That is why I changed it to debug.

For reference, I also attached the conf files.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>