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

[plamo:10237] Re: inetd デーモンの起動について



竺原です。さっきは名前を入れ忘れてました。(^^);;
樋口さん、梶原さん、田原 俊一さん
どうも有り難うございます。

manで解らなくなったら訪ねる様にします。
http://www.linux.or.jp/JM/
(そういえば実は、freeBSD構築の時に見たことがある。今思い出しました。)

うちのRedHat参考書には、(環境はないですが・・・・)
確かに
/etc/rc.d/init.d/inetd
となっていますのでご安心を。

> /etc/rc.d/rc.inet2 には、下記のように書かれています。
>
> # Start the INET SuperServer
	INET SuperServerを開始
> if [ -f ${NET}/inetd ]; then
	もし、NET中にinetdのfileがあれば
>  echo -n " inetd"
	inetdを表示 -n??
>  ${NET}/inetd
	inetdを実行
>else
	違えば(無ければ)
>  echo "no INETD found.  INET cancelled!"
	エラーメッセージno INETD found.  INET cancelled!を表示
>  exit 1
	出る(終了)
>fi
	終わり

という解析でよいでしょうか?

> ちなみに再起動は、
> # kill -HUP `pidof inetd`
> かな。man inetd の最後のほうにこう書かれています。
>
>     Inetd rereads its configuration file when it receives a hangup signal,
>     SIGHUP. Services may be added, deleted or modified when the
configuration
>     file is reread.  Inetd creates a file /etc/inetd.pid that contains its
>     process identifier.
>このあたりは /etc/rc.d/init/inetd というスクリプトの中身をお読み
>いただいても分ると思います。
なるほど、具体的なやり方が解ってきました。
ところで
/etc/inetd.pid のpidですが、Apacheのhttpd.confにもpid?????????という設定が
有った様な?
このpidの付く設定はどのように解釈すればよいのでしょうか?

Follow-Ups
[plamo:10238] Re: inetd デーモンの起動について, M.Ariyosi
References
[plamo:10233] Re: inetdデーモンの起動について, HIGUCHI Chihiro

[検索ページ] [メール一覧]
Plamo ML 公開システム