<?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: make script to start listner and database in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114428#M686624</link>
    <description>hi;&lt;BR /&gt;you can put these script in to the oracle home directory.example /home/oracle/&lt;BR /&gt;don't forget to change the owner of the script.&lt;BR /&gt;chown oracle:dba start_db (assume script's name is start_db)&lt;BR /&gt;chown oracle:dba stop_db&lt;BR /&gt;&lt;BR /&gt;chmod +x start_db stop_db&lt;BR /&gt;&lt;BR /&gt;regards;&lt;BR /&gt;mustafa</description>
    <pubDate>Wed, 18 Jun 2008 07:25:48 GMT</pubDate>
    <dc:creator>Mustafa Gulercan</dc:creator>
    <dc:date>2008-06-18T07:25:48Z</dc:date>
    <item>
      <title>make script to start listner and database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114423#M686619</link>
      <description>hi all&lt;BR /&gt;I have rp7420 server with hp-ux 11iv1 And Oracle 10g installed, i want to make script to start listner and database on server startup and/or when oracle user login &lt;BR /&gt;please help&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 18 Jun 2008 06:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114423#M686619</guid>
      <dc:creator>tareq_2</dc:creator>
      <dc:date>2008-06-18T06:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: make script to start listner and database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114424#M686620</link>
      <description>Hi,&lt;BR /&gt;use it when you login as oracle:&lt;BR /&gt;&lt;BR /&gt;export ORACLE_SID=your_sid&lt;BR /&gt;export ORACLE_HOME=your_oracle_path&lt;BR /&gt;&lt;BR /&gt;lsnrctl start &lt;YOUR_LISTENER_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;sqlplus "/ as sysdba" &amp;lt;&amp;lt; EOF&lt;BR /&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;Kenan.&lt;/YOUR_LISTENER_NAME&gt;</description>
      <pubDate>Wed, 18 Jun 2008 06:50:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114424#M686620</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2008-06-18T06:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: make script to start listner and database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114425#M686621</link>
      <description>how can i know my listner name&lt;BR /&gt;and where to  write&lt;BR /&gt;export ORACLE_SID=your_sid&lt;BR /&gt;export ORACLE_HOME=your_oracle_path&lt;BR /&gt;&lt;BR /&gt;lsnrctl start &lt;YOUR_LISTENER_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;sqlplus "/ as sysdba" &amp;lt;&amp;lt; EOF&lt;BR /&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;&lt;/YOUR_LISTENER_NAME&gt;</description>
      <pubDate>Wed, 18 Jun 2008 06:55:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114425#M686621</guid>
      <dc:creator>tareq_2</dc:creator>
      <dc:date>2008-06-18T06:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: make script to start listner and database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114426#M686622</link>
      <description>here is the script start DB with oracle user;&lt;BR /&gt;&lt;BR /&gt;echo starting listener&lt;BR /&gt;lsnrctl start&lt;BR /&gt;&lt;BR /&gt;echo starting db&lt;BR /&gt;sqlplus "/ as sysdba" &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;startup&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;echo starting enterprise manager&lt;BR /&gt;emctl start dbconsole&lt;BR /&gt;&lt;BR /&gt;and script stop DB with oracle user;&lt;BR /&gt;&lt;BR /&gt;echo stopping listener&lt;BR /&gt;lsnrctl stop&lt;BR /&gt;&lt;BR /&gt;echo stopping db&lt;BR /&gt;sqlplus "/ as sysdba" &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;shutdown immediate&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;echo stopping enterprise manager&lt;BR /&gt;emctl stop dbconsole&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;mustafa&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2008 06:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114426#M686622</guid>
      <dc:creator>Mustafa Gulercan</dc:creator>
      <dc:date>2008-06-18T06:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: make script to start listner and database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114427#M686623</link>
      <description>thanks mustafa&lt;BR /&gt;but where i can write this script in oracle .login file or where??? my experince&lt;BR /&gt;in script file is not good</description>
      <pubDate>Wed, 18 Jun 2008 07:11:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114427#M686623</guid>
      <dc:creator>tareq_2</dc:creator>
      <dc:date>2008-06-18T07:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: make script to start listner and database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114428#M686624</link>
      <description>hi;&lt;BR /&gt;you can put these script in to the oracle home directory.example /home/oracle/&lt;BR /&gt;don't forget to change the owner of the script.&lt;BR /&gt;chown oracle:dba start_db (assume script's name is start_db)&lt;BR /&gt;chown oracle:dba stop_db&lt;BR /&gt;&lt;BR /&gt;chmod +x start_db stop_db&lt;BR /&gt;&lt;BR /&gt;regards;&lt;BR /&gt;mustafa</description>
      <pubDate>Wed, 18 Jun 2008 07:25:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114428#M686624</guid>
      <dc:creator>Mustafa Gulercan</dc:creator>
      <dc:date>2008-06-18T07:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: make script to start listner and database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114429#M686625</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can place your start and stop scripts in your $ORACLE_HOME/bin as db_start and db_stop. you  can find listener name cat $ORACLE_HOME/network/admin/listener.ora ( in configured line blocks)&lt;BR /&gt;&lt;BR /&gt;after placing them create a file /sbin/init.d/rc_ora&lt;BR /&gt;&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;&lt;BR /&gt;ORA_HOME=&lt;YOUR_ORACLE_HOME&gt;&lt;BR /&gt;&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;&lt;BR /&gt;'start')&lt;BR /&gt;/usr/bin/su - oracle -c $ORA_HOME/bin/db_start&lt;BR /&gt;;;&lt;BR /&gt;'stop')&lt;BR /&gt;# Stop the oracle databases&lt;BR /&gt;/usr/bin/su - oracle -c $ORA_HOME/bin/db_stop&lt;BR /&gt;;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And don't forget file to make executable by chmod +x.&lt;BR /&gt;&lt;BR /&gt;after than create links for starting oracle while startup:&lt;BR /&gt;&lt;BR /&gt;ln -s /sbin/init.d/rc_ora /sbin/rc3.d/S990rc_ora&lt;BR /&gt;ln -s /sbin/init.d/rc_ora /sbin/rc0.d/K10rc_ora&lt;BR /&gt;&lt;BR /&gt;Kenan.&lt;/YOUR_ORACLE_HOME&gt;</description>
      <pubDate>Wed, 18 Jun 2008 07:41:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114429#M686625</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2008-06-18T07:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: make script to start listner and database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114430#M686626</link>
      <description>thanks for all&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Jun 2008 07:58:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-script-to-start-listner-and-database/m-p/5114430#M686626</guid>
      <dc:creator>tareq_2</dc:creator>
      <dc:date>2008-06-21T07:58:14Z</dc:date>
    </item>
  </channel>
</rss>

