- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remsh command won't exit
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
тАО06-04-2001 01:50 PM
тАО06-04-2001 01:50 PM
remsh command won't exit
/usr/bin/remsh infpap1 '/usr/bin/su - applprod -c ./start_forms'
and
/usr/bin/remsh infpap1 '/usr/bin/su - oraprod -c ./start_web'
The first one works and exits correctly. The 2nd one runs the target program properly (exit 0), but never remsh command itself never exits, thus the next part of the script doesn't get run. A couple notes: the scripts in each command, 'start_forms' and 'start_web' are identical in format. Also, I've run these from the command line as well, and gotten the same result. The 2nd command will show up with 2 processes still out there on a ps listing, and when I kill -9 these processes, I finally get my prompt back (or, when run from within the script, kill -9 will get the rest of the script to then finish properly). Any ideas? Thanks in advance for any help.
-Jeff
- Tags:
- remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2001 02:08 PM
тАО06-04-2001 02:08 PM
Re: remsh command won't exit
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2001 02:09 PM
тАО06-04-2001 02:09 PM
Re: remsh command won't exit
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2001 02:37 PM
тАО06-04-2001 02:37 PM
Re: remsh command won't exit
I've used the '-n' flag, but to no avail. It does the exact same thing. Thanks for the help though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2001 10:35 PM
тАО06-04-2001 10:35 PM
Re: remsh command won't exit
Try to redirect standard of remsh and the child process to /dev/null and standard out/err to either a log file or /dev/null .
/usr/bin/remsh infpap1 '/usr/bin/su - oraprod -c ./start_web < /dev/null > /tmp/filelog 2>&1'