13.09.2012 07:29, Peter Evdokimov пишет: > On Wed, 12 Sep 2012 20:10:38 +0400 > Aleksey Avdeev wrote: > >> Что появляется в логах (/var/log/httpd2/error_log, >> /var/log/daemons/{info,warnings,errors} (и каков вывод) при выполнении >> строки команд (от root при запущенном httpd2): >> >> # service httpd2 stop;echo $?;apachectl2 briefstatus;echo >> $?;apachectl2 start;echo $?;ps ax|fgrep httpd2;apachectl2 >> briefstatus;echo $?;ps ax|fgrep httpd2 > > > # service httpd2 stop;echo $?;apachectl2 briefstatus;echo $?;apachectl2 start;echo $?;ps ax|fgrep httpd2;apachectl2 briefstatus;echo $?;ps ax|fgrep httpd2 > Stopping httpd2 service: [ DONE ] > 0 > httpd2 is stopped > 3 > 3 > 3339 ? Rs 0:00 /usr/sbin/httpd2 -k start ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ > 3347 pts/0 S+ 0:00 fgrep httpd2 > httpd2 is stopped > 3 > 3339 ? Rs 0:00 /usr/sbin/httpd2 -k start ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ > 3361 pts/0 S+ 0:00 fgrep httpd2 Причину выделенного выше я пока не понимаю. Получается, что у вас попытка старта httpd2 завершается неудачей, но при этом один из процессов httpd2 остаётся висеть в памяти... Прошу: 1. Оценить сколько времени после ошибоки отработки apachectl2 start процесс /usr/sbin/httpd2 -k start находится в памяти. 2. Существует ли в это время /var/run/httpd2/httpd.pid и каково его содержимое. > > > /var/log/httpd2/error_log > [Thu Sep 13 07:27:53 2012] [notice] caught SIGTERM, shutting down > [Thu Sep 13 07:27:53 2012] [notice] Apache/2.2.22 (Unix) PHP5/5.3.10 > with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.0j configured -- resuming > normal operations Прошу поднять уровень логирования до debug (установить LogLevel debug в /etc/httpd2/conf/httpd2.conf) и прислать мне лог старта. PS: У меня не получается смоделировать вашу ситуацию у себя. -- С уважением. Алексей.