Operating System - Linux
1824169 Members
3517 Online
109668 Solutions
New Discussion юеВ

Oracle startup and shutdown in Redhat Linux

 
gab_in
Regular Advisor

Oracle startup and shutdown in Redhat Linux

Hi,

I have installed oracle 9 on RHEL 3 and started the listner with one script.. now i want to start the database. please tell me how can i manually start the database and verify whether it is running or not.

thanks in advance
2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: Oracle startup and shutdown in Redhat Linux

You need something like this:

ORACLE_SID=
echo startup | sqlplus "/ as sysdba"

To verify is the database is up you can do:

echo "select status from v$instance" | sqlplus "/ as sysdba"

Or you can just check the pmon process:

ps -u oracle | grep pmon

Please, take a time to assign points to the answers of your questions, is a good way to thank, for more information see:

http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
skt_skt
Honored Contributor

Re: Oracle startup and shutdown in Redhat Linux


Log in sqlplus ├в /as sysdba├в
Startup mount
alter database open;
select status from v$instance