2012/10/22 Valentin V. Bartenev <span dir="ltr"><<a href="mailto:ne@vbart.ru" target="_blank">ne@vbart.ru</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Monday 22 October 2012 16:01:17 Kasper Grubbe wrote:<br>
> Hello, I have a problem with NGINX version 1.2.4 it will constantly look<br>
> for /logs/error.log, even though I have defined another error.log in my<br>
> configuration.<br>
</div>[...]<br>
<div class="im">> But NGINX don't want to start because ./logs/error.log doesn't exist. This<br>
> is my error:<br>
><br>
> [ben2 (master)]=> nginx -p . -c config/nginx/development.conf<br>
> nginx: [alert] could not open error log file: open() "./logs/error.log"<br>
> failed (2: No such file or directory)<br>
><br>
> Am I doing it wrong?<br>
<br>
</div>Nginx must have access to error log before it will parse configuration.<br>
See also the "--error-log-path=" configure parameter.<br>
<a href="http://www.nginx.org/en/docs/install.html" target="_blank">http://www.nginx.org/en/docs/install.html</a><br>
<br>
 wbr, Valentin V. Bartenev<br>
<br>
--<br>
<a href="http://nginx.com/support.html" target="_blank">http://nginx.com/support.html</a><br>
<a href="http://nginx.org/en/donation.html" target="_blank">http://nginx.org/en/donation.html</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br><div>Oh, that makes sense. Then I am not able to make a smart setup that I wanted. Thanks for your email.</div>