- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ip address change and remsh quit working
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
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-11-2005 03:07 AM
тАО05-11-2005 03:07 AM
ip address change and remsh quit working
We have a system called fifrux22, it's IP addresse was changed.
I have a script that does a remsh ffpdink bdf and pipes to a file. It quit working after addy change... when i do manually it says remsh login incorrect. I get this no matter which server I try to remsh to from fifrux22
Fifrux22 is in all the .rhosts on other boxes.
All worked fine until we changed the ip address. All other boxes can ping fifrux22 just fine.
Anyone out there have any idea what might be causing this? Is there a buffer or cache some place in need of clearing?
Any help would be greatly appreciated
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2005 03:11 AM
тАО05-11-2005 03:11 AM
Re: ip address change and remsh quit working
This is most likely due to name resolution.
Make sure:
A) DNS has been updated with the new info - check resolution both by name & IP
B) Make sure all systems involved have updated /etc/hosts files. For some reason R-commands will always check the file even though the nsswitch.conf file spells out to use DNS before files.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2005 03:36 AM
тАО05-11-2005 03:36 AM
Re: ip address change and remsh quit working
I can ping by name and ip.
Anything else you can think of?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2005 04:37 AM
тАО05-11-2005 04:37 AM
Re: ip address change and remsh quit working
Then check the location & perms on the .rhosts files. They must be in the controlling user's $HOME dir, they need proper ownership & they *must* be 600 perms.
And I guess I need to ask....
Has this system been rebooted following the IP change?
If not I believe you'll need to do so because there may be an ARP table somewhere that needs to be refreshed with the new IP/MAC entry.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2005 04:49 AM
тАО05-11-2005 04:49 AM
Re: ip address change and remsh quit working
nslookup myhost 12.34.56.78
nslookup 87.65.43.21 12.34.56.78
In both examples, we are asking the DNS server at 12.34.56.78 for address resolution. remsh/rcp/rlogin try to authenticate the host by asking the DNS server. Most likely, your records were not updated in the DNS server. You can fix this by editing /etc/hosts (on both machines) to make sure it has the correct host and IP address, and then edit /etc/nsswitch.conf and change the hosts: line to read this way:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
Now, it should work. You can also put the IP address ans well as the hostname in .rhosts:
fifrux22 user1
87.65.43.21 user1
Then try the remsh. The final fix is to correct the problems in the DNS server.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2005 08:28 AM
тАО05-11-2005 08:28 AM
Re: ip address change and remsh quit working
what we're doing is changing subnets on all servers from 10.8.188.xx to 10.8.197.xx
The weird thing is the i can't remsh from any box that is on 10.8.197.xx to another on 10.8.197.xx. However i can remsh from 10.8.197.xx to a box still on 10.8.188.xx
my nsswitch file is set like you suggested.
i can do a nslookup on each box from each box and get correct name and addy
put additional addy's in each hosts file
still no luck.
any thing else i can try
thanks,
mike