Upgrade from 7.63 to 7.64 fails

Maxim Dounin mdounin at mdounin.ru
Thu Nov 19 13:19:05 MSK 2009


Hello!

On Thu, Nov 19, 2009 at 01:18:39AM -0800, Adam Zell wrote:

> I believe the problem is that Linux refuses to overwrite the older version
> of nginx while it is running (Text file busy).  Perhaps something like:
> 
> mv /usr/local/sbin/nginx /usr/local/sbin/nginx.old
> make install

No, the problem is that original report author used wrong 
configure arguments.

Maxim Dounin

> 
> On Thu, Nov 19, 2009 at 12:54 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> 
> > Hello!
> >
> > On Thu, Nov 19, 2009 at 02:00:24AM +0100, Luka Horvatic wrote:
> >
> > > All previous updates worked fine and now i get following error on make
> > > install:
> > > make[1]: Entering directory `/usr/local/src/nginx-0.7.64'
> > > test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'
> > > test -d '/usr/local'            || mkdir -p '/usr/local'
> > > test ! -f '/usr/local/sbin'             || mv '/usr/local/sbin'
> > > '/usr/local/sbin.old'
> > > cp objs/nginx '/usr/local/sbin'
> > > cp: cannot create regular file `/usr/local/sbin/nginx': Text file busy
> > > make[1]: *** [install] Error 1
> > > make[1]: Leaving directory `/usr/local/src/nginx-0.7.64'
> > > make: *** [install] Error 2
> > > What to do?
> >
> > Looks like you did
> >
> > $ ./configure --sbin-path=/usr/local/sbin
> >
> > It's wrong, as --sbin-path sets full path to nginx binary file
> > (including filename itself).  Use
> >
> > $ ./configure --sbin-path=/usr/local/sbin/nginx
> >
> > instead.
> >
> > Maxim Dounin
> >
> >
> 
> 
> -- 
> Adam
> zellster at gmail.com





More information about the nginx mailing list