<?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 Needs scripts to start oracle 9i in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667872#M915604</link>
    <description>I have successfully install oracle 9i database&lt;BR /&gt;on HP 11i.  Currently, i do not have any script to test this database.  If it is possible would you show me some sample of them?...</description>
    <pubDate>Wed, 20 Feb 2002 05:19:14 GMT</pubDate>
    <dc:creator>Deanna Tran</dc:creator>
    <dc:date>2002-02-20T05:19:14Z</dc:date>
    <item>
      <title>Needs scripts to start oracle 9i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667872#M915604</link>
      <description>I have successfully install oracle 9i database&lt;BR /&gt;on HP 11i.  Currently, i do not have any script to test this database.  If it is possible would you show me some sample of them?...</description>
      <pubDate>Wed, 20 Feb 2002 05:19:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667872#M915604</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-02-20T05:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Needs scripts to start oracle 9i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667873#M915605</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try this one:&lt;BR /&gt;&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;#&lt;BR /&gt;# Args:&lt;BR /&gt;#    start     : start Oracle&lt;BR /&gt;#    stop      : stop  Oracle&lt;BR /&gt;#&lt;BR /&gt;# Return Values:&lt;BR /&gt;#    0 : successfull completion of task&lt;BR /&gt;#    1 : failure to complete task&lt;BR /&gt;&lt;BR /&gt;# NOTE: If your script executes in run state 0 or state 1, then /usr might&lt;BR /&gt;#       not be available.  Do not attempt to access commands or files in&lt;BR /&gt;#       /usr unless your script executes in run state 2 or greater.  Other&lt;BR /&gt;#       file systems typically not mounted until run state 2 include /var&lt;BR /&gt;#       and /opt.&lt;BR /&gt;&lt;BR /&gt;rval=0&lt;BR /&gt;&lt;BR /&gt;# Check the exit value of a command run by this script.  If non-zero, the&lt;BR /&gt;# exit code is echoed to the log file and the return value of this script&lt;BR /&gt;# is set to indicate failure.&lt;BR /&gt;&lt;BR /&gt;set_return() {&lt;BR /&gt;        x=$?&lt;BR /&gt;        if [ $x -ne 0 ]; then&lt;BR /&gt;                echo "EXIT CODE: $x"&lt;BR /&gt;                rval=1  # script FAILed&lt;BR /&gt;        fi&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;case "$1" in&lt;BR /&gt;'start_msg')&lt;BR /&gt;        # Emit a _short_ message relating to running this script with&lt;BR /&gt;        # the "start" argument; this message appears as part of the checklist.&lt;BR /&gt;        echo "Starting Oracle"&lt;BR /&gt;        ;;&lt;BR /&gt;'stop_msg')&lt;BR /&gt;        # Emit a _short_ message relating to running this script with&lt;BR /&gt;        # the "stop" argument; this message appears as part of the checklist.&lt;BR /&gt;        echo "Stopping Oracle"&lt;BR /&gt;        ;;&lt;BR /&gt;'start')&lt;BR /&gt; echo "Start Oracle"&lt;BR /&gt; /usr/bin/su - oracle -c "dbstart"&lt;BR /&gt; /usr/bin/su - oracle -c "lsnrctl start LISTENER"&lt;BR /&gt; set_return&lt;BR /&gt; ;;&lt;BR /&gt;'stop')&lt;BR /&gt; echo "Stop Oracle"&lt;BR /&gt; /usr/bin/su - oracle -c "lsnrctl stop LISTENER"&lt;BR /&gt; /usr/bin/su - oracle -c "dbshut"&lt;BR /&gt; set_return&lt;BR /&gt; ;;&lt;BR /&gt;*)&lt;BR /&gt; echo "usage: $0 {start|stop}"&lt;BR /&gt; rval=1&lt;BR /&gt; ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;exit $rval&lt;BR /&gt;&lt;BR /&gt;If you wish to have it enabled for automatic startup of the system you can use the above script in /sbin/init.d/oracle and then create symbolic links like below:&lt;BR /&gt;&lt;BR /&gt;Start: &lt;BR /&gt;ln -s /sbin/init.d/oracle /sbin/rc3.d/S900oracle &lt;BR /&gt;&lt;BR /&gt;Stop: &lt;BR /&gt;ln -s /sbin/init.d/oracle /sbin/rc2.d/K900oracle&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Feb 2002 05:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667873#M915605</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-02-20T05:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Needs scripts to start oracle 9i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667874#M915606</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;Oracle does NOT create a boot-time auto-start script. edit /etc/oratab and change 'N' to 'Y' for the database you want to autostart. Then create the following file as /sbin/init.d/oracle &lt;BR /&gt;&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;#Match ORACLE_HOME with whatever is in oracle/.profile&lt;BR /&gt;&lt;BR /&gt;case $1 in&lt;BR /&gt;        start)&lt;BR /&gt;                su - oracle -c $ORACLE_HOME/bin/dbstart&lt;BR /&gt;&lt;BR /&gt;                su - oracle -c "$ORACLE_HOME/bin/lsnrctl start"&lt;BR /&gt;&lt;BR /&gt;                exit 0&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;        stop)&lt;BR /&gt;                su - oracle -c "$ORACLE_HOME/bin/lsnrctl stop"&lt;BR /&gt;                su - oracle -c $ORACLE_HOME/bin/dbshut&lt;BR /&gt;        ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; #cd /sbin/init.d &lt;BR /&gt; ln -s ../init.d/oracle /etc/rc2.d/S95oracle&lt;BR /&gt; ln -s ../init.d/oracle /etc/rc2.d/K15oracle&lt;BR /&gt; chmod 0755 /etc/init.d/oracle&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Feb 2002 07:15:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667874#M915606</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-02-20T07:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Needs scripts to start oracle 9i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667875#M915607</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Your quiestion is not quite clear. If you have installed the ORacle9i Software and want to CREATE a database, you'll have to issue the create database statements ++++&lt;BR /&gt;&lt;BR /&gt;Have attached a script that creates directories for datafiles etc and creates a database and runs necessary scripts.&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Wed, 20 Feb 2002 12:07:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667875#M915607</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2002-02-20T12:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Needs scripts to start oracle 9i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667876#M915608</link>
      <description>Hi Andreas,&lt;BR /&gt;&lt;BR /&gt;Thank you for the scripts. I haven't start to use it yet but I do have several questions in reagards to it?&lt;BR /&gt;1. What steps prior to it do I need to know?&lt;BR /&gt;create vg? logical volumes?&lt;BR /&gt;2. This script will be executed from which user? root or oracle?&lt;BR /&gt;3.  Do I need to edit any file before issued this script to run?&lt;BR /&gt;&lt;BR /&gt;Database is not my expertise, and please be patient with me.  Thank you very much for your time.  &lt;BR /&gt;</description>
      <pubDate>Thu, 21 Feb 2002 17:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667876#M915608</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-02-21T17:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Needs scripts to start oracle 9i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667877#M915609</link>
      <description>I can't seemt to create the file that you have suggested...&lt;BR /&gt;i cd to /etc&lt;BR /&gt;and try to find init.d : i could't find it&lt;BR /&gt;so i did vi /etc/init.d/oracle&lt;BR /&gt;at the end....&lt;BR /&gt;error message : can't find the file when i try to do wq!&lt;BR /&gt;can you help me??? &lt;BR /&gt;&lt;BR /&gt;ps....i can't seem to located /etc/init.d directory in root??&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Feb 2002 19:05:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667877#M915609</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-02-21T19:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Needs scripts to start oracle 9i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667878#M915610</link>
      <description>Hi ravi,&lt;BR /&gt;&lt;BR /&gt;This command does not seem to work &lt;BR /&gt;#cd /sbin/init.d &lt;BR /&gt;ln -s ../init.d/oracle /etc/rc2.d/S95oracle &lt;BR /&gt;ln -s ../init.d/oracle /etc/rc2.d/K15oracle &lt;BR /&gt;chmod 0755 /etc/init.d/oracle &lt;BR /&gt;&lt;BR /&gt;here is the error message&lt;BR /&gt;ls -s ../init.d/oracle /etc/rc2.d/S99oracle&lt;BR /&gt;/etc/rc2.d/S99oracle not found&lt;BR /&gt;   2 ../init.d/oracle</description>
      <pubDate>Thu, 21 Feb 2002 19:17:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667878#M915610</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-02-21T19:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Needs scripts to start oracle 9i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667879#M915611</link>
      <description>Please ignore the message inregards to the &lt;BR /&gt;create symbolic link...&lt;BR /&gt;I did not give the rite path of symbolic link...silly me...&lt;BR /&gt;thank you</description>
      <pubDate>Thu, 21 Feb 2002 19:44:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667879#M915611</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-02-21T19:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Needs scripts to start oracle 9i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667880#M915612</link>
      <description>Hi ,&lt;BR /&gt;Here is what i have done so far :&lt;BR /&gt;1. installation of HP - oracle 9i&lt;BR /&gt;2. create /sbin/init.d/oracle and symbolic to start up the database...&lt;BR /&gt;&lt;BR /&gt;AT this point, I am lost of what should I do next? the documentation that I got just confuse me very much? Can some1 help me on the next step? so i can get the database running and run some simple I/O to those mount points?&lt;BR /&gt;I 'm greatly appreciate all of your help...&lt;BR /&gt;&lt;BR /&gt;Deanna</description>
      <pubDate>Thu, 21 Feb 2002 20:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/needs-scripts-to-start-oracle-9i/m-p/2667880#M915612</guid>
      <dc:creator>Deanna Tran</dc:creator>
      <dc:date>2002-02-21T20:07:47Z</dc:date>
    </item>
  </channel>
</rss>

