HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: script hangs up after changing IP address of o...
Operating System - HP-UX
1825730
Members
2676
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
03-24-2004 02:05 AM
03-24-2004 02:05 AM
script hangs up after changing IP address of other machine
Hi all,
I use 'rexec' in a script calling another script on a remote machine to change its IP address. After the IP address was changed, the script hangs up.
Any clue?
I use 'rexec' in a script calling another script on a remote machine to change its IP address. After the IP address was changed, the script hangs up.
Any clue?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 02:11 AM
03-24-2004 02:11 AM
Re: script hangs up after changing IP address of other machine
Well, it probably will. You have set up a tcp connection to an IP address that has suddenly changed and the original ip address is not available any more it will hang waiting for a response.
You could try running the remote script in the background with a nohup e.g
rexec host 'nohup
THe single quotes are important otherwise your rexec will happen in the background instead.
You could try running the remote script in the background with a nohup e.g
rexec host 'nohup
THe single quotes are important otherwise your rexec will happen in the background instead.
Never preceed any demonstration with anything more predictive than "watch this"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 02:13 AM
03-24-2004 02:13 AM
Re: script hangs up after changing IP address of other machine
You've got a connection to ip address 192.168.0.40 say in your arp table.
It disseppears because you've issued an ifconfig command and the ip address is 192.168.0.41
You've terminated the ip address you are connected to.
The script should hang.
You need to have your script run the ifconfig command in background:
nohup ifconfig &
sleep 20
#reconnect.
SEP
It disseppears because you've issued an ifconfig command and the ip address is 192.168.0.41
You've terminated the ip address you are connected to.
The script should hang.
You need to have your script run the ifconfig command in background:
nohup ifconfig
sleep 20
#reconnect.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
03-24-2004 06:33 PM
03-24-2004 06:33 PM
Re: script hangs up after changing IP address of other machine
What I would do is ......
Perform rexec using a diffrent interface on that node if you have multiple networks !
if u have only single interface better goto the console of the node and perform that !
regds,
Kaps
Perform rexec using a diffrent interface on that node if you have multiple networks !
if u have only single interface better goto the console of the node and perform that !
regds,
Kaps
Nothing is impossible
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP