vine-users ML アーカイブ



[vine-users:070731] Re: portmap が落ちる

  • From: Eitetsu Oomoto <oomoto@xxxxxxxxxxxxxxxxxx>
  • Subject: [vine-users:070731] Re: portmap が落ちる
  • Date: Tue, 8 Mar 2005 16:56:41 +0900
大本@京都産業大学です.


At 9:22 AM +0900 05.3.5, IWAYAMA Yoshinori wrote:
Vine3.1 を nfs サーバーにして
外部クライアントからマウントしようとすると
サーバーの portmap が落ちます

環境	サーバ Vine3.1 / 東芝Note DynabookSatellite320CDT
	クライアント Vine2.6 / 東芝Note DynabookSatellite2140

これに関する情報は
Subject: [vine-users:068340] illegal instruction in portmap
Subject: [vine-users:068525] Re: illegal instruction in portmap (解決)
 として --target i386 で portmap をビルドしてみてはどうでしょうか。
だけが見つかりました

サーバ側のportmapではないですが,Vine 3.1をNFSクライアントにした場合に lockが上手く動かない(正確にはrpc.statdが動かなくてfcntl()が機能しな い)ので,NFSボリューム上に配置したStarSuite 7(恐らく, OpenOffice.orgでも同様)が起動しないという現象がありました.
#この件は別便で投げた方が良いですかね?

その調査過程で,portmapのmanを見ていたのですが,

     This portmap version is protected by the tcp_wrapper library. You have to
     give the clients access to portmap if they should be allowed to use it.
     To allow connects from clients of the .bar.com domain you could use the
     following line in /etc/hosts.allow:

     portmap: .bar.com

     You have to use the daemon name portmap for the daemon name (even if the
     binary has a different name). For the client names you can use the key-
     word ALL, IP addresses, hostnames or domain names.

てなことが書いてあります.Vine3.1の/etc/hosts.allowと/etc/hosts.denyの 初期状態は空設定になってるので,これらをしかるべく適切に設定しないと portmapは外部からのリクエストをちゃんと受けられないのでないかと思いま す. ちなみに,私の場合man statdを見た時に,同様の記述を見つけ,これらのフ ァイルを設定したらrpc.statdが動くようになりました.

参考までに.
--
京都産業大学 工学部情報通信工学科  大本 英徹
E-mail: oomoto@xxxxxxxxxxxxxxxxxx    Tel: 075-705-1904 (Dial In)
(*^.^*) (*^_^*) (*^o^*) (*^.^*)   Fax: 075-705-1914