Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20993 - [nginx] check configuration
Attached to Project:
Community Packages
Opened by Yanchenko Igor (ig0r) - Wednesday, 29 September 2010, 20:00 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 04 October 2010, 08:51 GMT
Opened by Yanchenko Igor (ig0r) - Wednesday, 29 September 2010, 20:00 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 04 October 2010, 08:51 GMT
|
DetailsWhen I run "/etc/rc.d/nginx restart", nginx stopping, then check config, then starting. Must be - check config, then stopping, then starting (if configuration is not valid nginx must not be stopped).
:: Stopping Nginx [DONE] :: Checking configuration [BUSY] [emerg]: unexpected "}" in /etc/nginx/conf/nginx.conf:118 configuration file /etc/nginx/conf/nginx.conf test failed [FAIL] And to suppress message "the configuration file /etc/nginx/conf/nginx.conf syntax is ok" nginx have option "-q". :: Stopping Nginx [DONE] :: Checking configuration [BUSY] the configuration file /etc/nginx/conf/nginx.conf syntax is ok configuration file /etc/nginx/conf/nginx.conf test is successful [DONE] :: Starting Nginx [DONE] Thank you. sorry for my english. |
This task depends upon
Closed by Sergej Pupykin (sergej)
Monday, 04 October 2010, 08:51 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in svn, will appear in next build
Monday, 04 October 2010, 08:51 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in svn, will appear in next build
/etc/rc.d/nginx reload
it firstly checks config, then reloads it.
/etc/rc.d/nginx check
also