- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remsh nohup does not return immediately
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
08-24-2005 08:11 AM
08-24-2005 08:11 AM
remsh nohup does not return immediately
$ remsh box2 "nohup sleep 1800 &"
I just used "sleep" for the example, but it could be any other command. The problem now is that remsh does not come back immediately even if the remote process is nohup'd in the background, as above. It actually waits for the remote command to complete before returning to the local $ prompt.
Any thoughts on what might be causing this? Thanks in advance for any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:20 AM
08-24-2005 08:20 AM
Re: remsh nohup does not return immediately
One thing comes to mind is, the shell may have been modified, by changing it or changing a system-wide variable, making the & (ampersand) character taking a special meaning. See if it makes any difference if you escape the & character as such:
$ remsh box2 "nohup sleep 1800 \&"
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:22 AM
08-24-2005 08:22 AM
Re: remsh nohup does not return immediately
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 09:41 AM
08-24-2005 09:41 AM
Re: remsh nohup does not return immediately
The change in behavior problem reflects the application of an `r-commands` patch PHNE_29464 or successor.
You can resort to the old behavior by editing the 'shell' service name line in 'etc/inetd.conf'. Add a '-m' argument thusly:
shell stream tcp nowait root /usr/lbin/remshd remshd -m
Now issue 'inetd -c' to have 'inetd' reread the updated configuration. Your old behavior should resume.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 10:03 AM
08-24-2005 10:03 AM
Re: remsh nohup does not return immediately
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 12:01 PM
08-24-2005 12:01 PM
Re: remsh nohup does not return immediately
Yes, the behavorial change for 11.11 begins with the application of PHNE_29464 or its successor patch PHNE_30433. This is well documented in the patch's installation notes.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 12:32 PM
08-24-2005 12:32 PM
Re: remsh nohup does not return immediately
Thanks for the information. I am waiting for our HP platinum team to compile my new batch of patches to get the latest greatest ones. Maybe this time I can haggle some downtime with the business units to put them and get this one as well. Last one was a lost cause.
And ... welcome back :) I am sure you're missed dearly.
UNIX because I majored in cryptology...