- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing server's IP/NAME
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
12-20-2004 06:59 PM
12-20-2004 06:59 PM
Changing server's IP/NAME
yeterday I changed IP and NAME of two of my servers. Just switched them and booted the servers. Everything looked fine, but now services like ftp, remsh and rexec do not work between these two servers. Outside and from outside I can ftp and rexec the servers it just does not work from each other.
Any ideas what can cause this strange problem?
thanx in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 07:06 PM
12-20-2004 07:06 PM
Re: Changing server's IP/NAME
check the nslookup results between the two servers.
# nslookup server1
# nslookup server2
# nslookup ip_server1
# nslookup ip_server2
Repeat it on the other server.
Also check the /etc/rc.config/netconf file and the /etc/hosts file.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 07:09 PM
12-20-2004 07:09 PM
Re: Changing server's IP/NAME
I already checked it couple of times, everything is fine. They resolve each other fine and can ping and even telnet each other.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 07:10 PM
12-20-2004 07:10 PM
Re: Changing server's IP/NAME
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 07:14 PM
12-20-2004 07:14 PM
Re: Changing server's IP/NAME
What kind of error message do you get ?
remsh and rexec do not work --> .rhosts file ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 07:23 PM
12-20-2004 07:23 PM
Re: Changing server's IP/NAME
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 07:24 PM
12-20-2004 07:24 PM
Re: Changing server's IP/NAME
When I'm trying to ftp I get this error (after I enter user and password):
421 Service not available, remote server has closed connection
Login failed
No control connection for command: Error 0
rexec just exits with no message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 07:26 PM
12-20-2004 07:26 PM
Re: Changing server's IP/NAME
see the following files and make necessary change (according to your new ips)
.netrc , .rhosts files in your home directories.and hosts.equiv file in /etc folder.
.netrc is used for ftp & rexec without login name & passwd.see man netrc for details.
other files are used for rcp,rmesh ,etc .see man page of rhosts.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 07:30 PM
12-20-2004 07:30 PM
Re: Changing server's IP/NAME
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 07:57 PM
12-20-2004 07:57 PM
Re: Changing server's IP/NAME
Are you sure it not a security setting in the /var/adm/inetd.sec ?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 07:58 PM
12-20-2004 07:58 PM
Re: Changing server's IP/NAME
see the following link,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=270687
and make it sure that you have changed the routing entries also after changing the ip.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 08:01 PM
12-20-2004 08:01 PM
Re: Changing server's IP/NAME
the strange thing is that it's not working only between these two servers ....
I think there is still some place that has the old IP or name and it messes the things up, but I failed to find it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 08:11 PM
12-20-2004 08:11 PM
Re: Changing server's IP/NAME
# find / -type f -exec grep "xxx.x.x.xxx" {} \; | more
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 08:13 PM
12-20-2004 08:13 PM
Re: Changing server's IP/NAME
Thanx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 10:28 PM
12-20-2004 10:28 PM
Re: Changing server's IP/NAME
Have no idea why it happened ....
But 50% of the problem solved :-)
P.S. sorry, I forgot to assign points, I fixed it. thanx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 11:39 PM
12-20-2004 11:39 PM
Re: Changing server's IP/NAME
only idea, wern't the new IPs previously used ?
What is in syslog on server after unsuccessful ftp ?
rgds Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 11:44 PM
12-20-2004 11:44 PM
Re: Changing server's IP/NAME
Absolutely nothing in syslog about ftp ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:04 AM
12-21-2004 12:04 AM
Re: Changing server's IP/NAME
are you trying ftp via ip or hostname ?
What is the result if you try ftp via ip ?
rgds Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:08 AM
12-21-2004 12:08 AM
Re: Changing server's IP/NAME
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:40 AM
12-21-2004 12:40 AM
Re: Changing server's IP/NAME
CHeck if you have a file called ftpusers under /etc/ftpd. if so, the user names mentioned in this file cannot perform ftp.
check man ftpusers for more details. Hope this helps.
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 12:49 AM
12-21-2004 12:49 AM
Re: Changing server's IP/NAME
Mohanasundaram,if an entry is there in /etc/ftpd/ftpusers after giving the username it will refuse the connection,it will not ask for passwd.
regds,