<?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: error trying to execute a command using sh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943153#M289207</link>
    <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;does Oracle internally call that command line?&lt;BR /&gt;If yes, it's a bug, of course.&lt;BR /&gt;&lt;BR /&gt;To overcome this:&lt;BR /&gt;- check, which PATH setting is active, when this command line is called&lt;BR /&gt;- check the location of the real zip binary:&lt;BR /&gt;  type zip&lt;BR /&gt;  example: /opt/zip/bin/zip&lt;BR /&gt;- create an executable shellscript called zip containing:&lt;BR /&gt;  /opt/zip/bin/zip "$@"&lt;BR /&gt;- place this script in a directory of PATH, that you see before the entry /opt/zip/bin (of the example above)&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
    <pubDate>Tue, 13 Feb 2007 07:33:05 GMT</pubDate>
    <dc:creator>Peter Nikitka</dc:creator>
    <dc:date>2007-02-13T07:33:05Z</dc:date>
    <item>
      <title>error trying to execute a command using sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943150#M289204</link>
      <description>This is what I am tring to do from the command line and I get an error.  &lt;BR /&gt;&lt;BR /&gt;addo:applmgr--&amp;gt; pwd&lt;BR /&gt;/u11/oracle/fintestappl/admin/out&lt;BR /&gt;&lt;BR /&gt;addo:applmgr--&amp;gt; sh zip -r xyz.zip appsutil&lt;BR /&gt;sh: zip: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I run zip -r without sh it works.  One of oracle's program is failing.  We don't have source code for that programs it's a java.  I am assuming that there program is doing this.  Can you see how we can fix this this.  I have opened a tar with oracle support also.  Thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Feb 2007 16:33:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943150#M289204</guid>
      <dc:creator>george anderson_7</dc:creator>
      <dc:date>2007-02-12T16:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: error trying to execute a command using sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943151#M289205</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# sh -c "zip -r xyz.zip appsutil"&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 12 Feb 2007 17:34:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943151#M289205</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-02-12T17:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: error trying to execute a command using sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943152#M289206</link>
      <description>Why would you want to use sh with zip if you can use zip directly??  About the only reason is that there is no execute permission on the script but you said it works without sh.  Are there two different zip files in your path?</description>
      <pubDate>Mon, 12 Feb 2007 21:24:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943152#M289206</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-12T21:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: error trying to execute a command using sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943153#M289207</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;does Oracle internally call that command line?&lt;BR /&gt;If yes, it's a bug, of course.&lt;BR /&gt;&lt;BR /&gt;To overcome this:&lt;BR /&gt;- check, which PATH setting is active, when this command line is called&lt;BR /&gt;- check the location of the real zip binary:&lt;BR /&gt;  type zip&lt;BR /&gt;  example: /opt/zip/bin/zip&lt;BR /&gt;- create an executable shellscript called zip containing:&lt;BR /&gt;  /opt/zip/bin/zip "$@"&lt;BR /&gt;- place this script in a directory of PATH, that you see before the entry /opt/zip/bin (of the example above)&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Tue, 13 Feb 2007 07:33:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943153#M289207</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-02-13T07:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: error trying to execute a command using sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943154#M289208</link>
      <description>George,&lt;BR /&gt;&lt;BR /&gt;Your syntax is incorrect; you need to use the '-c' option to 'sh' to make it accept a command.  The way the command stands now, 'sh' expects 'zip' to be a shell script.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Tue, 13 Feb 2007 07:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-trying-to-execute-a-command-using-sh/m-p/3943154#M289208</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-02-13T07:59:09Z</dc:date>
    </item>
  </channel>
</rss>

