Upgrade from 7.63 to 7.64 fails

Maxim Dounin mdounin at mdounin.ru
Thu Nov 19 11:54:45 MSK 2009


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





More information about the nginx mailing list