vine-users ML アーカイブ



[vine-users:076907] Re: NFS の 設定:サーバーとクライエ ントの切り替えができない

  • From: 宮脇利夫 <hibari50@xxxxxxxxxxxxxxxxx>
  • Subject: [vine-users:076907] Re: NFS の 設定:サーバーとクライエ ントの切り替えができない
  • Date: Wed, 23 May 2007 21:23:58 +0900
宮脇です。
長南さん、度々の丁寧なご助言ありがとうございます。

/lib/iptables/libipt_tcp.so は、ありました。iptableに、s がなかったから
ですね。
$ ls -l /lib/iptables/libipt_tcp.so とすると、長南さんのと全く同じメッ
セージが出てきました。
  -rwxr-xr-x 1 root root 8284 11月 4日  2006 /lib/iptables/libipt_tcp.so*
$ rpm -qf /lib/iptables/libipt_tcp.so
  iptables-1.3.6-0vl1

高橋さんがおっしゃように設定した後のiptablesは、以下の通りです。

 [root@giga root]# iptables -n -L -v
 Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target   prot opt in   out  source        destination
 4594  746K RH-Firewall-1-INPUT  0  --  *    *   0.0.0.0/0         0.0.0.0/0
  Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target   prot opt in   out  source        destination
 0    0 RH-Firewall-1-INPUT  0  --  *    *       0.0.0.0/0         0.0.0.0/0
 Chain OUTPUT (policy ACCEPT 4613 packets, 386K bytes)
 pkts bytes target   prot opt in   out  source        destination
  Chain RH-Firewall-1-INPUT (2 references)
 pkts bytes target   prot opt in   out  source        destination
  3913  305K ACCEPT   0  --  lo     *       0.0.0.0/0            0.0.0.0/0
 0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0
 icmp type 255
 0     0 ACCEPT     esp  --  *      *       0.0.0.0/0            0.0.0.0/0
 0     0 ACCEPT     ah   --  *      *       0.0.0.0/0            0.0.0.0/0
 30  6047 ACCEPT    udp  --  *      *       0.0.0.0/0
224.0.0.251
 udp dpt:5353
 0     0 ACCEPT     udp  --  *      *       0.0.0.0/0
0.0.0.0/0
 udp dpt:631
 0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0
 tcp dpt:631
 490  413K ACCEPT   0    --  *      *       0.0.0.0/0
0.0.0.0/0
 state RELATED,ESTABLISHED
 0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0
 state NEW tcp dpt:111
 0     0 ACCEPT     udp  --  *      *       0.0.0.0/0
0.0.0.0/0
 state NEW udp dpt:111
 0     0 ACCEPT     udp  --  *      *       0.0.0.0/0
0.0.0.0/0
 state NEW udp dpt:2049
 0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0
 state NEW tcp dpt:2050
 0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0
 state NEW udp dpt:2050
 0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0
 state NEW tcp dpt:2051
 0     0 ACCEPT     udp  --  *      *       0.0.0.0/0
0.0.0.0/0
 state NEW udp dpt:2051
 0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0
 state NEW tcp dpt:2049
 161 22427 REJECT     0  --  *      *       0.0.0.0/0            0.0.0.0/0
 reject-with icmp-host-prohibited

起動画面というのは、おっしゃったような次の場面です。
         Welcome to Vine Linux
       Press 'I' to enter interactive startup.
   Mounting proc filesystem:                    [ OK ]
   Mounting sys filesystem:                     [ OK ]
   Starting udev:                               [ OK ]
   ...

ところが、きょう高橋さんがおっしゃったような操作をすると、あら不思議?前
のような、下記のメッセージが出ませんでした。
iptable-restore v1.3.6: Coudn't load match
'tcp':/lib/iptables/libipt_tcp.so:
 cannot open shared object file:No such file or directory.
 Error occurred at line:23. Try 'iptable-restore -h or
 iptable-restore --help' for more information.
 [failed]

なぜ!? 前と同じ操作だと記憶しているのですが・・・?
とにかくA,B両機でマウントでき、エラーメーセージも出なければ、めでたし、
めでたし、でいいのかな?
NFSの設定は、A,B両機で全く同じようにやりました。エラーメッセージも、両機
で出なくなりました。

> それから、2500、2501、2502 ポートは、すでに /etc/services で
> ほかのサービスに指定されているので、別の数字にした方が
> よいのではないかと思います。

おっしゃる通りですが、今の私には、ではどのポートを指定していいのか分から
ないのです。すみません。お手数をかけます。

----------------
#とにかく、いろいろと親切丁寧に教えて下さって、感謝しています。
#今後とも、よろしくお願いします。