<?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: executing script problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686222#M54221</link>
    <description>can you add this line into the script  after the PATH line&lt;BR /&gt;&lt;BR /&gt;echo $T4VBTS &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;try removing the quotes around DISPAT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;also try this from the command line&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ps -fu displi |grep rtsora |grep -ic DISPAT&lt;BR /&gt;&lt;BR /&gt;what the outcome ?&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;John. &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 19 Mar 2002 16:18:21 GMT</pubDate>
    <dc:creator>John Carr_2</dc:creator>
    <dc:date>2002-03-19T16:18:21Z</dc:date>
    <item>
      <title>executing script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686219#M54218</link>
      <description>Hi all!!&lt;BR /&gt;we have a problem when we try to execute this script :&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;export ORACLE_HOME=/u01/app/oracle/product/8.1.6&lt;BR /&gt;export ORACLE_SID=SQLCOMM&lt;BR /&gt;export LD_LIBRARY_PATH=/opt/cobol/coblib:$ORACLE_HOME/lib&lt;BR /&gt;export T4VBTS=displi&lt;BR /&gt;export TEMPOR=/u01/axioma/s5lire/tmp&lt;BR /&gt;export PATH=$PATH:/u01/app/oracle/product/8.1.6/bin:/usr/ccs/bin:/opt/cobol/bin::/usr/lib:.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;numdis=`ps -fu $T4VBTS |grep rtsora |grep -ic "DISPAT"`&lt;BR /&gt;&lt;BR /&gt;if test $numdis -eq 0&lt;BR /&gt;   then&lt;BR /&gt;      rm $TEMPOR/DISPAT.his&lt;BR /&gt;      rm $TEMPOR/DISPAT.err&lt;BR /&gt;      su $T4VBTS -c "nohup rtsora DISPAT 1&amp;gt; $TEMPOR/DISPAT.his 2&amp;gt; $TEMPOR/DISPAT.err &amp;amp; "&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;The error we get is the following : &lt;BR /&gt;virgo# nohup: rtsora: Permission denied&lt;BR /&gt;&lt;BR /&gt;The user permissions seems correct and the permission on the directory where users read and write are 777.&lt;BR /&gt;Thanks in advance for your help and your support.&lt;BR /&gt;Luca</description>
      <pubDate>Tue, 19 Mar 2002 16:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686219#M54218</guid>
      <dc:creator>Luca Frigatti</dc:creator>
      <dc:date>2002-03-19T16:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: executing script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686220#M54219</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;put argument -x at end of first line and feed back to us the output.&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;John.</description>
      <pubDate>Tue, 19 Mar 2002 16:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686220#M54219</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-03-19T16:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: executing script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686221#M54220</link>
      <description>Think your problem is in your su command. &lt;BR /&gt;Does the user running this have perms to su to user "displi" ?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 19 Mar 2002 16:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686221#M54220</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-03-19T16:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: executing script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686222#M54221</link>
      <description>can you add this line into the script  after the PATH line&lt;BR /&gt;&lt;BR /&gt;echo $T4VBTS &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;try removing the quotes around DISPAT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;also try this from the command line&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ps -fu displi |grep rtsora |grep -ic DISPAT&lt;BR /&gt;&lt;BR /&gt;what the outcome ?&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;John. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2002 16:18:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686222#M54221</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-03-19T16:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: executing script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686223#M54222</link>
      <description>It appears that displi doesn't have permission to invoke rtsora. What do these show:&lt;BR /&gt;&lt;BR /&gt;su displi -c 'ls -l $(which rtsora)'&lt;BR /&gt;su - displi -c 'ls -l $(which rtsora)'&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2002 17:22:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script-problem/m-p/2686223#M54222</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-03-19T17:22:09Z</dc:date>
    </item>
  </channel>
</rss>

