ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: обновление при запуске вручную


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: обновление при запуске вручную
  • From: "Александр Кутузов" <alleteam@xxxxxxxxx>
  • Date: Wed, 4 Jun 2008 18:36:24 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=qOYTgwgRuecsbi6c8TAmjf1tD4mU/407I2mVjgcFTxw=; b=f1wUlidTc+YNnf0u7BtynbqleGwV0shDnPvXPrfur1Sp6KtHXYKJIEynGfUlK7hxOh U3qweyqUUOgXf92I7lU1BZVuvwIYczoSrm37n2RpxGQYntP3yhvUKk69SoKBVBGm4f+c wrnIZ59TsnYA0CooONWsepmXoz7XZlIDK7FHU=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tIC0iz1ba0/wOCwbsQE+wCng22gP7aGXVjWX8AKqygUtrQVM/l/FyRxRLXPokcNSKv W94f0zQiFf748kjZOewTDl7De0BWfbof6llyQ3TScYIiFKX+7Tsk5rp7eIQvOqPY9Gky wWC9bXsUSuES6tcnXbhiz7/4AEkRAL5w43EYM=
  • In-reply-to: <4846A387.5020400@xxxxxxxxxx>
  • References: <47E2E548.4070601@xxxxxxxxxx> <20080321063523.GA21425@xxxxxxxxxxxxx> <47E363F4.3030603@xxxxxxxxxx> <20080321073348.GB21425@xxxxxxxxxxxxx> <4846A387.5020400@xxxxxxxxxx>

может быть прав на файл не хватает?

4 июня 2008 г. 18:15 пользователь Alex Vorona <voron@xxxxxxxxxx> написал:
> Igor Sysoev пишет:
>> On Fri, Mar 21, 2008 at 09:29:56AM +0200, Alex Vorona wrote:
>>
>>> Igor Sysoev пишет:
>>>> On Fri, Mar 21, 2008 at 12:29:28AM +0200, Alex Vorona wrote:
>>>>
>>>>
>>>>> Запускаю nginx
>>>>>
>>>>> [root@host ]# nginx
>>>>> [root@host ]#
>>>>> Нормально запускается и работает.
>>>>>
>>>>> Хочу сделать обновление бинарника
>>>>> [root@host ~]# kill -USR2 `cat /var/run/nginx.pid`
>>>>> [root@host ~]# tail -n6 /var/log/nginx/error.log
>>>>> 2008/03/20 17:09:15 [notice] 61177#0: signal 31 (SIGUSR2) received,
>>>>> changing binary
>>>>> 2008/03/20 17:09:15 [notice] 61177#0: changing binary
>>>>> 2008/03/20 17:09:15 [notice] 61177#0: start new binary process 51009
>>>>> 2008/03/20 17:09:15 [alert] 51009#0: execve() failed while executing new
>>>>> binary process "nginx" (2: No such file or directory)
>>>>> 2008/03/20 17:09:15 [notice] 61177#0: signal 20 (SIGCHLD) received
>>>>> 2008/03/20 17:09:15 [notice] 61177#0: new binary process 51009 exited with
>>>>> code 1
>>>>>
>>>> Нужно вручную запускать с полным путём.
>>>>
>>>>
>>> [root@host ~]# `which nginx`
>>>
>>> остановлюсь на таком варианте
>>
>> Второй вариант, когда nginx есть в PATH - в nginx.conf:
>>
>> env  PATH;
>>
>>
> через env не работает - та же ошибка
> 6.2-RELEASE, 0.6.31
>
> execve не смотрит же в PATH
>
>


 




Copyright © Lexa Software, 1996-2009.