Re: RCP Issue - The answer.

From: Bruce Whittaker (bwhittak@ENERGY.COM.AU)
Date: Wed Oct 02 2002 - 04:06:35 EDT


Hi all,

the answer was because a biff command was being executed in the .bashrc of
the users performing the rcp. Apparently rcp executes an rsh which then
utilises the .bashrc (or whatever .*rc your shell uses). Biff failed
because the terminal settings are not being set up by the rcp call and it
needs those settings to execute.
Thus biff failed, rcp fell over and the biff error message was being
displayed on the remote terminal.

I'm going to add that one into my "learn something new every day" column.

Cheers,

Bruce Whittaker,

"Saxon, Lamar" <Lamar.Saxon@AMERICREDIT.COM>
Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU>
28/09/2002 06:47
Please respond to IBM AIX Discussion List

        To: aix-l@Princeton.EDU
        cc:
        Subject: Re: RCP Issue.

What does the reverse resolution for the IP show ?

Thanks,
Lamar
-----Original Message-----
From: Bruce Whittaker [mailto:bwhittak@ENERGY.COM.AU]
Sent: Thursday, September 26, 2002 11:16 PM
To: aix-l@Princeton.EDU
Subject: RCP Issue.

Hi all,

sorry if you received this yesterday but we've been having mail problems
so I'd like to ensure this gets through...

I have three machines using AIX version 4.3.3. When I attempt to rcp from
one machine to the other (ie, mach1 to mach2) I get the error message
"Where are you?". I have been unable to track this down.

What I have checked is as follows,

        -rw-r--r-- 1 root system 2130 Sep 26 11:58
/etc/hosts.equiv
        The /etc/hosts.equiv file above contains the hostnames of the
other two systems - both in short and long-hand form (ie, on mach1, I have
mach2 and mach2.energy.com.au).

For the hell of it, I have also created a .rhosts file for root figuring
it can't hurt and may help. It is set up as follows,
        -rw------- 1 root system 22 Sep 26 17:15 .rhosts
        On mach1, it contains "mach2 root"

Can anyone throw any light on this?

Cheers,

Bruce Whittaker,
CASS Support,
Extension 34193
External (02) 9269 4193.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:15 EDT