- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remsh process not exiting
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
06-02-2000 07:21 PM
06-02-2000 07:21 PM
remsh process not exiting
Got two systems, 10.20 & 11.00. The 10.20 system functions as a backup master. Got a dump script that does the backups for these two systems. The 10.20 system does a remsh to the 11.00 system to execute a dump script. The backup completes and is fine but the remsh process does not exit, need to kill the processes the next day. I believe a patch is required but have searched and read the patch text files and do not really see anything that describes this situation. Is there a patch to solve this or is something else going on. From 10.20 to 10.20 the remsh process exits when the backup is complete.
Many thanks to all!
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2000 02:08 AM
06-03-2000 02:08 AM
Re: remsh process not exiting
Why don't you send the script you have used or the just the line that does "remsh".
Regards, Roumen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2000 08:32 AM
06-03-2000 08:32 AM
Re: remsh process not exiting
remsh $SYSTEM rbstart
The rbstart is a backup script that is common on all systems. Variables such as hostname, date, FSTYP, dump level, oracle shutdown, etc., are being passed into the script. Mix of hfs and vxfs FSTYPs.
Again, the FSTYPs are a mix across all systems, but this issue only seems to be 10.20 to 11.00. The 10.20 to 10.20 doesn't have a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2000 09:06 AM
06-03-2000 09:06 AM
Re: remsh process not exiting
Try:
remsh -n $SYSTEM rbstart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2000 06:24 AM
06-05-2000 06:24 AM
Re: remsh process not exiting
Place the remsh call in the background.
Either set a time limit within which you know the job will complete, or set a semaphore file in the remote script.
Sleep until exit condition (time or semaphore) is reached.
Kill the pid of the last job run in the background. [$!] (Note: if you have several remsh processes that you wish to run in parallel, it is necessary to capture each PID separately and store them in environmental variales.)
A simple example:
remsh -n remote_box remote_script &
sleep 300
kill "$!"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2000 09:33 AM
06-08-2000 09:33 AM
Re: remsh process not exiting
remsh $host -l username . backuproutine
and in backuproutine put "exit" as last statement. Consider, also what shell you are using. Is it a restricted shell on the remote host? Probably not - probably root's shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2000 04:10 AM
06-09-2000 04:10 AM