- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problem 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
06-18-2004 04:58 AM
06-18-2004 04:58 AM
problem with rcp
I getting following message if i try to run rcp.
# rcp -rp ./myfile myserver:/root/backup/scripts/
remshd: Login incorrect.
but if i try from other unix box it works fine.
rcp -rp cfxt600:/root/backup/scripts/runbackup .
what could be the reason?
help please.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 05:00 AM
06-18-2004 05:00 AM
Re: problem with rcp
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 05:09 AM
06-18-2004 05:09 AM
Re: problem with rcp
.rhosts on server A
B root
.rhosts on server B
A root
what else could be the reason?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 05:19 AM
06-18-2004 05:19 AM
Re: problem with rcp
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 05:21 AM
06-18-2004 05:21 AM
Re: problem with rcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 05:21 AM
06-18-2004 05:21 AM
Re: problem with rcp
if you have hostnames and not ip addresses in .rhosts, and DNS is wrong for one server, rcp will fail.
/etc/hosts.equiv might not authorize rcp on the affected server.
the r- protocols may be disabled in /etc/inetd.conf
They may be blocked in /var/adm/inetd.sec
Diags:
On the target server inetd -l to turn on enhanced logging if its not already on.
tail -f /var/adm/syslog/syslog.log
Then rcp in. Note the message if any.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 05:21 AM
06-18-2004 05:21 AM
Re: problem with rcp
From host A, telnet to B, login with root user_id. Do who -u, What does last column shows, Does that entry is in B host's .rhost file??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 05:41 AM
06-18-2004 05:41 AM
Re: problem with rcp
I guess, you use DNS or NIS on your computers. Run
nslookup myserver
on the target machine. You'll get something like this:
myserver.YOURDOMAIN
Put the answer into /.rhost on target machine
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 06:18 AM
06-18-2004 06:18 AM
Re: problem with rcp
on A, ftp B &
on B ; netstat -a |grep ftp
this would show me exactly what hostname / ip is being used by system A to connect to System B. Add this name in the .rhosts of System B and you are done.
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 08:24 AM
06-18-2004 08:24 AM
Re: problem with rcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 05:11 PM
06-18-2004 05:11 PM
Re: problem with rcp
Problem may be because of .rhosts entries. Put nslookup A or nslookup B entries (FQDN) in .rhosts file
Check that with remsh
If you want a simplified .rhosts file then
make as like this,
# cat /.rhosts
+
#chmod 400 /.rhosts
All machines will be having the access to that machines.
Regards,
Muthukumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2004 12:17 AM
06-19-2004 12:17 AM
Re: problem with rcp
If you had tried all the options indicated earlier and still have a problem then check the below 2 points.
1. If you configured 2 LAN cards with an IP in the same Subnet, rlogin does not work. 2 LAN cards in same Subnet is not supported in HP-UX. to confirm, delete the IP on the second LAN card where you are having rlogin problem and check rlogin.
2. .rhosts does not support alias names. It has to be only the OFFICIAL HOSTNAME in it. If you had used alias name, modify it and check.
Cheers,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 04:17 AM
06-21-2004 04:17 AM
Re: problem with rcp
Because of security reason ftp is not available across the system. I am not able to try all the suggestion. I will keep you guys updated as soon as I solve this problem with the help of you guys.
I will be assigning the points.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 04:42 AM
06-21-2004 04:42 AM
Re: problem with rcp
- John