- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: RCP Misbahaviour
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
тАО05-04-2009 10:14 AM
тАО05-04-2009 10:14 AM
Following is the scenario
ServerA and userA
ServerB and userB
userB's .rhosts. I have put ServerA's FQDN
ServerA userA
ServerAUserA#rcp test.txt userB@ServerB:/home/userB/
remshd: Login incorrect.
If I remove the FQDN and put the IP address in userB's .rhosts file, rcp works fine.
nslookup on both the servers is working fine. No DNS issues.
Coudl some one please explain me this behaviour?
Ravi.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 10:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 10:33 AM
тАО05-04-2009 10:33 AM
Re: RCP Misbahaviour
try shortname in place of fdqn in userB's .rhosts. file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 10:49 AM
тАО05-04-2009 10:49 AM
Re: RCP Misbahaviour
put the hostname of ServerA and username in serverB's .rhosts file.This should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 11:16 AM
тАО05-04-2009 11:16 AM
Re: RCP Misbahaviour
It is only working with IP address. It doesn't work with hostname and FQDN
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 11:19 AM
тАО05-04-2009 11:19 AM
Re: RCP Misbahaviour
nslookup of what?
Do an nslookup of both the IP address **AND** the hostname (both FQDN and just the hostname) and see if you get the answers you expect.
My guess is that something is not returning the correct information when using hostname.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 11:44 AM
тАО05-04-2009 11:44 AM
Re: RCP Misbahaviour
nslooukup FQDN
nslookup IP
from both the servers is giving the correct resolution
the only difference that i see,
In resolve.conf, primary DNS in serverA is Secondary DNS in ServerB and Secondary DNS in serverA is primary in ServerB.
Cheers,
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 04:33 PM
тАО05-04-2009 04:33 PM
Re: RCP Misbahaviour
nslookup abc.com
nsquery hosts abc.com
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 01:41 AM
тАО05-05-2009 01:41 AM
Re: RCP Misbahaviour
I have updated the /etc/hosts file on both the servers with FQDN's.
RCP started working without any probelm.
Because of this I could corner the DNS server. I have removed the entries from /etc/hosts file and logged in to serverB from serverA and issued who -Rm. It was showing IP address.
I did a continous nsquery on the ip address of serverB with an interval of 1 second. Then I found that there are 2 records for 1 IP address.
nsquery hosts IP_ADD "dns"
Informed the same to DNS team and they have removed the incorrect DNS record.
Issue resolved.
Thank You for all your replies.
Cheers,
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 01:43 AM
тАО05-05-2009 01:43 AM