Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: how can auto start database (oracle 8.17 in red hat 6.2)
"Timothy Ranma" <diablo_at_ksts.seed.net.tw> wrote in message
news:v64obt4ve6e8hm0q2qcjkrapl79lsi8m0h_at_4ax.com...
> hi all
> i am a oracle's beginer.
> When i boot my linux ,database can't start auto
> i run
> >svrmgrl
> >connect internal
> >startup
>
> every times
> how can auto start database?
> Thx for your answer
> ¢D??H¢DH?W¡L¢D?¡Ñ,¡ÂAAY£geoc¢X23],|paG1p|P,¢D??H?@¡P¡±?¢G-tak?s?W?¡±3d¢Do
> ------------------------------------------------------------------------
> The eyes are blind.One must look with the heart Tim Ranma
You can autostart your database:
- by not using a chinese characterset in posting to this group
- by reading the Linux specific Oracle documentation.
If you don't have it it is online at http://otn.oracle.com
Generally it involves placing a file in /etc/rc2.d, but this might be
different for Linux
however if you include the following lines in your
. profile
dbstart ()
{
sqlplus /nolog <<EOF
connect / as sysdba
startup
exit
EOF
;
}
You can do it with the dbstart command.
Hth,
Sybrand Bakker, Oracle DBA Received on Sat Mar 24 2001 - 01:45:56 CST
![]() |
![]() |