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
On Thu, Nov 19, 2009 at 12:54 AM, Maxim Dounin <mdou...@mdounin.ru> wrote:
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
make: 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'
cp objs/nginx '/usr/local/sbin'
cp: cannot create regular file `/usr/local/sbin/nginx': Text file busy
make: *** [install] Error 1
make: 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