dbTalk Databases Forums  

shut down a database

comp.database.oracle comp.database.oracle


Discuss shut down a database in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Hong Hsu
 
Posts: n/a

Default shut down a database - 01-16-2005 , 05:15 PM






Hi,

I am new to Oracle and wonder someone may help for the question.

In Oracle Database Concepts 10g Release, it said one can close a
database; unmount the database; and shutdown the database. What is
procedure to close and unmount a database?

Secondly what is best way to shutdown a database. In Windows, it seems
one of following: 1) SQL>shutdown normal 2) end three processes in
service of Control Panel. shutdown button from OEM doesn't work.

Your help will be appreciated,
-Hong


Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: shut down a database - 01-16-2005 , 07:57 PM






Hong Hsu wrote:

Quote:
Hi,

I am new to Oracle and wonder someone may help for the question.

In Oracle Database Concepts 10g Release, it said one can close a
database; unmount the database; and shutdown the database. What is
procedure to close and unmount a database?

Secondly what is best way to shutdown a database. In Windows, it seems
one of following: 1) SQL>shutdown normal 2) end three processes in
service of Control Panel. shutdown button from OEM doesn't work.

Your help will be appreciated,
-Hong
You are trying far too hard. Just turn off the machine.

--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)







Reply With Quote
  #3  
Old   
Hong Hsu
 
Posts: n/a

Default Re: shut down a database - 01-16-2005 , 09:22 PM



Thanks Mr. Morgan.

I was afraid of shutdown database rudely.


DA Morgan wrote:

Quote:
Hong Hsu wrote:

Hi,

I am new to Oracle and wonder someone may help for the question.

In Oracle Database Concepts 10g Release, it said one can close a
database; unmount the database; and shutdown the database. What is
procedure to close and unmount a database?

Secondly what is best way to shutdown a database. In Windows, it
seems one of following: 1) SQL>shutdown normal 2) end three
processes in service of Control Panel. shutdown button from OEM
doesn't work.

Your help will be appreciated,
-Hong


You are trying far too hard. Just turn off the machine.



Reply With Quote
  #4  
Old   
DA Morgan
 
Posts: n/a

Default Re: shut down a database - 01-16-2005 , 10:27 PM



Hong Hsu wrote:
Quote:
Thanks Mr. Morgan.

I was afraid of shutdown database rudely.
They are rarely, if ever, offended.

--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)







Reply With Quote
  #5  
Old   
sed
 
Posts: n/a

Default Re: shut down a database - 01-18-2005 , 01:17 PM



Best method for shutting down an Oracle server is "Shutdown normal". That
will quiese the database and perform an orderly termination.

If you simply shut down the machine, that is, terminate the process(es) the
database will have to undergo soft recovery when you start the server again.

"Hong Hsu" <honghsu (AT) comcast (DOT) net> wrote

Quote:
Hi,

I am new to Oracle and wonder someone may help for the question.

In Oracle Database Concepts 10g Release, it said one can close a
database; unmount the database; and shutdown the database. What is
procedure to close and unmount a database?

Secondly what is best way to shutdown a database. In Windows, it seems
one of following: 1) SQL>shutdown normal 2) end three processes in
service of Control Panel. shutdown button from OEM doesn't work.

Your help will be appreciated,
-Hong




Reply With Quote
  #6  
Old   
DA Morgan
 
Posts: n/a

Default Re: shut down a database - 01-18-2005 , 05:10 PM



sed wrote:

Quote:
Best method for shutting down an Oracle server is "Shutdown normal". That
will quiese the database and perform an orderly termination.

If you simply shut down the machine, that is, terminate the process(es) the
database will have to undergo soft recovery when you start the server again.

"Hong Hsu" <honghsu (AT) comcast (DOT) net> wrote in message
news:41EAF59A.2020409 (AT) comcast (DOT) net...
Of course it will do that anyway and of course it will take a few
seconds. But if that's important to you go for it. Sounds like nothing
but a waste of time to me.

PS: If any connection is logged on, an AQ or other process for example,
it will never shut down based on using NORMAL.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)







Reply With Quote
  #7  
Old   
Hong Hsu
 
Posts: n/a

Default Re: shut down a database - 01-18-2005 , 08:06 PM



When I issue 'shutdown normal' through SQL*Plus, it displays error:
ORA-01031: insufficient privileges. I use system or sys as user name
of SQL*Plus on Windows XP. Both have same error. No other Oracle
clients are connected to the server.

What is wrong here?
-Hong

