1753837 Members
9302 Online
108806 Solutions
New Discussion юеВ

Unable to RCP

 
SOLVED
Go to solution
Michael_356
Frequent Advisor

Re: Unable to RCP

ouch, forget my last reply, i can't delete them.
My finger ary to quick for me :)

i agree with stephen, what are the permissions for .rhosts

regards

Michael
Stephen Keane
Honored Contributor

Re: Unable to RCP

Is it stopping you from rcp both ways, logged into server1 and server2? If so it points to an RCP port/permission problem. If it works one way, but not the other it looks like a .rhosts or /etc/hosts type problem.
George_Dodds
Honored Contributor

Re: Unable to RCP

-rw------- 1 userid1 users 80 Dec 30 12:28 .rhosts

I do have a server that this does work on (i'm currently migrating from 11 to 11i) Server1 is it's replacement. i've crosschecked configs but cant see any different.
Stephen Keane
Honored Contributor

Re: Unable to RCP

You haven't got 2 machines with the same IP address or anything? Does arp -a give you what you expect. Can you ping from server1 to server2 and from server2 to server1 by name and does the IP adresses match what you expect?
Michael_356
Frequent Advisor

Re: Unable to RCP

the owner of .rhosts is userid1?
If .rhosts owner is root, it will not work

Michael
George_Dodds
Honored Contributor

Re: Unable to RCP

Good point i can rcp fine the other way.

There has to be something different on this new 11i server that i'm missing.
George_Dodds
Honored Contributor

Re: Unable to RCP

This new server (server1) is a trusted system, the others are not, would that affect anything?
George_Dodds
Honored Contributor

Re: Unable to RCP

ignore last comment Server2 is a trusted 11i system as well.

I can rcp to server1 from one of the other servers fine
George_Dodds
Honored Contributor

Re: Unable to RCP

Stephen the ip's are fine

Michael the .rhosts file in /home/userid1 is owned by userid1 on all servers

The .rhosts file in the root directory is owned by root.
Stephen Keane
Honored Contributor

Re: Unable to RCP

Are the UIDs the same on the source/dest server pair that works and different on the source/dest server pair that don't work? Probably a long shot, but worth a try.