<?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 rexec do not end in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317759#M877166</link>
    <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I try to run a script installed on a Solaris machine from a HP-UX server. I use the command rexec &lt;SOLARIS_MACHINE&gt; &amp;lt;script_name&amp;gt;. The script is correctly executed and finished without problem (I checked it by inserting set -x within the script), but I do not get the prompt back or it needs several minutes.&lt;BR /&gt;&lt;BR /&gt;Any idea to explain and/or correct this?&lt;/SOLARIS_MACHINE&gt;</description>
    <pubDate>Tue, 29 Jun 2004 04:53:24 GMT</pubDate>
    <dc:creator>Sylvain CROUET</dc:creator>
    <dc:date>2004-06-29T04:53:24Z</dc:date>
    <item>
      <title>rexec do not end</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317759#M877166</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I try to run a script installed on a Solaris machine from a HP-UX server. I use the command rexec &lt;SOLARIS_MACHINE&gt; &amp;lt;script_name&amp;gt;. The script is correctly executed and finished without problem (I checked it by inserting set -x within the script), but I do not get the prompt back or it needs several minutes.&lt;BR /&gt;&lt;BR /&gt;Any idea to explain and/or correct this?&lt;/SOLARIS_MACHINE&gt;</description>
      <pubDate>Tue, 29 Jun 2004 04:53:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317759#M877166</guid>
      <dc:creator>Sylvain CROUET</dc:creator>
      <dc:date>2004-06-29T04:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: rexec do not end</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317760#M877167</link>
      <description>Try putting an "exit 0" at the very beginning of your script to see whether it's your script causing the problem, or the act of rexec'ing itself.  This should eliminate either network config or script config.</description>
      <pubDate>Tue, 29 Jun 2004 04:58:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317760#M877167</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2004-06-29T04:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: rexec do not end</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317761#M877168</link>
      <description>hai,&lt;BR /&gt;&lt;BR /&gt; Check the amount time it is using to execute on solaris machine with time &lt;SHELL script="" execution=""&gt; and the remote execution from HP-UX.&lt;BR /&gt;&lt;BR /&gt; Try to use set +x in the end of script to close the debug mode. Use the exit 0 to exit from the script.&lt;BR /&gt;&lt;BR /&gt; Is solarise machine having authentication setup? If so it will take some time. But it might not be hung.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Muthukumar.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;/SHELL&gt;</description>
      <pubDate>Tue, 29 Jun 2004 05:02:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317761#M877168</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-06-29T05:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: rexec do not end</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317762#M877169</link>
      <description>There is already an 'exit 0' at the end of the script, but when I put it at the beginning, there is no more problem, I get the prompt back immediately</description>
      <pubDate>Tue, 29 Jun 2004 07:53:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317762#M877169</guid>
      <dc:creator>Sylvain CROUET</dc:creator>
      <dc:date>2004-06-29T07:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: rexec do not end</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317763#M877170</link>
      <description>In that case, something in your script must be causing the problem.&lt;BR /&gt;&lt;BR /&gt;I suggest you keep running the script, each time move the "exit 0" further down the script.  When it exhibits your problems, you'll know exactly which command/section is causing your problem.&lt;BR /&gt;&lt;BR /&gt;Perhaps also attach the script, so someone may recognise what's causing it to hang up?</description>
      <pubDate>Tue, 29 Jun 2004 08:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317763#M877170</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2004-06-29T08:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: rexec do not end</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317764#M877171</link>
      <description>Well the problem is on the line $OPCAGT -start, where OPCAGT is /opt/OV/bin/OpC/opcagt. I simply try to restart the OVOU agent.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jun 2004 09:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317764#M877171</guid>
      <dc:creator>Sylvain CROUET</dc:creator>
      <dc:date>2004-06-29T09:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: rexec do not end</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317765#M877172</link>
      <description>In fact I can execute the opcagt command:&lt;BR /&gt;- alone locally,&lt;BR /&gt;- alone remotely (via rexec),&lt;BR /&gt;- within the script locally,&lt;BR /&gt;but I have problem remotely within the script.&lt;BR /&gt;Any idea?</description>
      <pubDate>Fri, 02 Jul 2004 03:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317765#M877172</guid>
      <dc:creator>Sylvain CROUET</dc:creator>
      <dc:date>2004-07-02T03:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: rexec do not end</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317766#M877173</link>
      <description>Whoa - why are you kill -9'ing opc processes?&lt;BR /&gt;&lt;BR /&gt;On HP-UX: /sbin/init.d/opcagt stop&lt;BR /&gt;&lt;BR /&gt;On Solaris: /etc/init.d/opcagt stop&lt;BR /&gt;&lt;BR /&gt;Instead of rexec, try it with remsh&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 02 Jul 2004 07:42:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317766#M877173</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-07-02T07:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: rexec do not end</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317767#M877174</link>
      <description>Well, I kill remaining opc processes.&lt;BR /&gt;I noticed that sometime there were several opcmona running simultaneously. So I completely stop the OVO agent with 'opcagt -kill', then suppress the remaining opcmona processes and finally restart the agent.</description>
      <pubDate>Mon, 05 Jul 2004 02:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec-do-not-end/m-p/3317767#M877174</guid>
      <dc:creator>Sylvain CROUET</dc:creator>
      <dc:date>2004-07-05T02:05:10Z</dc:date>
    </item>
  </channel>
</rss>

