Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: starting the database

Re: starting the database

From: stephen booth <stephenbooth.uk_at_gmail.com>
Date: Mon, 1 May 2006 18:09:15 +0100
Message-ID: <687bf9c40605011009g1f92f334q2e317a5fd5cb798e@mail.gmail.com>


On 01/05/06, Nirmalya Das <nirmalya_at_hln.com> wrote:
> The only problem of checking just the "pmon" is that the database can be on
> "mount" or "nomount" state and "ps -ef | grep pmon" will still return the
> desired result and will give the impression that it is "up".
>

True, but it's horses for courses. The environment I'm in I need a quick check that doesn't require being able to login as the 'oracle' user or, indeed, any member of the 'dba' group doesn't need to store any usernames or passwords.

Also the script I use is run from a dedicated machine via rsh to perform a series of tasks on databases on several machines (same script, just change the settings each time). Also, in this environment the database is typically going to be fully up or fully down, if it's in nomount or mount state then that's a pointer that it is being worked on.

Any solution has it's pluses and minuses.

Stephen

--
It's better to ask a silly question than to make a silly assumption.

http://stephensorablog.blogspot.com/
--
http://www.freelists.org/webpage/oracle-l
Received on Mon May 01 2006 - 12:09:15 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US