HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Nginx cannot start a new site - vhost.err (http://www.howtoforge.com/forums/showthread.php?t=61390)

z33k3r 12th April 2013 00:04

Nginx cannot start a new site - vhost.err
 
Hello everybody! I recently have been discovering Nginx (coming from a all-in Apache user). Today was my first dive with ISPConfig + Nginx + PHP-FPM.

My problem was that after a successful installation rutine, ISPConfig's trigger to initiate the site's .vhost file failed. I kept seeing error messages in the log like:

Code:

WARNING - nginx did not restart after the configuration change for website DOMAIN_NAME Reverting the configuration. Saved non-working config as /etc/nginx/sites-available/DOMAIN_NAME.vhost.err
...and...

Code:

DEBUG - chmod failed: /var/www/clients/client#/web#/web/stats/.htpasswd_stats : 493
After tons of Googling, I found the solution to actually be to increase nginx's server_names_hash_bucket_size

I am posting this to help any future Googler find it X minutes faster than I did and support the community!


All times are GMT +2. The time now is 05:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.