If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Can't shutdown oracle (shutdown immediate) and no alert log, why???

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-03, 03:28
kshoo kshoo is offline
Registered User
 
Join Date: Jan 2003
Posts: 3
Can't shutdown oracle (shutdown immediate) and no alert log, why???

Dear all OCP and experts,

In what cases that Oracle was not able to shutdown using 'shutdown immediate' and why there aren't any alert log write to the log file?

I found there still some sessions r mark as 'killed' for long time.

What could i do?

Pls help ....

thanks.
Reply With Quote
  #2 (permalink)  
Old 01-25-03, 10:26
Ad Dieleman Ad Dieleman is offline
Registered User
 
Join Date: Jan 2003
Location: Dordrecht, The Netherlands
Posts: 95
Re: Can't shutdown oracle (shutdown immediate) and no alert log, why???

Try 'shutdown abort'.

After that, do 'startup' and 'shutdown' and 'startup' again. This enables Oracle to clean up (on the 'shutdown').

Ad Dieleman.
Reply With Quote
  #3 (permalink)  
Old 01-27-03, 07:23
wiggam14 wiggam14 is offline
Registered User
 
Join Date: Jan 2003
Posts: 15
for remaining "killed" sessions, try ORAKILL (for NT) or kill the SID on UNIX. If shutdown immediate is waiting on these current transactions to end, this will help
Reply With Quote
  #4 (permalink)  
Old 01-27-03, 15:55
clio_usa clio_usa is offline
Registered User
 
Join Date: Apr 2002
Location: California, USA
Posts: 482
Smile Re: Can't shutdown oracle (shutdown immediate) and no alert log, why???

Quote:
Originally posted by kshoo
Dear all OCP and experts,

In what cases that Oracle was not able to shutdown using 'shutdown immediate' and why there aren't any alert log write to the log file?

I found there still some sessions r mark as 'killed' for long time.

What could i do?

Pls help ....

thanks.

Cases, or I should say the reasons are:

1. Rollback segments - failed or incompleted transactions are being rolled back during the time you issued "shutdown immediate". As you might guess, Oracle will try to finish the rolling back, so the state of the db is clear, before completing your request.

2. SMON is cleaning the temporary segments in the same time. Same idea - fist the cleaning, then the shutdown.


Hope that helps,

clio_usa - OCP - DBA

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On