Welcome! Log In Create A New Profile

Advanced

Re: NGINX looks for /logs/error.log as default?

Kasper Grubbe
October 25, 2012 04:46AM
2012/10/22 Valentin V. Bartenev <ne@vbart.ru>

> On Monday 22 October 2012 16:01:17 Kasper Grubbe wrote:
> > Hello, I have a problem with NGINX version 1.2.4 it will constantly look
> > for /logs/error.log, even though I have defined another error.log in my
> > configuration.
> [...]
> > But NGINX don't want to start because ./logs/error.log doesn't exist.
> This
> > is my error:
> >
> > [ben2 (master)]=> nginx -p . -c config/nginx/development.conf
> > nginx: [alert] could not open error log file: open() "./logs/error.log"
> > failed (2: No such file or directory)
> >
> > Am I doing it wrong?
>
> Nginx must have access to error log before it will parse configuration.
> See also the "--error-log-path=" configure parameter.
> http://www.nginx.org/en/docs/install.html
>
> wbr, Valentin V. Bartenev
>
> --
> http://nginx.com/support.html
> http://nginx.org/en/donation.html
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

Oh, that makes sense. Then I am not able to make a smart setup that I
wanted. Thanks for your email.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX looks for /logs/error.log as default?

Kasper Grubbe October 22, 2012 08:02AM

Re: NGINX looks for /logs/error.log as default?

Sergey Budnevitch October 22, 2012 09:24AM

Re: NGINX looks for /logs/error.log as default?

VBart October 22, 2012 09:38AM

Re: NGINX looks for /logs/error.log as default?

Kasper Grubbe October 25, 2012 04:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
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