- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problems with 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
04-26-2002 03:18 AM
04-26-2002 03:18 AM
problems with rcp
I can?t do rcp what with two system, the problem is:
sdmadr5:/# rcp sdmadr5:file1 sdmadr3:file1
remshd: Login incorrect.
the file .rhosts for each system is:
sdmadr5:/# cat .rhosts
sdmadr2
sdmadr3
sdmadr3# cat .rhosts
sdmadr5 root
sdmadr2 root
sdmadr3 root
regards.
JRM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 03:26 AM
04-26-2002 03:26 AM
Re: problems with rcp
Are the .rhost files in the home directory for the user that try the rcp?
can you do an rlogin between this boxes without need the pssword?
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 03:27 AM
04-26-2002 03:27 AM
Re: problems with rcp
I suspect that host smadr3 is not recognising your connection as having originated from smadr5.
To check this, rlogin to smadr3 from smadr5, supply the password so that you login then run 'last -R root' to check where smadr3 thinks you logged in from.
It's likely to be a hostname resolution problem.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 03:29 AM
04-26-2002 03:29 AM
Re: problems with rcp
you must use rcp file server:file
if you use rcp server:file server:file
you must add user in .rhost in sdmadr5
regards
dom.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 03:37 AM
04-26-2002 03:37 AM
Re: problems with rcp
Yes, The system sdmadr3 need password whit rlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 03:48 AM
04-26-2002 03:48 AM
Re: problems with rcp
Then you don't have the .rhost file good defined, do you have the .rhost file in the home directory for the user that try to do the rlogin and the rcp?
This file include the correct hosts and users?
For instance if you want to rlogin or to rcp from hostA to hostB you must define this:
In HostA:
HostB root
In HostB:
HostA root
If the user that try to do the rcp and the rlogin command are root.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 04:00 AM
04-26-2002 04:00 AM
Re: problems with rcp
First make sure the two machines can talk to each other via a simple ping.
Then do a nslookup on each machine looking for the other hosts.
Finally try doing a traceroute between the two machines. I had a problem with machines that had multiply names/network interfaces. When I did the traceroute I found that the other interface in the machine was actually responding to my rcp.
I.E. rcp host1.net1:/file .. wasn't working
when I did the traceroute the name of what actually responded was the name of the address in the machine. I had to add both address to the .rhosts files inorder for it to work correctly.
Hope this helps.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 04:02 AM
04-26-2002 04:02 AM
Re: problems with rcp
Can you try doing something like this
sdmadr5:/# rcp file1 sdmadr3:/
This will work. Because when you specify
sdmadr5:/# rcp sdmadr5:file1 sdmadr3:file1
then the server will check on smadr5 itself whether it can do rlogin to itself.
Also, if the above thing does not work then the .rhosts file on the server smadr5 must look like this:
sdmadr5:/# cat .rhosts
sdmadr2
sdmadr5 root
sdmadr3
Then it will work.
Regards,
Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 04:03 AM
04-26-2002 04:03 AM
Re: problems with rcp
OK. the password now don??t is necesary but el problem continue.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 04:33 AM
04-26-2002 04:33 AM
Re: problems with rcp
The pings, nslookup and traceroute is ok.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 04:40 AM
04-26-2002 04:40 AM
Re: problems with rcp
reattach the .rhost from either servers.
tnx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 04:46 AM
04-26-2002 04:46 AM
Re: problems with rcp
Then you must use the rcp command like that:
#hostA: rcp /xxx/yyy/filename hostB:/xxx/uuu
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 05:58 AM
04-26-2002 05:58 AM
Re: problems with rcp
Do you have inetd.sec file in /var/adm directory..??
If yes then you need to put the hostname or the IP address of the system you wish to rcp from on the target host at the following field. login, shell,exec and telnet.
Firest try to rename this file on bothe the server and try rcp if it works then make above changes in the file.
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 05:59 AM
04-26-2002 05:59 AM
Re: problems with rcp
Please do like like :
on Host A check , do a cd in the root login and you will go the home directory of root , then vi .rhosts and also add
< IP ADDRESS of HOST B > root
the same you do in the Host B .
Now you should be able to just rlogin from A to B and Vice versa w/o either of tehm asking for passwd . Once this gets through then even rcp will work.
Please enter these entries at the top.
All the best.
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2002 10:55 AM
10-09-2002 10:55 AM
Re: problems with rcp
Regards
Govind