<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: remsh process not exiting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424762#M841</link>
    <description>Here's a wild guess...&lt;BR /&gt;Try:&lt;BR /&gt;remsh -n $SYSTEM rbstart</description>
    <pubDate>Sat, 03 Jun 2000 16:06:11 GMT</pubDate>
    <dc:creator>Paul Hite</dc:creator>
    <dc:date>2000-06-03T16:06:11Z</dc:date>
    <item>
      <title>remsh process not exiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424759#M838</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Got two systems, 10.20 &amp;amp; 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.&lt;BR /&gt;&lt;BR /&gt;Many thanks to all!&lt;BR /&gt;Rick</description>
      <pubDate>Sat, 03 Jun 2000 02:21:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424759#M838</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-03T02:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: remsh process not exiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424760#M839</link>
      <description>I tried to do something similar, from the command prompt. I have no problems with remsh from 10.20 to 11.00. &lt;BR /&gt;Why don't you send the script you have used or the just the line that does "remsh".&lt;BR /&gt;&lt;BR /&gt;Regards, Roumen&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Jun 2000 09:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424760#M839</guid>
      <dc:creator>Rumen Ginev</dc:creator>
      <dc:date>2000-06-03T09:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: remsh process not exiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424761#M840</link>
      <description>The remsh process being executed is &lt;BR /&gt;remsh $SYSTEM rbstart&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;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.</description>
      <pubDate>Sat, 03 Jun 2000 15:32:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424761#M840</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-03T15:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: remsh process not exiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424762#M841</link>
      <description>Here's a wild guess...&lt;BR /&gt;Try:&lt;BR /&gt;remsh -n $SYSTEM rbstart</description>
      <pubDate>Sat, 03 Jun 2000 16:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424762#M841</guid>
      <dc:creator>Paul Hite</dc:creator>
      <dc:date>2000-06-03T16:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: remsh process not exiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424763#M842</link>
      <description>I have run into a similar situation running certain application scripts through a remsh from one 10.20 sytem to another.  Even adding explicit exit statements to the remote script would not return control to the "master" script.  The -n option (which tells remsh not to read from stdin) did not help me.  I never was able to track down exactly what in the application script  caused the issue.  In the end, I used a a workaround:&lt;BR /&gt;&lt;BR /&gt;Place the remsh call in the background.&lt;BR /&gt;Either set a time limit within which you know the job will complete, or set a semaphore file in the remote script.&lt;BR /&gt;Sleep until exit condition (time or semaphore) is reached.&lt;BR /&gt;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.)&lt;BR /&gt;&lt;BR /&gt;A simple example:&lt;BR /&gt;&lt;BR /&gt;remsh -n remote_box remote_script &amp;amp;&lt;BR /&gt;sleep 300&lt;BR /&gt;kill "$!"</description>
      <pubDate>Mon, 05 Jun 2000 13:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424763#M842</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-06-05T13:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: remsh process not exiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424764#M843</link>
      <description>Rick... SWAG -&lt;BR /&gt;remsh $host -l username . backuproutine&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Thu, 08 Jun 2000 16:33:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424764#M843</guid>
      <dc:creator>Michael Marburger</dc:creator>
      <dc:date>2000-06-08T16:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: remsh process not exiting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424765#M844</link>
      <description>Does the backup script kick off any processes when it finishes i.e. restarting a database or application? If so then those processes may be inheriting the standard input provided by the remsh process. Try amending the call to start the database (or whatever) to include &amp;lt; /dev/null. Or you could put exec 0&amp;lt; /dev/null at the start of the backup script.</description>
      <pubDate>Fri, 09 Jun 2000 11:10:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remsh-process-not-exiting/m-p/2424765#M844</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-06-09T11:10:27Z</dc:date>
    </item>
  </channel>
</rss>

