Welcome! Log In Create A New Profile

Advanced

[1.6.0] "service nginx configtest" returns [fail], but why?

Posted by lennart 
[1.6.0] "service nginx configtest" returns [fail], but why?
July 08, 2014 04:16PM
Running service nginx configtest on a LEMP-system (ubuntu 12.04 LTS) gives a [fail]. However, i've no clue why .. Is there a way to debug the parameter configtest or is there somewhere al log-file?
Re: [1.6.0] "service nginx configtest" returns [fail], but why?
July 08, 2014 04:40PM
It should tell you on the commandline or in the error.log

---
nginx for Windows http://nginx-win.ecsds.eu/
Re: [1.6.0] "service nginx configtest" returns [fail], but why?
July 09, 2014 03:52PM
No, the CLI is empty .. :-? Can't figure out why.
O wait, i moved the error log to \var\log\nginx. What's in it?

And .. found it. I had one 'real' but misconfigured config-file in the \sites-enabled\-folder, instead of just symlinks to \sites-available\. So that's why i couldn't find it in the config-files. I thought, they where all in the \sites-available\, but there was one more ..
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 161
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready