oracle9i on solaris8 -- auto startup [message #102389] |
Fri, 17 May 2002 09:09 |
ilona
Messages: 1 Registered: May 2002
|
Junior Member |
|
|
i set out to configure oracle9i to run as a service and i am running into two issues:
1.
database "name" warm started -- when i execute "dbstart"
2.
K10dbora.sh S99dbora.sh -- do not exist in init.d rc# directories
first question:
is a warm start adequate as a full startup of a db?
second question:
should K10dbora.sh S99dbora.sh be present in rc dir or do i need to write these scripts myself?
|
|
|
Re: oracle9i on solaris8 -- auto startup [message #102405 is a reply to message #102389] |
Wed, 22 May 2002 07:30 |
Henry
Messages: 14 Registered: November 2000
|
Junior Member |
|
|
Hi Ilona,
A1. "warm" means the db has been started successfully, it's just the terminology they use on the script, therefore u can change it to whatever u wish and dont worry about it!!
A2. plz refer to the Oracle8i/9i Installation Guide for Sun SPARC Solaris for the scripts!
also bearing in mind that, in order to get the auto db startup process working, u also need to change the flag from "N" to "Y" in /var/opt/oracle/oratab
quick summary as follows:
1. login as root
2. create /etc/init.d/dbora
3. "chmod 744 dbora"
4. "chown root:sys dbora"
5. "ln /etc/init.d/dbora /etc/rc2.d/S99dbora"
6. "ln /etc/init.d/dbora /etc/rc0.d/K10dbora"
7. create /etc/init.d/tnslistener
8. "chmod 744 tnslistener"
9. "chown root:sys tnslistener"
10. "ln /etc/init.d/dbora /etc/rc2.d/S99tnslistener"
11. "ln /etc/init.d/dbora /etc/rc0.d/K10tnslistener"
12. change the flag in /var/opt/oracle/oratab
13. put the tns listener port#(s) in /etc/services
and u are away!!
plz read the manual!!
Regards,
Henry
|
|
|
|