Sori ada yg ketinggalan untuk 
5.Register the Service
     /sbin/chkconfig --add oracle
untuk meregister sebagai service.

Andrew 

--- "Andrew E.K." <[EMAIL PROTECTED]> wrote:

> Saya coba bantu yah, dengan anggapan anda sudah
> berhasil install oracle nya. Kebetulan saya ada
> script
> untuk autostartup di Oracle 10g yang saya gunakan di
> Production Database(mungkin 9i jg bisa, belum pernah
> coba sih).Berikut step2 nya :
> 
> "Login Sebagai Root"
> 1. cd /etc/init.d
> 2. buat file "oracle"
> kedit oracle
> chmod 755 oracle
> 3. Edit file oracle tersebut,copy script nya :
> 
> #!/bin/bash
>   #
>   # chkconfig: 35 99 10    
>   # description: Starts and stops Oracle processes
>   #
>   # Set ORA_HOME to be equivalent to the
> $ORACLE_HOME
>   # from which you wish to execute dbstart and
> dbshut;
>   #
>   # Set ORA_OWNER to the user id of the owner of the
>   # Oracle database in ORA_HOME.
>   #
>   ORA_HOME=/oracle/Ora10g
>   ORA_OWNER=oracle
>  
>   case "$1" in
>     'start')
>        # Start the Oracle databases:
>        # The following command assumes that the
> oracle
> login
>        # will not prompt the user for any values
>        su - $ORA_OWNER -c $ORA_HOME/bin/dbstart
>        # Start the TNS Listener
>        su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl
> start"
>        # Start the Intelligent Agent
>        # if [ -f $ORA_HOME/bin/agentctl ]; then
>        #   su - $ORA_OWNER -c
> "$ORA_HOME/bin/agentctl
> start"
>        #else
>        #   su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl
> dbsnmp_start"
>        #fi
>        # Start Management Server
>        #if [ -f $ORA_HOME/bin/oemctl ]; then
>        #   su - $ORA_OWNER -c "$ORA_HOME/bin/oemctl
> start oms"
>        #fi
>        # Start HTTP Server
>        #if [ -f
> $ORA_HOME/Apache/Apache/bin/apachectl
> ]; then
>        #   su - $ORA_OWNER -c
> "$ORA_HOME/Apache/Apache/bin/apachectl start"
>        #fi
>        touch /var/lock/subsys/oracle
>        ;;
>     'stop')
>        # Stop HTTP Server
>        #if [ -f
> $ORA_HOME/Apache/Apache/bin/apachectl
> ]; then
>        #   su - $ORA_OWNER -c
> "$ORA_HOME/Apache/Apache/bin/apachectl stop"
>        #fi
>        # Stop Management Server
>        #if [ -f $ORA_HOME/bin/oemctl ]; then
>        #   su - $ORA_OWNER -c "$ORA_HOME/bin/oemctl
> stop oms sysman/<password>"
>        #fi
>        # Stop the Intelligent Agent
>        #if [ -f $ORA_HOME/bin/agentctl ]; then
>        #   su - $ORA_OWNER -c
> "$ORA_HOME/bin/agentctl
> stop"
>        #else
>        #   su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl
> dbsnmp_stop"
>        #fi
>        # Stop the TNS Listener
>        su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl
> stop"
>        # Stop the Oracle databases:
>        # The following command assumes that the
> oracle
> login
>        # will not prompt the user for any values
>        su - $ORA_OWNER -c $ORA_HOME/bin/dbshut
>        rm -f /var/lock/subsys/oracle
>        ;;
>   esac
>   # End of script oracle
> 
> 4. Ubah file cd /etc/oratab, pada bagian
> "DB_PROD:/oracle/Ora10g:N" ubah menjadi "Y" seperti
> dibawah :
> 
> #
> # *:/oracle/Ora10g:N
> DB_PROD:/oracle/Ora10g:Y
> # *:/oracle/Ora10g:N
> # *:/oracle/Ora10g:N
> *:/oracle/Ora10g:N
> *:/oracle/Ora10g_Agent:N
> 
> Sedikit Note pada langkah ke 3, banyak parameter yg
> saya remark karena kebetulan saya hanya ingin
> autostartup listener dan database saja. Bisa di
> modif
> sesuai keperluan.Semoga membantu :)
> 
> 
> Andrew
> 
> --- [EMAIL PROTECTED] wrote:
> 
> > hai...
> > 
> > gimana caranya install oracle di linux
> > saya pernah install oracle 9i dan 10i di redhat 9,
> > enterprice3 tapi
> > keduanya gagal, ketika di restrat oracle tidak
> jalan
> > 
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


--
-----------I.N.D.O - O.R.A.C.L.E---------------
Keluar: [EMAIL PROTECTED]
Website: http://indo-oracle.blogspot.com
-----------------------------------------------

Bergabung dengan Indonesia Thin Client User Groups, 
Terminal Server, Citrix, New Moon Caneveral, di:
http://indo-thin.vze.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/indo-oracle/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Kirim email ke