<?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: Re : startup and shutdown script for oracle in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745922#M834733</link>
    <description>Hi Vincent,&lt;BR /&gt;&lt;BR /&gt;Maybe this link can help,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/startup.pdf" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/startup.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
    <pubDate>Mon, 17 Jun 2002 12:16:00 GMT</pubDate>
    <dc:creator>Sanjay_6</dc:creator>
    <dc:date>2002-06-17T12:16:00Z</dc:date>
    <item>
      <title>Re : startup and shutdown script for oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745920#M834731</link>
      <description>Hi,&lt;BR /&gt;   Can someone teach me how to write a startup and shutdown script for oracle. And where can I place the startup and shutdown script so that it can do a auto startup and shutdown.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Vincent</description>
      <pubDate>Mon, 17 Jun 2002 10:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745920#M834731</guid>
      <dc:creator>Vincent_5</dc:creator>
      <dc:date>2002-06-17T10:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re : startup and shutdown script for oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745921#M834732</link>
      <description>Vincent,&lt;BR /&gt;&lt;BR /&gt;Try this post (found by searching on "startup script" +Oracle)&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xeaf869b1e860d511abcd0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xeaf869b1e860d511abcd0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I think that should help you.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 17 Jun 2002 10:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745921#M834732</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-17T10:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re : startup and shutdown script for oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745922#M834733</link>
      <description>Hi Vincent,&lt;BR /&gt;&lt;BR /&gt;Maybe this link can help,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/startup.pdf" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/startup.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jun 2002 12:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745922#M834733</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-06-17T12:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re : startup and shutdown script for oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745923#M834734</link>
      <description>Did you get your answer from those links?</description>
      <pubDate>Mon, 17 Jun 2002 18:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745923#M834734</guid>
      <dc:creator>Jeanine Kone</dc:creator>
      <dc:date>2002-06-17T18:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re : startup and shutdown script for oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745924#M834735</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You have to use the supplied dbstart and dbshut scripts &lt;BR /&gt;located in $ORACLE_HOME/bin.&lt;BR /&gt;&lt;BR /&gt;Reference these scripts from a rc script placed under /sbin/init.d/&lt;BR /&gt;&lt;BR /&gt;rc-script dbora:&lt;BR /&gt;&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;# Start/stop of Oracle database&lt;BR /&gt;#&lt;BR /&gt;ORA_HOME=/oracle/product/8.0.6&lt;BR /&gt;ORA_OWNER=oracle&lt;BR /&gt;if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]&lt;BR /&gt;then&lt;BR /&gt;echo "Oracle startup: cannot start"&lt;BR /&gt;exit&lt;BR /&gt;fi&lt;BR /&gt;case "$1" in&lt;BR /&gt;start_msg)&lt;BR /&gt;        echo "Start ORACLE server"&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;stop_msg)&lt;BR /&gt;        echo "Stop ORACLE server"&lt;BR /&gt;        ;;&lt;BR /&gt;    'start')&lt;BR /&gt;# Start the oracle databases&lt;BR /&gt;        /usr/bin/su - $ORA_OWNER -c $ORA_HOME/bin/dbstart &lt;BR /&gt;        ;;&lt;BR /&gt;    'stop')&lt;BR /&gt;# Stop the oracle databases&lt;BR /&gt;        /usr/bin/su - $ORA_OWNER -c $ORA_HOME/bin/dbshut&lt;BR /&gt;        ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then make a link to this script and place in /sbin/rc2.d and rc0.d :&lt;BR /&gt;ln -s /sbin/init.d/dbora /sbin/rc2.d/S990dbora&lt;BR /&gt;ln -s /sbin/init.d/dbora /sbin/rc0.d/K10dbora&lt;BR /&gt;&lt;BR /&gt;Then ensure that your oratab file is inplace in /etc/oratab, and enter a Y in the last column of those databases supposed to start.&lt;BR /&gt;BICO_XXU:/oracle/product/8.1.7:Y&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Tue, 18 Jun 2002 07:48:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745924#M834735</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2002-06-18T07:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re : startup and shutdown script for oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745925#M834736</link>
      <description>Vincent,&lt;BR /&gt;&lt;BR /&gt;This comes from our system. We do it every night, so we can do extraa backups as required.  It works very well. &lt;BR /&gt;&lt;BR /&gt;I also included the dump command that will create an oracle dump file... just in case.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;&lt;BR /&gt;Jerry Jaynes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/dbase/oracle/data_srv/intralink/bin/dserv_shutdown # To shutdown Oracle Data Server&lt;BR /&gt;&lt;BR /&gt;/dbase/oracle/data_srv/intralink/bin/dserv_startup # To startup Oracle Data Server&lt;BR /&gt;&lt;BR /&gt;/dbase/oracle/data_srv/intralink/export/cron_dump # Database Dump file creation utility. &lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jun 2002 10:57:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745925#M834736</guid>
      <dc:creator>Jerry Jaynes</dc:creator>
      <dc:date>2002-06-18T10:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re : startup and shutdown script for oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745926#M834737</link>
      <description>Vincent, &lt;BR /&gt;&lt;BR /&gt;These are the actual scripts, The note above was for the correct locations. Check your permissions and see that they are as follows:&lt;BR /&gt;&lt;BR /&gt;-rwxr-xr-x   1 oracle     dba   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/dbase/oracle/data_srv/intralink/bin/dserv_shutdown&lt;BR /&gt;&lt;BR /&gt;#!/bin/csh -f&lt;BR /&gt;&lt;BR /&gt;# /usr/ucb is not on the path while processing rc files (whoami is&lt;BR /&gt;# in /usr/ucb on sun4_solaris.&lt;BR /&gt;setenv ORACLE_HOME /dbase/oracle/data_srv/oracle&lt;BR /&gt;set path=( $path /usr/ucb )&lt;BR /&gt;&lt;BR /&gt;if ( `whoami` == "root" ) then&lt;BR /&gt;    su - oracle -c "$ORACLE_HOME/bin/dbshut_ilink &amp;gt;&amp;amp; $ORACLE_HOME/rdbms/log/dbstop.log"&lt;BR /&gt;else&lt;BR /&gt;    $ORACLE_HOME/bin/dbshut_ilink &amp;gt;&amp;amp; $ORACLE_HOME/rdbms/log/dbstop.log &lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;/dbase/oracle/data_srv/intralink/bin/dserv_startup&lt;BR /&gt;#!/bin/csh -f&lt;BR /&gt;&lt;BR /&gt;# /usr/ucb is not on the path while processing rc files (whoami is&lt;BR /&gt;# in /usr/ucb on sun4_solaris.&lt;BR /&gt;setenv ORACLE_HOME /dbase/oracle/data_srv/oracle&lt;BR /&gt;set path=( $path /usr/ucb )&lt;BR /&gt;&lt;BR /&gt;if ( `whoami` == "root" ) then&lt;BR /&gt;    su - oracle -c "$ORACLE_HOME/bin/dbshut_ilink &amp;gt;&amp;amp; $ORACLE_HOME/rdbms/log/dbstop.log"&lt;BR /&gt;else&lt;BR /&gt;    $ORACLE_HOME/bin/dbshut_ilink &amp;gt;&amp;amp; $ORACLE_HOME/rdbms/log/dbstop.log &lt;BR /&gt;endif&lt;BR /&gt;everest 23: cat /dbase/oracle/data_srv/intralink/bin/dserv_startup &lt;BR /&gt;#!/bin/csh -f&lt;BR /&gt;&lt;BR /&gt;# THIS SCRIPT SHOULD ONLY BE RUN BY SYSTEM STARTUP&lt;BR /&gt;&lt;BR /&gt;# /usr/ucb is not on the path while processing rc files (whoami is&lt;BR /&gt;# in /usr/ucb on sun4_solaris.&lt;BR /&gt;setenv ORACLE_HOME /dbase/oracle/data_srv/oracle&lt;BR /&gt;set path=( $path /usr/ucb )&lt;BR /&gt;&lt;BR /&gt;if ( `whoami` == "root" ) then&lt;BR /&gt;    su - oracle -c "$ORACLE_HOME/bin/dbstart_ilink &amp;gt;&amp;amp; $ORACLE_HOME/rdbms/log/dbstart.log"&lt;BR /&gt;else&lt;BR /&gt;    $ORACLE_HOME/bin/dbstart_ilink &amp;gt;&amp;amp; $ORACLE_HOME/rdbms/log/dbstart.log &lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;/dbase/oracle/data_srv/intralink/export/cron_dump&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/csh&lt;BR /&gt;set host = `hostname`&lt;BR /&gt;rm -f /storage/oracle_dumpfiles/$host.ilink.dmp.zip&lt;BR /&gt;/dbase/oracle/data_srv/intralink/export/ilink_export manager $host.ilink.dmp&lt;BR /&gt;/usr/bin/zip /storage/oracle_dumpfiles/$host.ilink.dmp.zip $host.ilink.dmp*&lt;BR /&gt;rm -f /dbase/oracle/data_srv/intralink/export/$host.ilink.dmp&lt;BR /&gt;rm -f /dbase/oracle/data_srv/intralink/export/$host.ilink.dmp.lst&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jun 2002 11:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745926#M834737</guid>
      <dc:creator>Jerry Jaynes</dc:creator>
      <dc:date>2002-06-18T11:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re : startup and shutdown script for oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745927#M834738</link>
      <description>Vincent,&lt;BR /&gt;&lt;BR /&gt;Andreas&lt;BR /&gt;&lt;BR /&gt;Has the correct information. you put the script in the /sbin/init.d directory. Then link it with the correct rc directory.&lt;BR /&gt;Mine is /sbin/rc2.d.&lt;BR /&gt;&lt;BR /&gt;You probably want to do the same for the listener.  I have also edited oracles dbshut script, adding immediate after the shutdown command.&lt;BR /&gt;&lt;BR /&gt; I am attaching /sbin/init.d/listener</description>
      <pubDate>Tue, 18 Jun 2002 14:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745927#M834738</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2002-06-18T14:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re : startup and shutdown script for oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745928#M834739</link>
      <description>Hi,&lt;BR /&gt;    Thanks for all the info, I will try out, appologised for the late reply !!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Vincent</description>
      <pubDate>Tue, 25 Jun 2002 06:35:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-startup-and-shutdown-script-for-oracle/m-p/2745928#M834739</guid>
      <dc:creator>Vincent_5</dc:creator>
      <dc:date>2002-06-25T06:35:36Z</dc:date>
    </item>
  </channel>
</rss>

