- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to RCP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2005 01:48 AM
01-12-2005 01:48 AM
Re: Unable to RCP
If remsh works one way but not the other it's unlikely to be a file path permissions problem for rcp.
You aren't running remsh with -l option?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2005 03:17 AM
01-12-2005 03:17 AM
Re: Unable to RCP
Why is this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2005 05:07 AM
01-12-2005 05:07 AM
Re: Unable to RCP
Wether the name-resolution is incorrect or the username is not the username rcp send from other server.
try
'servername +'
in .rhosts then rcp
if it doesn't work, check /etc/nsswitch.conf for the 'hosts' entry, which sources are there for name resolution.
Also you can check
'+ userid1'
in .rhosts then rcp
if it doesn't work, check /etc/nsswitch.conf for the 'passwd' entry, which sources are there for name resolution.
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2005 06:57 AM
01-12-2005 06:57 AM
Solution1. rlogin from server1 to server2
2. run # who -lm
This will give you the user ID and server name as server2 knows you are coming from.
Just make sure that the .rhosts has that exact (sometimes fully qualified) server name in the .rhosts and make sure that ID looks correct to.
I have solved many problems with this simple check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2005 07:30 AM
01-12-2005 07:30 AM
Re: Unable to RCP
Like is your hostfile the same across your systems? or is each one unique ?
..cause in your example above you were careful to type server1 and server2 was what showed in the .rhosts file....but for the hostfile you put server 1 and server 2.
So if your hostfile is the same on all your hosts the first time it hit server..you match on that (forget the next one-it ain't gonna use it).
Now if your hostfile is unique on each box, maybe you did a typo on the later. Hence that might explain why the security bypass entry ++ is working for you.
Just thinking (typing) out loud,
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2005 08:35 AM
01-12-2005 08:35 AM
Re: Unable to RCP
This is how I resolve these problems. Say there are two servers A and B. You want to set remsh/rcp access. The details are as follows. (This just an example. Replace all details to suit to your situation)
From serverA, telnet to serverB (the user for which you want to set remsh/rcp) Once you are logged in do
who -um. Check the last column of the output.
(The ip address is in /etc/hosts or what ever you use for name resolution, you will get hostname here.)
Now whatever appears in the last column (ip address or host name) note it down. now on server B, under home directory create .rhosts file (owned by the user you used to log onto serverB and read perms for owner)
ip_address/host_name "user_you_used_for_logging_onto_server"
Repeat the procedure from logging in from serverB to serverA.
This should resolve it.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 01:50 AM
01-13-2005 01:50 AM
Re: Unable to RCP
I have heard this ....didn't try it ..
in 11i, if your userid is locked on the system , you cannot do rcp ... so , check the userid status on these systems ..if it is locked .. unlock it and try rcp ..
Rgds / James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 09:45 PM
01-13-2005 09:45 PM
Re: Unable to RCP
the .rhosts file on the othere servers were pointing to the hostname that the users access the system with which is a 100mb nic.
But the second nic is a gigabit nic that i use to connect to our nas. it has a hostname of server1.nas
I changed the .rhosts to that and it worked fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 09:47 PM
01-13-2005 09:47 PM
Re: Unable to RCP
- « Previous
-
- 1
- 2
- Next »