ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Sidorov <alex@reutman.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] start_daemon и stop_daemon
Date: Thu, 15 Jun 2006 09:20:37 +0400
Message-ID: <4490EE25.8070105@reutman.ru> (raw)
In-Reply-To: <20060615085708.1ba45d25@naf177.naf.net.ru>

Nikolay A. Fetisov пишет:
> On Thu, 15 Jun 2006 08:22:43 +0400
> Alexey Sidorov wrote:
>> ......
>> 	status \
>> 	    --pidfile "$PIDFILE" \
>> 	    --expect-user "$JIT_USER" \
>> 	    --displayname "$JIT_EXEC" \
>> 	    -- python
>> 	RETVAL=$?
>>
>> [root@www ~]# service jabberd2-pyicq status
>> /usr/libexec/pyicq-t/PyICQt.py is stopped
>> [root@www ~]# service jabberd2-pyicq stop
>> Service /usr/libexec/pyicq-t/PyICQt.py is not running.                  [PASSED]
>> [root@www ~]# ps -A|grep py
>> 25574 ?        00:00:02 python
>> 25584 ?        00:00:00 python
>>
>> и в $PIDFILE соответственно 25574
> 
> pyICQt точно работает под пользователем $JIT_USER ? В качестве имени
> процесса, возможно, требуется использовать полностью '/usr/bin/python'.
> 
> Лучше смотреть на вывод 'ps aux', он намного информативнее. 
> 
[root@www ~]# ps aux|grep python
jabberd2 16964  2.3  2.4  14128  9308 pts/6    S    08:29   1:08 python /usr/libexec/pyicq-t/PyICQt.py -b -c /etc/jabberd2/pyicq.xml
jabberd2 16974  0.0  2.4  14128  9308 pts/6    S    08:29   0:00 python /usr/libexec/pyicq-t/PyICQt.py -b -c /etc/jabberd2/pyicq.xml

	status \
	    --pidfile "$PIDFILE" \
	    --expect-user "$JIT_USER" \
	    --displayname "$JIT_EXEC" \
	    -- python "$JIT_EXEC" -b -c "$JIT_CONF"
не помогает :(
-- 
С уважением,	Алексей Сидоров
 	mailto:alex@reutman.ru
	JIT:alexsid@jabber.ru


  reply	other threads:[~2006-06-15  5:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 12:50 Alexey Sidorov
2006-06-14 22:27 ` Dmitry V. Levin
2006-06-15  4:22   ` Alexey Sidorov
2006-06-15  4:57     ` Nikolay A. Fetisov
2006-06-15  5:20       ` Alexey Sidorov [this message]
2006-06-15  7:10         ` Nikolay A. Fetisov
2006-06-15  7:48           ` Alexey Sidorov
2006-06-15  9:41           ` Vladimir V. Kamarzin
2006-06-15  9:56             ` Alexey Sidorov
2006-06-15 21:31               ` Dmitry V. Levin
2006-06-15 10:30             ` Nikolay A. Fetisov

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=4490EE25.8070105@reutman.ru \
    --to=alex@reutman.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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