Welcome! Log In Create A New Profile

Advanced

Re: Compiling Nginx on production. How to do it without down time.

October 13, 2012 08:22AM
On Saturday 13 October 2012 16:10:48 Valentin V. Bartenev wrote:
> On Saturday 13 October 2012 04:25:36 Bob S. wrote:
> > I don't see how this can work.
> >
> > Trying to replace the nginx executable with a new version of nginx, while
> > nginx is running, will produce:
> >
> > cp: cannot create regular file `nginx': Text file busy
> >
> > Or am I missing something?
> >
> > This is standard behavior on any running executable in Linux.
>
> This is just a warning produced by "cp", you can force it with -f flag.
>

But anyway, it would be a much better idea to "mv" or "rm" an old binary instead
of overwrite it.

wbr, Valentin V. Bartenev

--
http://nginx.com/support.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Compiling Nginx on production. How to do it without down time.

Quintin Par October 11, 2012 08:10PM

Re: Compiling Nginx on production. How to do it without down time.

Francis Daly October 11, 2012 08:28PM

Re: Compiling Nginx on production. How to do it without down time.

Quintin Par October 12, 2012 04:30PM

Re: Compiling Nginx on production. How to do it without down time.

Priority1 October 12, 2012 04:46PM

Re: Compiling Nginx on production. How to do it without down time.

Francis Daly October 12, 2012 05:28PM

Re: Compiling Nginx on production. How to do it without down time.

Bob S. October 12, 2012 08:28PM

Re: Compiling Nginx on production. How to do it without down time.

bwellsnc October 13, 2012 12:52AM

Re: Compiling Nginx on production. How to do it without down time.

VBart October 13, 2012 08:12AM

Re: Compiling Nginx on production. How to do it without down time.

VBart October 13, 2012 08:22AM

Re: Compiling Nginx on production. How to do it without down time.

Francis Daly October 13, 2012 08:52AM

Re: Compiling Nginx on production. How to do it without down time.

bwellsnc October 13, 2012 10:12AM

Re: Compiling Nginx on production. How to do it without down time.

Bob S. October 14, 2012 01:18PM

Re: Compiling Nginx on production. How to do it without down time.

António P. P. Almeida October 13, 2012 07:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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