- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring AIX to use the rcp command
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
Discussions
Discussions
Forums
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
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-28-2001 01:36 PM
тАО11-28-2001 01:36 PM
Configuring AIX to use the rcp command
Here is what is in /home/myname/.rhosts file on server1:
server2 myname
Here is what is in /home/myname/.rhosts file on server2:
server1 myname
Here is the command I am trying to run from server1:
rcp server1:/home/myname/test.txt server2:/home/myname
When I run this command, it runs for a minute or so, then I get this returned:
server2: Connection timed out
I have looked into this, but I cannot figure out why it will not work correctly. Any help or direction would be greatly appreciated. Thanks, Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 01:40 PM
тАО11-28-2001 01:40 PM
Re: Configuring AIX to use the rcp command
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 01:49 PM
тАО11-28-2001 01:49 PM
Re: Configuring AIX to use the rcp command
Try,
rcp server1:/home/myname/test.txt username@server2:/home/myname
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 01:55 PM
тАО11-28-2001 01:55 PM
Re: Configuring AIX to use the rcp command
You may try this link too,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=8bf911441416a7513c/screen=ckiDisplayDocument?docId=200000053249111
It advises you to set .rhosts file permission to 0600 beside some other things.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 01:56 PM
тАО11-28-2001 01:56 PM
Re: Configuring AIX to use the rcp command
From server2, do an "nslookup server1". Do the same for server2 on server1.
Also, is server2 reachable? Can you ping or telnet server2 from server1?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2001 03:06 PM
тАО11-28-2001 03:06 PM
Re: Configuring AIX to use the rcp command
Check in /etc/rc.config.d/netdaemons for
INETD_ARGS="-l"
If not make it so, then look at syslog for you connection, see what it says, you may not even be touching the box.
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 08:40 AM
тАО11-29-2001 08:40 AM
Re: Configuring AIX to use the rcp command
cd /home/myname
rcp test.txt server2:/home/myname/test.txt
I think part of the problem may be that by specifying 'rcp server1:/home/text.txt server2....' that the rcp is trying to call server1 remotely when you are already there. While it shouldn't be a problem (it worked on my HP boxes), it may be part of your problem. Try the command above and let us know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 08:53 AM
тАО11-29-2001 08:53 AM
Re: Configuring AIX to use the rcp command
Server:
*** can't find server2:No response from server
I got the same respons the other way. And, also I tried pinging each server and that fails. This tells me that the two servers aren't seeing each other. However, I can ftp successfully between the two servers, so I'm kind of stumped as to why they can't communicate otherwise. Possibly some network settings I need to check? Thanks much for any help.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 09:00 AM
тАО11-29-2001 09:00 AM
Re: Configuring AIX to use the rcp command
When you ping the servers did you do so via name or IP address? If you did via name, try with the IP address and see if that works. If it does, there's a problem with DNS or /etc/hosts or whatever method you are using to resolv host names to IP addresses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2001 09:06 AM
тАО11-29-2001 09:06 AM
Re: Configuring AIX to use the rcp command
This looks like the system is not able to resolve the name of the remote server. I'm not familiar with the hostname resolution on AIX. On hp we use /etc/hosts, /etc/nsswitch.conf and /etc/resolv.conf file on a node to resolve the ip address and name for the other server. you can add the ip address and name of the remote server in the /etc/hosts file and see if it helps.
Here is a link on using the resolver for ip/hostname resolution on HP.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/28-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/28-toc.html&searchterms=/etc/resolv.conf&queryid=20011129-091048
Hope this helps.
Regds