<?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: Help with Oracle 9i startup/shutdown script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698639#M790451</link>
    <description>Hi Cara,&lt;BR /&gt;&lt;BR /&gt;Check your path and all the environment variables are defined and exported. Usually if you can run manually but not through cron it goes back to environment initialisation. &lt;BR /&gt;Cron does not run profile therefore it's up to you to initialise the variables in the script.&lt;BR /&gt;&lt;BR /&gt;TO shutdown the database before the cold backup you can invoke the $ORACLE_HOME/bin/dbshut and to start the database fater the backup invoke $ORACLE_HOME/bin/dbstart.&lt;BR /&gt;&lt;BR /&gt;IA&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 27 Dec 2005 21:58:37 GMT</pubDate>
    <dc:creator>Indira Aramandla</dc:creator>
    <dc:date>2005-12-27T21:58:37Z</dc:date>
    <item>
      <title>Help with Oracle 9i startup/shutdown script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698638#M790450</link>
      <description>I want to automate my HP Data Protector 5.5 Oracle cold backups with pre-exec and post-exec scripts for startup and shutdown.&lt;BR /&gt;&lt;BR /&gt;While the commands to startup/shutdown Oracle 9i work from the command line/shell, when the commands are put in a Korn shell script, the script prompts for a password.&lt;BR /&gt;&lt;BR /&gt;Does anyone have Oracle 9i startup/shutdown script advice/examples that I could view?&lt;BR /&gt;&lt;BR /&gt;Please help!&lt;BR /&gt;&lt;BR /&gt;Regards, Cara</description>
      <pubDate>Tue, 27 Dec 2005 16:05:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698638#M790450</guid>
      <dc:creator>Cara Tock</dc:creator>
      <dc:date>2005-12-27T16:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Oracle 9i startup/shutdown script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698639#M790451</link>
      <description>Hi Cara,&lt;BR /&gt;&lt;BR /&gt;Check your path and all the environment variables are defined and exported. Usually if you can run manually but not through cron it goes back to environment initialisation. &lt;BR /&gt;Cron does not run profile therefore it's up to you to initialise the variables in the script.&lt;BR /&gt;&lt;BR /&gt;TO shutdown the database before the cold backup you can invoke the $ORACLE_HOME/bin/dbshut and to start the database fater the backup invoke $ORACLE_HOME/bin/dbstart.&lt;BR /&gt;&lt;BR /&gt;IA&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Dec 2005 21:58:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698639#M790451</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-12-27T21:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Oracle 9i startup/shutdown script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698640#M790452</link>
      <description>hi cara,&lt;BR /&gt;&lt;BR /&gt;for more guidance on the scripts and environment settings that you might require, please see also:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=983721" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=983721&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 27 Dec 2005 23:38:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698640#M790452</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-12-27T23:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Oracle 9i startup/shutdown script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698641#M790453</link>
      <description>Cara,&lt;BR /&gt;please ensure your environment is the same from the command line and within the script.&lt;BR /&gt;Also, are you running the script as oracle or root? If you run it as root, please make sure you use "su - oracle". The minus sign ensures your login goes through the same scripts as if you had logged in directly.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Dec 2005 02:48:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698641#M790453</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-12-28T02:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Oracle 9i startup/shutdown script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698642#M790454</link>
      <description>Hi Clara,&lt;BR /&gt;if you want to start/stop all the databases you have at the startup/shutdown of the server you have to use:&lt;BR /&gt;$ORACLE_HOME/bin/dbstart&lt;BR /&gt;$ORACLE_HOME/bin/dbshut&lt;BR /&gt;in etc/rc* files.&lt;BR /&gt;&lt;BR /&gt;Instead if you want to start/stop a single database in a script for your use, let me know and I adapt the standard oracle script for you.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art</description>
      <pubDate>Wed, 28 Dec 2005 03:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698642#M790454</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2005-12-28T03:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Oracle 9i startup/shutdown script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698643#M790455</link>
      <description>Hi Clara;&lt;BR /&gt;&lt;BR /&gt;BACKUP OFFLINE: (with user oracle)&lt;BR /&gt;&lt;BR /&gt;SHUTDOWN:&lt;BR /&gt;&lt;BR /&gt;. /home/oracle/conf/profile_$instance&lt;BR /&gt;sqlplus /nolog &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect / as sysdba&lt;BR /&gt;shutdown immediate&lt;BR /&gt;exit;&lt;BR /&gt;EOF&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;STARTUP:&lt;BR /&gt;. /home/oracle/conf/profile_$instance&lt;BR /&gt;sqlplus /nolog &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect / as sysdba&lt;BR /&gt;startup pfile= &lt;BR /&gt;/oracle1/$instance/init$instance.ora&lt;BR /&gt;exit;&lt;BR /&gt;EOF&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;BACKUP ONLINE:&lt;BR /&gt;&lt;BR /&gt;Put all tablespaces in mode "begin backup":&lt;BR /&gt;&lt;BR /&gt;alter tablespace $NAME_TABLESPACE begin backup;&lt;BR /&gt;&lt;BR /&gt;When you ended your backup:&lt;BR /&gt;&lt;BR /&gt;alter tablespace $NAME_TABLESPACE end backup;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Dec 2005 05:02:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698643#M790455</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2005-12-28T05:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Oracle 9i startup/shutdown script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698644#M790456</link>
      <description>Hi Cara,&lt;BR /&gt;&lt;BR /&gt;Oracle provide a role 'sysoper' for startup/shutdown instances purpose.&lt;BR /&gt;You can create a user and grant sysoper to this user. Then you can put the username/password in the scripts. The role do not has other system privilege and don't need to worry if you hard-code the password in your script.&lt;BR /&gt;&lt;BR /&gt;If the server has many users and only you (Oracle DBA) can connect by using "connect / as sysdba" instead of "connect username/password as sysdba", you can protect the scripts on OS level. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The following is a sample. 'startup_dev2.sh'&lt;BR /&gt;&lt;BR /&gt;. /home/oracle/chg817.sh&lt;BR /&gt; &lt;BR /&gt;LOGDIR=/u01/app/oracle/admin/dbascript/log&lt;BR /&gt;ORACLE_SID=dev2&lt;BR /&gt;LOGS=$LOGDIR/startup_"$ORACLE_SID".log&lt;BR /&gt;&lt;BR /&gt;export LOGDIR ORACLE_SID LOGS&lt;BR /&gt;&lt;BR /&gt;date &amp;gt;&amp;gt; $LOGS&lt;BR /&gt;&lt;BR /&gt;echo "Starting up dev2 ..."&lt;BR /&gt;sqlplus /nolog &amp;gt;&amp;gt; $LOGS &amp;lt;&amp;lt; EOF&lt;BR /&gt; whenever sqlerror exit 1&lt;BR /&gt;    connect dboper/dev2_dboper AS SYSOPER;&lt;BR /&gt;    show user;&lt;BR /&gt;    startup;&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;export ERROR_FLAG=$?&lt;BR /&gt;if [ $ERROR_FLAG != "0" ]&lt;BR /&gt;then&lt;BR /&gt;    echo "The dev2 can not be started up !"&lt;BR /&gt;    echo "The dev2 can not be started up !" &amp;gt;&amp;gt; $LOGS&lt;BR /&gt;else&lt;BR /&gt;    echo "The dev2 has been started up !"&lt;BR /&gt;    echo "The dev2 has been started up !" &amp;gt;&amp;gt; $LOGS&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;date &amp;gt;&amp;gt; $LOGS&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Dec 2005 09:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698644#M790456</guid>
      <dc:creator>Xiaogang Zheng</dc:creator>
      <dc:date>2005-12-28T09:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Oracle 9i startup/shutdown script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698645#M790457</link>
      <description>Art - Yes, I am interested in starting/stopping a single instance of Oracle 9i. If you could provide me with an example, I would be very grateful.  Please note:  If possible, myself &amp;amp; the DBA do not want a plain text password as part of the script.  Please let me know if this is possible.  You could post the info or email me at cara.tock@bcw.edu.&lt;BR /&gt;&lt;BR /&gt;Thank you to all who posted.  I will review with the DBA &amp;amp; then respond more &amp;amp; assign points.&lt;BR /&gt;&lt;BR /&gt;Regards, Cara&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Dec 2005 09:53:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698645#M790457</guid>
      <dc:creator>Cara Tock</dc:creator>
      <dc:date>2005-12-28T09:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Oracle 9i startup/shutdown script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698646#M790458</link>
      <description>Hi Cara,&lt;BR /&gt;&lt;BR /&gt;1. You don't want to have the prompt for a password when you run shell scripts.&lt;BR /&gt;2. Shutdown/start instance need to connect first.&lt;BR /&gt;3. Connect to database need a username/password.&lt;BR /&gt;4. shell script is a plain text file. &lt;BR /&gt;&lt;BR /&gt;So, if you don't want to put password on scrips, and don't want to see the prompt, the only one way is to put 'connect / as sysdba' in your scripts. But the OS users (they may be operators/sysadmin/dba) who need to run the scripts must belong to OracleDBA group. This setting has more potential problems if the os user login to system he/she can connect to database directly as sysdba without protection. I don't think your DBA would like it. &lt;BR /&gt;&lt;BR /&gt;However, the user who connected AS SYSOPER can only Perform STARTUP and SHUTDOWN, it will not hurt the database. I believe you have method to protect the scripts.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Xiaogang</description>
      <pubDate>Thu, 29 Dec 2005 11:38:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698646#M790458</guid>
      <dc:creator>Xiaogang Zheng</dc:creator>
      <dc:date>2005-12-29T11:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Oracle 9i startup/shutdown script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698647#M790459</link>
      <description>This script is used to start ORACLE from /etc/rc(.local). &lt;BR /&gt;It should ONLY be executed as part of the system boot procedure.&lt;BR /&gt;&lt;BR /&gt;-------------#### Script Begins&lt;BR /&gt;&lt;BR /&gt;$Header: dbstart.sh.pp 09-dec-99.09:51:46 mdenney Exp $ dbstart.sh.pp Copyr (c) 1991 Oracle&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;###################################&lt;BR /&gt;# &lt;BR /&gt;# usage: dbstart&lt;BR /&gt;#&lt;BR /&gt;# This script is used to start ORACLE from /etc/rc(.local).&lt;BR /&gt;# It should ONLY be executed as part of the system boot procedure.&lt;BR /&gt;#&lt;BR /&gt;#####################################&lt;BR /&gt;&lt;BR /&gt;ORATAB=/etc/oratab&lt;BR /&gt;&lt;BR /&gt;trap 'exit' 1 2 3&lt;BR /&gt;case $ORACLE_TRACE in&lt;BR /&gt;    T) set -x ;;&lt;BR /&gt;esac&lt;BR /&gt;    &lt;BR /&gt;# Set path if path not set (if called from /etc/rc)&lt;BR /&gt;case $PATH in&lt;BR /&gt;    "") PATH=/bin:/usr/bin:/etc&lt;BR /&gt; export PATH ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Loop for every entry in oratab file and and try to start&lt;BR /&gt;# that ORACLE&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;cat $ORATAB | while read LINE&lt;BR /&gt;do&lt;BR /&gt;    case $LINE in&lt;BR /&gt; \#*)  ;; #comment-line in oratab&lt;BR /&gt; *)&lt;BR /&gt;#       Proceed only if third field is 'Y'.&lt;BR /&gt;        if [ "`echo $LINE | awk -F: '{print $3}' -`" = "Y" ] ; then&lt;BR /&gt;            ORACLE_SID=`echo $LINE | awk -F: '{print $1}' -`&lt;BR /&gt;     if [ "$ORACLE_SID" = '*' ] ; then&lt;BR /&gt;  ORACLE_SID=""&lt;BR /&gt;     fi&lt;BR /&gt;#           Called programs use same database ID&lt;BR /&gt;            export ORACLE_SID&lt;BR /&gt;            ORACLE_HOME=`echo $LINE | awk -F: '{print $2}' -`&lt;BR /&gt;#           Called scripts use same home directory&lt;BR /&gt;            export ORACLE_HOME&lt;BR /&gt;#           Put $ORACLE_HOME/bin into PATH and export.&lt;BR /&gt;            PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/etc ; export PATH&lt;BR /&gt;#           add for bug # 652997&lt;BR /&gt;            LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ORACLE_HOME}/lib ; export LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;            PFILE=${ORACLE_HOME}/dbs/init${ORACLE_SID}.ora&lt;BR /&gt;&lt;BR /&gt;# Figure out if this is a V5, V6, or V7 database. Do we really need V5?&lt;BR /&gt;     if [ -f $ORACLE_HOME/bin/sqldba ] ; then&lt;BR /&gt;  VERSION=`$ORACLE_HOME/bin/sqldba command=exit | awk '&lt;BR /&gt;                 /SQL\*DBA: (Release|Version)/ {split($3, V, ".") ;&lt;BR /&gt;   print V[1]}'`&lt;BR /&gt;     else&lt;BR /&gt;  if test -f $ORACLE_HOME/bin/svrmgrl; then&lt;BR /&gt;      VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | awk '&lt;BR /&gt;   /Edition Release/ {substr($5,1,3) ;&lt;BR /&gt;   print substr($5,1,3)}'`&lt;BR /&gt;      else&lt;BR /&gt;   VERSION="8.2"&lt;BR /&gt;      fi&lt;BR /&gt;     fi&lt;BR /&gt;&lt;BR /&gt;     STATUS=1&lt;BR /&gt;     if [ "$VERSION" = "8.1" ] &lt;BR /&gt;  then&lt;BR /&gt;  pmon=`ps -ef | egrep pmon_$ORACLE_SID  | grep -v grep`&lt;BR /&gt;  if [ "$pmon" != "" ]; &lt;BR /&gt;  then&lt;BR /&gt;    STATUS="-1"&lt;BR /&gt;    echo "Database \"${ORACLE_SID}\" already started."&lt;BR /&gt;  fi&lt;BR /&gt;     else &lt;BR /&gt;  if test -f $ORACLE_HOME/dbs/sgadef${ORACLE_SID}.dbf -o \&lt;BR /&gt;       -f $ORACLE_HOME/dbs/sgadef${ORACLE_SID}.ora&lt;BR /&gt;       then&lt;BR /&gt;        STATUS="-1"&lt;BR /&gt;       else&lt;BR /&gt;    STATUS=1&lt;BR /&gt;       fi&lt;BR /&gt;     fi&lt;BR /&gt;&lt;BR /&gt;     case $STATUS in&lt;BR /&gt;                1)  if [ -f $PFILE ] ; then&lt;BR /&gt;   case $VERSION in&lt;BR /&gt;       6)  sqldba command=startup&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;       7)  sqldba &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;    ;;&lt;BR /&gt;&lt;BR /&gt;      7.3) svrmgrl &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;    ;;&lt;BR /&gt;      8.0) svrmgrl &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;    ;;&lt;BR /&gt;      8.1) sqlplus /nolog &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;    ;;&lt;BR /&gt;   esac&lt;BR /&gt;&lt;BR /&gt;                        if test $? -eq 0 ; then&lt;BR /&gt;       echo ""&lt;BR /&gt;              echo "Database \"${ORACLE_SID}\" warm started."&lt;BR /&gt;   else&lt;BR /&gt;       echo ""&lt;BR /&gt;                            echo "Database \"${ORACLE_SID}\" NOT started."&lt;BR /&gt;          fi&lt;BR /&gt;                    else&lt;BR /&gt;   echo ""&lt;BR /&gt;                        echo "Can't find init file for Database \"${ORACLE_SID}\"."&lt;BR /&gt;                        echo "Database \"${ORACLE_SID}\" NOT started."&lt;BR /&gt;      fi&lt;BR /&gt;                    ;;&lt;BR /&gt;&lt;BR /&gt;  -1) echo ""&lt;BR /&gt;      echo "Database \"${ORACLE_SID}\" possibly left running when system went down (system crash?)."&lt;BR /&gt;                    echo "Notify Database Administrator."&lt;BR /&gt;      case $VERSION in&lt;BR /&gt;   6)  sqldba "command=shutdown abort"&lt;BR /&gt;       ;;&lt;BR /&gt;&lt;BR /&gt;   7)  sqldba &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;shutdown abort&lt;BR /&gt;EOF&lt;BR /&gt;       ;;&lt;BR /&gt;&lt;BR /&gt;        7.3)  svrmgrl &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;shutdown abort&lt;BR /&gt;EOF&lt;BR /&gt;       ;;&lt;BR /&gt;        8.0) svrmgrl &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;shutdown abort&lt;BR /&gt;EOF&lt;BR /&gt;       ;;&lt;BR /&gt;        8.1) sqlplus /nolog &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;shutdown abort&lt;BR /&gt;EOF&lt;BR /&gt;       ;;&lt;BR /&gt;&lt;BR /&gt;      esac&lt;BR /&gt;&lt;BR /&gt;                    if test $? -eq 0 ; then&lt;BR /&gt;   if [ -f $PFILE ] ; then&lt;BR /&gt;       case $VERSION in&lt;BR /&gt;    6)  sqldba command=startup&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;    7)  sqldba &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;        ;;&lt;BR /&gt;         7.3)  svrmgrl &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;        ;;&lt;BR /&gt;         8.0) svrmgrl &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;        ;;&lt;BR /&gt;         8.1) sqlplus /nolog &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;connect internal&lt;BR /&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;       esac&lt;BR /&gt;                            if test $? -eq 0 ; then&lt;BR /&gt;    echo ""&lt;BR /&gt;    echo "Database \"${ORACLE_SID}\" warm started."&lt;BR /&gt;       else&lt;BR /&gt;    echo ""&lt;BR /&gt;    echo "Database \"${ORACLE_SID}\" NOT started."&lt;BR /&gt;       fi&lt;BR /&gt;   else&lt;BR /&gt;       echo ""&lt;BR /&gt;       echo "Can't find init file for Database \"${ORACLE_SID}\"."&lt;BR /&gt;       echo "Database \"${ORACLE_SID}\" NOT started."&lt;BR /&gt;   fi&lt;BR /&gt;      else&lt;BR /&gt;   echo "Database \"${ORACLE_SID}\" NOT started."&lt;BR /&gt;      fi&lt;BR /&gt;      ;;&lt;BR /&gt;            esac&lt;BR /&gt;        fi&lt;BR /&gt; ;;&lt;BR /&gt;    esac&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;---------------------------## Script Ends&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Simon</description>
      <pubDate>Fri, 13 Jan 2006 06:12:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-oracle-9i-startup-shutdown-script/m-p/3698647#M790459</guid>
      <dc:creator>Simon Wickham_6</dc:creator>
      <dc:date>2006-01-13T06:12:54Z</dc:date>
    </item>
  </channel>
</rss>

