<?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: DP post-exec script times out in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701420#M497004</link>
    <description>&lt;P&gt;&amp;gt;All the scripts start what they are supposed to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you know you got to the last mailx?&amp;nbsp; (Any reason you don't use mailx with both addresses?)&lt;/P&gt;&lt;P&gt;Are you starting any background processes (with &amp;amp;)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose you could use tusc to check and see what ksh is waiting for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;post exec script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you redirecting stdin to /dev/null?&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jan 2015 08:52:54 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2015-01-29T08:52:54Z</dc:date>
    <item>
      <title>DP post-exec script times out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701196#M497003</link>
      <description>&lt;P&gt;Greetings. I believe this is a script issue - not data protector issue. I have a post exec script (ksh) I have used for a few years that now has to run remotely rather than locally (on the cell manager). The script runs 5 other scripts. All the scripts start what they are supposed to - but DP waits for 30 minutes and reports failure (due to timeout in the script). The last 3 lines of the main script are below. The two emails are sent but it sits there for 30 minutes - then times out. Any ideas on finding out what the hangup is? Could one of the child scripts cause the issue? How could I find out which one?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;echo "$subject" | /usr/bin/mailx -s "PROD BACKUP IS COMPLETE" &amp;lt;emailaddress&amp;gt;&lt;BR /&gt;echo "$subject" | /usr/bin/mailx -s "PROD BACKUP IS COMPLETE" &amp;lt;emailaddress&amp;gt;&lt;BR /&gt;exit 0&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2015 21:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701196#M497003</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2015-01-28T21:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: DP post-exec script times out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701420#M497004</link>
      <description>&lt;P&gt;&amp;gt;All the scripts start what they are supposed to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you know you got to the last mailx?&amp;nbsp; (Any reason you don't use mailx with both addresses?)&lt;/P&gt;&lt;P&gt;Are you starting any background processes (with &amp;amp;)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose you could use tusc to check and see what ksh is waiting for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;post exec script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you redirecting stdin to /dev/null?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 08:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701420#M497004</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2015-01-29T08:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: DP post-exec script times out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701596#M497005</link>
      <description>&lt;P&gt;there are only four scripts - the 2nd,3rd, and 4th are run with &amp;amp;. &amp;nbsp;These are running on itanium (hpux 11.31). One strange thing - when I run the same script on a PA-RISC test system (also hpux 11.31) it completes (with a DP test backup).&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 14:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701596#M497005</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2015-01-29T14:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: DP post-exec script times out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701718#M497006</link>
      <description>&lt;P&gt;I di notice that the inet &amp;nbsp;process was still running from the backup, and the log file did not exist. I created the file and one of the child processes was still sending output. We think the script that may still be sending output is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;su - clr -c "/u12/software/jboss/jboss-4.0.1sp1/bin/run_jboss.sh &amp;gt;/dev/null 2&amp;gt;&amp;amp;1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another way to have this run without returning output to the shell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 17:20:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701718#M497006</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2015-01-29T17:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: DP post-exec script times out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701812#M497007</link>
      <description>&lt;P&gt;&amp;gt;Is there another way to have this run without returning output to the shell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's nohup(1).&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 20:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701812#M497007</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2015-01-29T20:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: DP post-exec script times out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701833#M497008</link>
      <description>&lt;P&gt;the script that might be hanging does a nohup in it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nohup java $VM_ARGS -classpath $CP com.clearorbit.rfuiServer.Engine -telnet $PORT -admin $ADMI N_PORT -program $PROGRAM $RFUI_ARGS 1&amp;gt;/home/clr/dtel.log &amp;amp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 20:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6701833#M497008</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2015-01-29T20:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: DP post-exec script times out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6702412#M497009</link>
      <description>&lt;P&gt;&amp;gt;the script that might be hanging does a nohup in it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In it or to invoke it?&lt;/P&gt;&lt;P&gt;Also, why not redirect stderr too?&amp;nbsp; 2&amp;gt;&amp;amp;1&lt;/P&gt;&lt;P&gt;You may want to redirect stdin too: &amp;lt; /dev/null&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 21:51:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6702412#M497009</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2015-01-30T21:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: DP post-exec script times out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6706997#M497010</link>
      <description>&lt;P&gt;Doing the &amp;gt;/dev/null &amp;gt;2&amp;gt;&amp;amp;1&amp;nbsp;&amp;nbsp; in the postexec script has fixed the problem. thanks&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 15:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6706997#M497010</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2015-02-10T15:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: DP post-exec script times out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6707178#M497011</link>
      <description>&lt;P&gt;&amp;gt; fixed the problem. thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're happy with the answers, please also assign Kudos.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 19:55:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dp-post-exec-script-times-out/m-p/6707178#M497011</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2015-02-10T19:55:00Z</dc:date>
    </item>
  </channel>
</rss>

