[SCore-users-jp] ネットワークトランキング(PM/Ethernet) の設定
金城 尚志
e973220 @ eve.u-ryukyu.ac.jp
2002年 11月 12日 (火) 23:07:54 JST
琉球大の金城です。
遅くなりました。すみません。
亀山さん、ありがとうございます。
ご指示の通りにpatchを当てる作業をしてみました。
が、
エラーメッセージがでしまいました。
実は、今回始めてpatch を当てる作業をしたもので、
稚拙なところで当方が間違いを起こしているのではないかと思います。
以下、patchまでの流れを示します。
#mkpmethernetconf.exe のあるディレクトリへ移動
# cd /opt/score5.2.0/deploy/bin.i386-redhat7-linux2_4/
#先のメールでのパッチファイルの中身を確認
# cat patch_mkpmethernetconf
--- mkpmethernetconf.exe Mon Nov 11 21:33:01 2002
+++ mkpmethernetconf.exe.new Mon Nov 11 21:33:24 2002
@@ -20,7 +20,7 @@
GetOptions('group=s', \$group, 'speed=i', \$speed, "mbps", \$speed,
"unit=i", \$unit_num, "device=s", \$device, "maxnsend=s",
\$maxnsend,
"backoff=s", \$backoff, "checksum=i", \$checksum);
-if (!defined($group) || $#ARGV < -1) {
+if (!defined($group) && $#ARGV < -1) {
print STDERR "Usage: mkpmethernetconf [options] -g group
[output_file]\n",
" or mkpmethernetconf [options] host_list_file
[output_file]\n";
exit(1);
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# patch を行う【エラー発生】。
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# patch < patch_mkpmethernetconf
(Stripping trailing CRs from patch.)
patching file mkpmethernetconf.exe
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- saving rejects to file mkpmethernetconf.exe.rej
#とりあえず、そのまま次の作業(mkpmethernetconf)を行いました。
#しかしダメなようです。
# mkpmethernetconf -unit 0 teset_kinjo > newfile
Usage: mkpmethernetconf [options] -g group [output_file]
or mkpmethernetconf [options] host_list_file [output_file]
お忙しいところ、お手数とは思いますが、
なにとぞアドバイスをよろしく御願いします。。
━┛━┛━┛━┛━┛━┛━┛━┛━┛
琉球大学理学部 物質地球科学科
金城 尚志 (キンジョウヒサシ)
━┛━┛━┛━┛━┛━┛━┛━┛━┛
SCore-users-jp メーリングリストの案内