<?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 rma script fails in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609701#M376558</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ORACLE=oracle&lt;BR /&gt;export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1&lt;BR /&gt;export ORACLE_SID=cieho&lt;BR /&gt;export PATH=$PATH:/usr/local/bin:$ORACLE_HOME/bin&lt;BR /&gt;&lt;BR /&gt;su - $ORACLE -c "rman  catalog=rman/rman  target=sys/redhat @incr.sql"&lt;BR /&gt;it fails ++ su - oracle -c 'rman  catalog=rman/rman  target=sys/redhat @incr.sql'&lt;BR /&gt;&lt;BR /&gt;it fails with following error&lt;BR /&gt;-bash: rman: command not found&lt;BR /&gt;&lt;BR /&gt;pls any input to resolve this issue&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;(Shabir)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 30 Mar 2010 13:44:00 GMT</pubDate>
    <dc:creator>shabir_1</dc:creator>
    <dc:date>2010-03-30T13:44:00Z</dc:date>
    <item>
      <title>rma script fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609701#M376558</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ORACLE=oracle&lt;BR /&gt;export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1&lt;BR /&gt;export ORACLE_SID=cieho&lt;BR /&gt;export PATH=$PATH:/usr/local/bin:$ORACLE_HOME/bin&lt;BR /&gt;&lt;BR /&gt;su - $ORACLE -c "rman  catalog=rman/rman  target=sys/redhat @incr.sql"&lt;BR /&gt;it fails ++ su - oracle -c 'rman  catalog=rman/rman  target=sys/redhat @incr.sql'&lt;BR /&gt;&lt;BR /&gt;it fails with following error&lt;BR /&gt;-bash: rman: command not found&lt;BR /&gt;&lt;BR /&gt;pls any input to resolve this issue&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;(Shabir)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Mar 2010 13:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609701#M376558</guid>
      <dc:creator>shabir_1</dc:creator>
      <dc:date>2010-03-30T13:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: rma script fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609702#M376559</link>
      <description>It's probably not carrying your path over when you do the 'su'.&lt;BR /&gt;&lt;BR /&gt;Specify the full path to the 'rman' executable.&lt;BR /&gt;&lt;BR /&gt;su - $ORACLE -c "/u01/app/oracle/product/10.2.0/db_1/bin/rman catalog=rman/rman target=sys/redhat @incr.sql"</description>
      <pubDate>Tue, 30 Mar 2010 13:54:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609702#M376559</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-03-30T13:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: rma script fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609703#M376560</link>
      <description>Since you are doing "su -", your $PATH setting isn't copied over, as Patrick said.&lt;BR /&gt;&lt;BR /&gt;You could add $PATH to the oracle user or add it on that command:&lt;BR /&gt;su - $ORACLE -c "export PATH=$PATH; rman catalog=rman/rman target=sys/redhat @incr.sql"&lt;BR /&gt;&lt;BR /&gt;Your other variables aren't copied either, do you need them?</description>
      <pubDate>Tue, 30 Mar 2010 14:02:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609703#M376560</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-30T14:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: rma script fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609704#M376561</link>
      <description>Hi Patrik,&lt;BR /&gt;&lt;BR /&gt;Thanks lot for your inputs&lt;BR /&gt;&lt;BR /&gt;We try but it fails againg &lt;BR /&gt; &lt;BR /&gt;++ su - oracle -c '/u01/app/oracle/product/10.2.0/db_1/bin/rman  catalog=rman/rman  target=sys/Janet12 @incr.sql'&lt;BR /&gt;&lt;BR /&gt;Message file RMAN&lt;LANG&gt;.msb not found&lt;BR /&gt;&lt;BR /&gt;Verify that ORACLE_HOME is set properly&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;(Shabir)&lt;/LANG&gt;</description>
      <pubDate>Tue, 30 Mar 2010 14:03:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609704#M376561</guid>
      <dc:creator>shabir_1</dc:creator>
      <dc:date>2010-03-30T14:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: rma script fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609705#M376562</link>
      <description>&amp;gt;Verify that ORACLE_HOME is set properly&lt;BR /&gt;&lt;BR /&gt;That's what I cautioned you about:&lt;BR /&gt;su - $ORACLE -c "export PATH=$PATH  ORACLE_HOME=$ORACLE_HOME ORACLE_SID=$ORACLE_SID; rman catalog=rman/rman target=sys/redhat @incr.sql"</description>
      <pubDate>Tue, 30 Mar 2010 14:35:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609705#M376562</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-30T14:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: rma script fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609706#M376563</link>
      <description>Hi,&lt;BR /&gt;Thanks lot it works&lt;BR /&gt;&lt;BR /&gt;Shabir</description>
      <pubDate>Tue, 30 Mar 2010 14:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609706#M376563</guid>
      <dc:creator>shabir_1</dc:creator>
      <dc:date>2010-03-30T14:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: rma script fails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609707#M376564</link>
      <description>&amp;gt;Thanks lot it works&lt;BR /&gt;&lt;BR /&gt;If you are happy with the answers you got, please the following about how to assign points:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Tue, 30 Mar 2010 15:07:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rma-script-fails/m-p/4609707#M376564</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-30T15:07:04Z</dc:date>
    </item>
  </channel>
</rss>