DA Morgan wrote:
Quote:
sed wrote:

Best method for shutting down an Oracle server is "Shutdown normal".
That
will quiese the database and perform an orderly termination.

If you simply shut down the machine, that is, terminate the
process(es) the
database will have to undergo soft recovery when you start the server
again.

"Hong Hsu" <honghsu (AT) comcast (DOT) net> wrote in message
news:41EAF59A.2020409 (AT) comcast (DOT) net...


Of course it will do that anyway and of course it will take a few
seconds. But if that's important to you go for it. Sounds like nothing
but a waste of time to me.

PS: If any connection is logged on, an AQ or other process for example,
it will never shut down based on using NORMAL.


Reply With Quote
  #8  
Old   
DA Morgan
 
Posts: n/a

Default Re: shut down a database - 01-19-2005 , 04:33 PM



Hong Hsu wrote:

Quote:
When I issue 'shutdown normal' through SQL*Plus, it displays error:
ORA-01031: insufficient privileges. I use system or sys as user name
of SQL*Plus on Windows XP. Both have same error. No other Oracle
clients are connected to the server.

What is wrong here?
-Hong
1) Open "Control Panel"
2) Click on "Scheduled Tasks"
3) On the toolbar, click on "Advanced"
4) Click on "AT Service Account"
5) Choose "This Account:"
6) Specify a Windows account name and password that is part of the
ORA_DBA or ORA_<SID>_DBA group
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)







Reply With Quote
  #9  
Old   
Hong Hsu
 
Posts: n/a

Default Re: shut down a database - 01-23-2005 , 06:27 PM



Mr. Morgan,

I still have difficult to issue 'shutdown normal' after following your
instruction. I think the issue might be related to Wrong password for
user. Here is what it related:

After I login OEM using sys as user name and Connect As SYSDBA, I try to
enter Host Credentials and Database Credentials in order to shutdown
instance by clicking shutdown button. For Host Credential, I use user
name and password I used for login Windows XP where Oracle 10g is
running. For Database Credential, user name and password are the one I
used to login OEM. The Error Message is the same error:
RemoteOperationException: Wrong Password for user.

the database config is not right, but I don't know where exactly is
wrong. Thanks for your timing.
-Hong


DA Morgan wrote:
Quote:
Hong Hsu wrote:

When I issue 'shutdown normal' through SQL*Plus, it displays error:
ORA-01031: insufficient privileges. I use system or sys as user
name of SQL*Plus on Windows XP. Both have same error. No other Oracle
clients are connected to the server.

What is wrong here?
-Hong


1) Open "Control Panel"
2) Click on "Scheduled Tasks"
3) On the toolbar, click on "Advanced"
4) Click on "AT Service Account"
5) Choose "This Account:"
6) Specify a Windows account name and password that is part of the
ORA_DBA or ORA_<SID>_DBA group


Reply With Quote
  #10  
Old   
DA Morgan
 
Posts: n/a

Default Re: shut down a database - 01-23-2005 , 08:26 PM



Hong Hsu wrote:

Quote:
Mr. Morgan,

I still have difficult to issue 'shutdown normal' after following your
instruction. I think the issue might be related to Wrong password for
user. Here is what it related:

After I login OEM using sys as user name and Connect As SYSDBA, I try to
enter Host Credentials and Database Credentials in order to shutdown
instance by clicking shutdown button. For Host Credential, I use user
name and password I used for login Windows XP where Oracle 10g is
running. For Database Credential, user name and password are the one I
used to login OEM. The Error Message is the same error:
RemoteOperationException: Wrong Password for user.

the database config is not right, but I don't know where exactly is
wrong. Thanks for your timing.
-Hong


DA Morgan wrote:

Hong Hsu wrote:

When I issue 'shutdown normal' through SQL*Plus, it displays
error: ORA-01031: insufficient privileges. I use system or sys as
user name of SQL*Plus on Windows XP. Both have same error. No other
Oracle clients are connected to the server.

What is wrong here?
-Hong



1) Open "Control Panel"
2) Click on "Scheduled Tasks"
3) On the toolbar, click on "Advanced"
4) Click on "AT Service Account"
5) Choose "This Account:"
6) Specify a Windows account name and password that is part of the
ORA_DBA or ORA_<SID>_DBA group
What documentation have you read?
And quite frankly why are you trying to do this at all?
It is completely unnecessary and serves no real purpose.

But the simple solution is to make your O/S user a member
of the ORA_DBA group.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.