ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] xinetd.pid
@ 2002-10-22  4:15 metrol
  2002-10-22  5:52 ` Igor Homyakov
  0 siblings, 1 reply; 2+ messages in thread
From: metrol @ 2002-10-22  4:15 UTC (permalink / raw)
  To: sisyphus

Решил установить monit:
раскоментировал нужные сервисы для мониторинга в
/etc/monitrc, в том числе и для xinetd.
И теперь monit матюгается в письмах на xinetd, что
сервис не запущен.

#ls /var/run/xinetd.pid
ls: /var/run/xinetd.pid: No such file or directory

именно здесь monit ищет pid-файл.

# cat /etc/rc.d/init.d/xinetd

#!/bin/sh
#
# chkconfig: 345 50 50
# description: xinetd is a powerful replacement for inetd. \
#              xinetd has access control machanisms, extensive logging \
#              capabilities, the ability to make services available based \
#              on time, and can place limits on the number of servers \
#              that can be started, among other things.
# probe: true
# processname: xinetd
# pidfile: /var/run/xinetd.pid

^^^^^^^^^^^^^^^^^^^^^ - вроде бы должен быть, но ... :(

# config: /etc/sysconfig/network
# config: /etc/xinetd.conf
...

xinetd - запущен:
# ps -ax | grep xinetd | grep -v grep
31124 ?        S      0:00 /usr/sbin/xinetd -reuse -remlock

Если добавит в /etc/sysconfig/xinetd:
EXTRAOPTIONS='-reuse -remlock -pidfile /var/run/xinetd.pid'

^^^^^^^^^^^^^^^^^^^
то файл создается.

Это так и должно быть?
Или может подправить пакет?

#rpm -q xinetd

xinetd-2.3.9-alt1





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] xinetd.pid
  2002-10-22  4:15 [sisyphus] xinetd.pid metrol
@ 2002-10-22  5:52 ` Igor Homyakov
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Homyakov @ 2002-10-22  5:52 UTC (permalink / raw)
  To: sisyphus

On Tue, Oct 22, 2002 at 02:15:05PM +1000, metrol@amur.ru wrote:
...

> Если добавит в /etc/sysconfig/xinetd:
> EXTRAOPTIONS='-reuse -remlock -pidfile /var/run/xinetd.pid'
> 
> ^^^^^^^^^^^^^^^^^^^
> то файл создается.
> 
> Это так и должно быть?
> Или может подправить пакет?

просто по умолчанию эта возможность не включена ...

--
Igor Homyakov
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-22  5:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-22  4:15 [sisyphus] xinetd.pid metrol
2002-10-22  5:52 ` Igor Homyakov

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