ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vitaly Kuznetsov <vitty@altlinux.ru>
To: <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] apache2: ps и killall
Date: Tue, 07 Feb 2012 23:50:57 +0400
Message-ID: <1d766719f97e62ee98ed468a0ee1a2d7@hadoop.ru> (raw)
In-Reply-To: <4F317A16.40302@solin.spb.ru>

On Tue, 07 Feb 2012 23:23:02 +0400, Aleksey Avdeev wrote:
> 07.02.2012 20:32, Vitaly Kuznetsov пишет:
>> Это разлом новоприехавшего apache2. Выглядит разлом следующим 
>> образом:
>> # cat /proc/8667/stat
>> 8667 (/usr/sbin/httpd) S 1 8667 8667 0 -1 4202816 16370 0 0 0 59 2 0 
>> 0
>> 20 0 1 0 3679513 220827648 16277 18446744073709551615 4194304 
>> 4637660
>> 140734156750048 140734156749336 139705053965043 0 0 4096 134235883
>> 18446744071580342644 0 0 17 0 0 0 0 0 0
>>
>> Name выставлен в несуществующий /usr/sbin/httpd. В то же время
>> инитскрипт рассчитывает на то, что name соответствует имени 
>> бинарника:
>>
>> status --pidfile "$PIDFILE" --expect-user root --expect-user root 
>> --name
>> $name -- $BINARY
>>
>> Короче, надо отучить новый apache2 менять name таким образом.
>
>   Если при этом:
>
> 1. Используется (грузится) mod_perl и это
> apache2-mod_perl-2.0.5-alt{1,2} (mod_perl собранный с perl-5.14).
>
> 2. В /var/log/httpd2/error_log наблюдается:
>

В логах не наблюдается, но удаление apache2-mod_perl действительно 
помогает:
# cat /proc/9804/stat
9804 (httpd2) S 1 9804 9804 0 -1 4202560 2612 0 0 0 2 0 0 0 20 0 1 0 
4943550 115748864 2501 18446744073709551615 4194304 4637660 
140734511411568 140734511410856 140017690258163 0 0 4096 134235883 
18446744071580342644 0 0 17 2 0 0 0 0 0

name - верное, инитскрипт работает.



      reply	other threads:[~2012-02-07 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 13:26 Sergei Epiphanov
2012-01-16 15:49 ` Ildar Mulyukov
2012-02-07 16:32 ` Vitaly Kuznetsov
2012-02-07 19:23   ` Aleksey Avdeev
2012-02-07 19:50     ` Vitaly Kuznetsov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1d766719f97e62ee98ed468a0ee1a2d7@hadoop.ru \
    --to=vitty@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git