- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rcp problem
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
11-13-2001 02:56 AM
11-13-2001 02:56 AM
When I am trying to copy a file from a server A to the server B using rcp, there is the following error :
remshd: Couldn't look up address for your host
I tried it using the hostname or the IP address with the same result.
ftp works fine, ping from a server to a other works fine, rcp from B to A is ok.
Any idea ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 03:20 AM
11-13-2001 03:20 AM
Re: rcp problem
Checks of these done ?
resolv.conf
nsswitch.conf
remote system access in SAM
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 03:35 AM
11-13-2001 03:35 AM
Re: rcp problem
Put ur hostname in .rhosts file then try rcp.
Regards
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 03:38 AM
11-13-2001 03:38 AM
Re: rcp problem
If u r trying to rcp as root. then
$cd /
$ vi .rhosts and add ur hostname of other server here. Do the same thing on other server
Now try rcp
Hope this will help u
Regards
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 04:27 AM
11-13-2001 04:27 AM
Re: rcp problem
If you are doing rcp as user xyz: add
an entry on serverB's xyz homedirectory .rhosts file
serverB:$xyz/.rhosts -> add the entry serverA xyz .
IF the .rhosts file is not there, create
it with this entry.
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 04:53 AM
11-13-2001 04:53 AM
Re: rcp problem
add the hostname/ip of host B in /etc/.rhosts of host A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 04:55 AM
11-13-2001 04:55 AM
Re: rcp problem
Have a look at the man (4) pages for ' hosts.equiv'. You will find access rights are provided or denied for 'rcp' 'remsh' or 'rlogin' by this mechanism.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:44 AM
11-13-2001 06:44 AM
Re: rcp problem
.rhosts or hosts.equiv are the two files you should configure for rcp,remsh etc.
Try using IP address if host name doesn't work
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:44 AM
11-13-2001 06:44 AM
SolutionTry hostname and ip resolution from both the servers. You may have a bogus entry somewhere, either in /etc/hosts or in your DNS. Do a "nslookup" from each of the servers and try the hostname and ip resolution for that server and the other server to which you are doing rcp.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 07:39 AM
11-13-2001 07:39 AM
Re: rcp problem
Thanks for all guys.
It was a problem with the DNS server (an alias not set).