Re: need help
mostafa magdy <bougy81-/[email protected]>
| Newsgroups | gmane.user-groups.linux.egypt |
|---|---|
| Message-ID | <[email protected]> |
Dear Masroor, You can use $ORACLE_HOME/bin/dbstart to startup the database, and $ORACLE_HOME/bin/dbshut to shutdown the database. You can place $ORACLE_HOME/bin/dbstart into the /etc/rc.d/rc.local boot script to automatically bring up the database at system boot time. To get $ORACLE_HOME/bin/dbstart and $ORACLE_HOME/bin/dbshut working, you need to change the third field for your Oracle SID in /etc/oratab from "N" to "Y". For example, for the Oracle SID "test" I changed the line in /etc/oratab from: test:/opt/oracle/product/9.2.0:N to read: test:/opt/oracle/product/9.2.0:Y In some cases for 9.2.0 I also had to copy the init file for my SID "test" from /opt/oracle/admin/test/pfile to $ORACLE_HOME/dbs to get dbstart and dbshut working: cp /opt/oracle/admin/test/pfile/inittest.ora.642002224936 $ORACLE_HOME/dbs/inittest.ora But first make sure if your init file already exists in $ORACLE_HOME/dbs! __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/0XFolB/TM --------------------------------------------------------------------~-> Regret any inconvinience ======================================================= [1] Please visit http://www.linux-egypt.org [2] To subscribe, just reply to this message [3] Also, you may send blank email to [email protected] [3] To unsubscribe, send an email to [email protected] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Linux_Egypt/ <*> 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/