yg simple aja , bikin shell script buat nge-start oracle , trus put this line
su - <os user that own the oracle> -c <shell script with full path of it> di /etc/rc.d/rc.local (in idi redhat, kalau linux lain , locate aja dimana file rc.local) ..ok .. here is for the detail: 1. bikin script berikut (bikinnya jgn sbg root) : misalnya namanya startuporacle #!/bin/sh ORACLE_HOME=<full path to oracle home>; export ORACLE_HOME ORACLE_SID=<sid nya>; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data;export ORA_NLS33 LD_LIBRARY_PATH=$ORACLE_HOME/lib:lib:usr/openwin/lib:/usr/td/lib:/usr/uclib:/usr/local/lib PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/ldap/bin CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib export LD_LIBRARY_PATH export PATH export CLASSPATH export EDITOR=vi lsnrctl start sqlplus "/ as sysdba" << EOF startup quit EOF 2. chmod +x startuporacle (jalankan dg user yg sama waktu create file ini. jgn sbg root) 3. login sbg root . buka file rc.local . kalau redhat biasanya ada di : /etc/rc.d tambahkan lines berikut pada bagian akhir (misalnya user nya oracleboy dan scriptnya ada di home oracleboy): su - oracleboy -c /home/oracleboy/startuporacle that's all. On 7/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > makasih pak, saya kurang familiar dengan linux, ada tidak link yang > menyediakan contoh scriptnya > > > > > > > > > > By default, kalau direstart komputernya, memang Oracle Servernya nggak > > langsung jalan. > > > > Lain halnya kalau anda menggunakan platform Windows, service akan ikut > > diinstall dan Oracle Server akan jalan secara otomatis begitu anda > > restart komputernya. > > > > Solusinya, anda harus buat script dan anda masukkan pada init daemon > > dari Linux-nya. > > > > Bowo > > > > > > --- In [email protected], [EMAIL PROTECTED] wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > -----------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 > > > > > > > > Visit your group "indo-oracle" on the web. > > To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > -----------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 > > > > > > > -- -----------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/

