<?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: baan+oracle shutdown script help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862580#M839280</link>
    <description>I am also user of baan IVc4 with oracle 9 and hpux 11i, and i use the scripts attached to make a dayly backup stoping baan and oracle.</description>
    <pubDate>Tue, 28 Sep 2004 05:53:33 GMT</pubDate>
    <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
    <dc:date>2004-09-28T05:53:33Z</dc:date>
    <item>
      <title>baan+oracle shutdown script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862574#M839274</link>
      <description>Hello Forum,&lt;BR /&gt;i have Baan Erp package with oracle 9.2.0&lt;BR /&gt;on hp-ux 11i...Every Friday night i close&lt;BR /&gt;Baan erp application and then oracle db&lt;BR /&gt;below the steps;&lt;BR /&gt;1- cd baan/bse/etc&lt;BR /&gt;2- ./rc.stop&lt;BR /&gt;close Baan application&lt;BR /&gt;3-su - oracle&lt;BR /&gt;4-sqlplus /nolog &lt;BR /&gt;5-connect / as sysdba &lt;BR /&gt;6-shutdown immediate &lt;BR /&gt;7-exit&lt;BR /&gt;8-exit &lt;BR /&gt;9-lsnrctl &lt;BR /&gt;10-stop&lt;BR /&gt;11-exit&lt;BR /&gt;&lt;BR /&gt;As you seen after 11 steps i go on for offline bck...Now i want to this from a script&lt;BR /&gt;and also want to write a start script after bck...but HOW?&lt;BR /&gt;Thank's so much for your kind concern&amp;amp;support&lt;BR /&gt;Best Regards,&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2004 07:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862574#M839274</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2004-09-27T07:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: baan+oracle shutdown script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862575#M839275</link>
      <description>I don't know about the Baan apps, but I do know that with 9.2 you can shutdown Oracle via script like this:&lt;BR /&gt;&lt;BR /&gt; su - oracle -c "$ORACLE_HOME/bin/dbshut"; echo $?&lt;BR /&gt;   wait&lt;BR /&gt;   su - oracle -c "$ORACLE_HOME/bin/agentctl stop"; echo $?&lt;BR /&gt;   wait&lt;BR /&gt;   su - oracle -c "$ORACLE_HOME/bin/lsnrctl stop"; echo $?&lt;BR /&gt;   wait&lt;BR /&gt;   su - oracle -c "$ORACLE_HOME/bin/oemctl stop oms &amp;amp;"; echo $?&lt;BR /&gt;   wait&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you are not running the oemctl process, you can skip that part.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Mon, 27 Sep 2004 08:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862575#M839275</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2004-09-27T08:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: baan+oracle shutdown script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862576#M839276</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could try a script like this, I'm not sure what the name of your baan startup script is but I just put in rc.start -&lt;BR /&gt;&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;#&lt;BR /&gt;# change the value of ORACLE_HOME to be correct&lt;BR /&gt;# for your installation&lt;BR /&gt;#&lt;BR /&gt;ORACLE_HOME=/u01/app/oracle/product/9.2&lt;BR /&gt;PATH=${PATH}:$ORACLE_HOME/bin&lt;BR /&gt;#&lt;BR /&gt;# change the value of ORACLE to the login name of&lt;BR /&gt;# the oracle owner at your site&lt;BR /&gt;ORACLE_USER=oracle&lt;BR /&gt;export ORACLE_HOME PATH&lt;BR /&gt;#&lt;BR /&gt;LOG=$ORACLE_HOME/startup.log&lt;BR /&gt;touch $LOG&lt;BR /&gt;chmod a+r $LOG&lt;BR /&gt;#&lt;BR /&gt;case $1 in&lt;BR /&gt;'start')&lt;BR /&gt;     echo "$0: starting up" &amp;gt;&amp;gt; $LOG&lt;BR /&gt;     date &amp;gt;&amp;gt; $LOG&lt;BR /&gt;&lt;BR /&gt;     # Start SQL*NET V2&lt;BR /&gt;     echo "starting V2 listener"&lt;BR /&gt;     su - $ORACLE_USER -c "/usr/local/bin/listener_start" &amp;gt;&amp;gt; $LOG 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;     # Start Agent&lt;BR /&gt;     echo "starting agent"&lt;BR /&gt;     /baan/bse/etc/rc.start &amp;gt;&amp;gt;$LOG 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;     # Start the database(s)&lt;BR /&gt;     echo "starting Oracle databases"&lt;BR /&gt;     su - $ORACLE_USER -c "/usr/local/bin/dbstart" &amp;gt;&amp;gt; $LOG 2&amp;gt;&amp;amp;1&lt;BR /&gt;     ;;&lt;BR /&gt;'stop')&lt;BR /&gt;     echo "$0: shutting down" &amp;gt;&amp;gt; $LOG&lt;BR /&gt;     date &amp;gt;&amp;gt; $LOG&lt;BR /&gt;&lt;BR /&gt;     # Stop Agent&lt;BR /&gt;     echo "stopping Baan"&lt;BR /&gt;     /baan/bse/etc/rc.stop &amp;gt;&amp;gt; $LOG 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;     # Stop SQL*NET V2&lt;BR /&gt;     echo "stopping V2 listener"&lt;BR /&gt;     su - $ORACLE_USER -c "/usr/local/bin/listener_stop" &amp;gt;&amp;gt; $LOG 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;     # Stop the database(s)&lt;BR /&gt;     echo "stopping Oracle databases"&lt;BR /&gt;     su - $ORACLE_USER -c "/usr/local/bin/dbshut" &amp;gt;&amp;gt; $LOG 2&amp;gt;&amp;amp;1&lt;BR /&gt;     ;;&lt;BR /&gt;*)&lt;BR /&gt;     echo "usage: $0 {start|stop}"&lt;BR /&gt;     exit&lt;BR /&gt;esac&lt;BR /&gt;#&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Mon, 27 Sep 2004 08:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862576#M839276</guid>
      <dc:creator>Peter Leddy_1</dc:creator>
      <dc:date>2004-09-27T08:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: baan+oracle shutdown script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862577#M839277</link>
      <description>I should have mentioned that you should use the startup scripts that Mark gave, the scripts in my previous reply are customized.&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Mon, 27 Sep 2004 08:38:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862577#M839277</guid>
      <dc:creator>Peter Leddy_1</dc:creator>
      <dc:date>2004-09-27T08:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: baan+oracle shutdown script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862578#M839278</link>
      <description>Thank's Mark &amp;amp; Peter,&lt;BR /&gt;&lt;BR /&gt;According to Mark's answer;&lt;BR /&gt;su - oracle -c "$ORACLE_HOME/bin/dbshut"; echo $?&lt;BR /&gt;does it make DB shutdown normal or immediate&lt;BR /&gt;because i want to use shutdown immediate...&lt;BR /&gt;Best Regards,&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2004 08:52:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862578#M839278</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2004-09-27T08:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: baan+oracle shutdown script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862579#M839279</link>
      <description>The version of the script I just checked uses immediate and I think they are all the same.&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Mon, 27 Sep 2004 09:13:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862579#M839279</guid>
      <dc:creator>Peter Leddy_1</dc:creator>
      <dc:date>2004-09-27T09:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: baan+oracle shutdown script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862580#M839280</link>
      <description>I am also user of baan IVc4 with oracle 9 and hpux 11i, and i use the scripts attached to make a dayly backup stoping baan and oracle.</description>
      <pubDate>Tue, 28 Sep 2004 05:53:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862580#M839280</guid>
      <dc:creator>Ignacio Rodríguez Arrós</dc:creator>
      <dc:date>2004-09-28T05:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: baan+oracle shutdown script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862581#M839281</link>
      <description>i am using Ignacio's script...</description>
      <pubDate>Mon, 16 May 2005 06:17:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/baan-oracle-shutdown-script-help/m-p/4862581#M839281</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-05-16T06:17:47Z</dc:date>
    </item>
  </channel>
</rss>

