Welcome! Log In Create A New Profile

Advanced

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

Posted by AdventureTime 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
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.
Attachments:
open | download - default.conf.txt (7.1 KB)
open | download - nginx.conf.txt (3.4 KB)
open | download - error.log (9.7 KB)

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready