1992.9.22
SUBJECT: rcp »ç¿ë½Ã "protocol screwup: mtime.sec not delimited" µîÀÇ Error
MEANING OF THIS MEMO:
rcp »ç¿ë½Ã error message
"TERM: Undefined Variable",
"rcp: protocol screwup: mtime.sec not delimited",
"stty: TCGETS: Operation not supported on socket" µîÀ» ¸¸³µÀ» ¶§
À̸¦ ó¸®ÇÏ´Â ¹æ¹ýÀ» Àû¾î ³õ¾Ò´Ù.
CONTENTS:
0. ¹®Á¦
1. ÇØ°á
2. ¼³¸í
3. ±× ¹ÛÀÇ ¹ß»ýÇß´ø Errorµé
DESCRIPTION:
0. ¹®Á¦
* ¾Æ·¡´Â rcp ¹®Á¦°¡ ¹ß»ýÇß´ø ÇÑ siteÀÇ ¿¹¸¦ µé¾î º»´Ù.
(1) send : copy a file from local(isd105) to remote(isd202) - OK
(2) receive : copy a file from remote(isd202) to local(isd105) - OK
+---------------------------------------------+
| rcp OK |
V |
+------------+ +------------+
| | | |
| isd202 | | isd105 |
| | | |
+------------+ +------------+
| A
| rcp fail & error |
+---------------------------------------------+
(3) send : copy a file from local(isd202) to remote(isd105) - !OK
(4) receive : copy a file from remote(isd105) to local(isd202) - !OK
* ¹®Á¦°¡ µÇ´Â (3), (4)ÀÇ °æ¿ì error message¸¦ º¸¸é,
(3)˼ isd202% rcp /tmp/sample isd105:/tmp
"TERM: Undefined Variable",
(4)´Â isd202% rcp isd105:/tmp/sample /tmp
"rcp: protocol screwup: mtime.sec not delimited" ÀÌ´Ù.
1. ÇØ°á
* rcp´Â »ó´ë ½Ã½ºÅÛÀ¸·Î µé¾î°¡¸é¼ $HOME/.cshrc¸¦ ¼öÇàÇϴµ¥ ÀÌ ¶§ ¹®Á¦°¡
ÀÖÀ¸¸é Á¦´ë·Î µ¿ÀÛÇÏÁö ¾Ê´Â´Ù.
* isd105ÀÇ $HOME/.cshrc¿¡ ¹®Á¦°¡ ÀÖ¾ú´ø °æ¿ì.
±× ³»¿ëÀº ºÒÇàÈ÷µµ ´ç½Ã ¹Þ¾Æ ³õÁö ¾Ê¾Æ ¾Ë ¼ö ¾øÀ½.
2. ¼³¸í
* rcp´Â remote systemÀÇ .cshrc, .profile, .login¿¡ ÀÖ´Â commandµé¿¡¼
¸¸µé¾îÁö´Â outputµé·Î ÀÎÇØ error¸¦ ¹ß»ý½Ãų ¼ö ÀÖ´Ù.
ÀÌ´Â rcpÀÇ bugÀÌ´Ù. man rcp(1C)ÀÇ BUGS ºÎºÐÀ» º¸½Ã¶ó.
* µû¶ó¼ rcp¸¦ »ç¿ëÇÒ ¶§ ÀÚÁÖ ¹ß»ýÇÏ´Â ¹®Á¦µéÀÇ °ÅÀÇ ´ëºÎºÐÀº
À§ÀÇ È¯°æ ÈÀϵ鿡¼ ƯÁ¤ command¸¦ ¼öÇàÇÔÀ¸·Î½á ¹ß»ýÇÏ°Ô µÈ´Ù.
* site¿¡¼ ¹ß»ýÇÏ´Â rcp °ü·Ã error´Â
¿ì¼± À§¿¡¼ ¾ð±ÞÇÑ È¯°æ ÈÀϵéÀ» È®ÀÎÇØ º½À¸·Î½á ´ëºÎºÐ ÇØ°áµÉ °ÍÀÌ´Ù.
3. ±× ¹ÛÀÇ ¹ß»ýÇß´ø Errorµé
* ¿¹¸¦ µé¾î login½Ã ½Ã°£À» display½Ã۱â À§ÇÏ¿© .login ÈÀÏ¿¡ "date" command¸¦
³Ö´Â´Ù¸é "rcp: protocol screwup: mtime.sec not delimited"°ú °°Àº error¸¦
¸¸³ª°Ô µÇ´Â °ÍÀÌ´Ù.
* "stty: TCGETS: Operation not supported on socket"À̶ó´Â ¿¡·¯´Â
remote systemÀÇ È¯°æ ÈÀÏ Áß "stty erase " À̳ª "stty pass8"°ú °°Àº
stty command°¡ µé¾î ÀÖ¾î ¹ß»ýÇÏ´Â ¹®Á¦ÀÌ´Ù.
µû¶ó¼ rcp´Â À̵é stty command lineÀ» comment outÇϰí
ȯ°æ ÈÀϵéÀ» source command·Î Àç ½ÇÇàÇÑ ÈÄ »ç¿ëÇÏ¿©¾ß ÇÑ´Ù.
Created on Sep. 22 ,1992
Updated on Oct. 13 ,1992