<?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: Problem with Script execution using nohup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246234#M330780</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;environment and ssty environment is not correct.&lt;BR /&gt;&lt;BR /&gt;stty -a&lt;BR /&gt;&lt;BR /&gt;env&lt;BR /&gt;&lt;BR /&gt;See whats wrong there.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 05 Aug 2008 10:39:18 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2008-08-05T10:39:18Z</dc:date>
    <item>
      <title>Problem with Script execution using nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246231#M330777</link>
      <description>Application team complains that they are having problems while executing their scripts using nohup. &lt;BR /&gt;&lt;BR /&gt;As an example they executed the following scripts in /home/pdmcc2/users/XYZ/GetPType-GivenID.tcl using &lt;BR /&gt;&lt;BR /&gt;nohup GetPType-GivenID.tcl &amp;amp;&lt;BR /&gt;&lt;BR /&gt;But the output generated in nohup file is stty: : I/O error. Moreover the nohup file in /home/pdmcc2 is getting update instead of the nohup file in  /home/pdmcc2/users/XYZ/. &lt;BR /&gt;&lt;BR /&gt;What can be the problem. &lt;BR /&gt;I checked the permission on these files they all have execute permission. &lt;BR /&gt;&lt;BR /&gt;eg: -rwxr-xr-x   1 pdmcc2     pdmuser       1712 Jul 16 17:02 GetPType-GivenID.tcl</description>
      <pubDate>Tue, 05 Aug 2008 09:19:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246231#M330777</guid>
      <dc:creator>raiden</dc:creator>
      <dc:date>2008-08-05T09:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Script execution using nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246232#M330778</link>
      <description>it looks likes the output of the script is not corectly adressed Just add:&lt;BR /&gt; &amp;gt; /home/pdmcc2/users/XYZ/log 2&amp;gt;&amp;amp;1&lt;BR /&gt;and looks if it works as requested</description>
      <pubDate>Tue, 05 Aug 2008 09:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246232#M330778</guid>
      <dc:creator>F Verschuren</dc:creator>
      <dc:date>2008-08-05T09:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Script execution using nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246233#M330779</link>
      <description>&amp;gt;nohup GetPType-GivenID.tcl &amp;amp;&lt;BR /&gt;&lt;BR /&gt;nohup GetPType-GivenID.tcl &amp;gt; /tmp/somelogfile 2&amp;gt;&amp;amp;1 &amp;amp; &lt;BR /&gt;&lt;BR /&gt;If the output is not redirected, and the nohup.out is not writable in the current dir from where you issued the command, then it will write to the users's home dir. &lt;BR /&gt;&lt;BR /&gt;So, most probably you do not have write permission on the dir from where you issued the nohup command.</description>
      <pubDate>Tue, 05 Aug 2008 10:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246233#M330779</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-08-05T10:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Script execution using nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246234#M330780</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;environment and ssty environment is not correct.&lt;BR /&gt;&lt;BR /&gt;stty -a&lt;BR /&gt;&lt;BR /&gt;env&lt;BR /&gt;&lt;BR /&gt;See whats wrong there.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 05 Aug 2008 10:39:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246234#M330780</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-05T10:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Script execution using nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246235#M330781</link>
      <description>&lt;!--!*#--&gt;&amp;gt;But the output generated in nohup file is stty: : I/O error.&lt;BR /&gt;&lt;BR /&gt;After fixing the redirection of stdout and stderr, you may want to set stdin to null:&lt;BR /&gt;nohup ... &amp;lt; /dev/null&lt;BR /&gt;&lt;BR /&gt;Or you need to fix your script to bracket calls to terminal commands to skip them:&lt;BR /&gt;if [ -t ]; then&lt;BR /&gt;   stty ...&lt;BR /&gt;fi</description>
      <pubDate>Tue, 05 Aug 2008 12:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246235#M330781</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-05T12:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Script execution using nohup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246236#M330782</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please try using below and confirm if you face the same issue:&lt;BR /&gt;&lt;BR /&gt;nohup cd /home/pdmcc2/users/XYZ;./GetPType-GivenID.tcl&amp;amp;&lt;BR /&gt;&lt;BR /&gt;We faced same issue in our environment.&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;Deepak&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Aug 2008 14:26:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-script-execution-using-nohup/m-p/4246236#M330782</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-08-05T14:26:12Z</dc:date>
    </item>
  </channel>
</rss>

