Unix Technical Forum

Unable to Shutdown the Database

This is a discussion on Unable to Shutdown the Database within the Oracle Database forums, part of the Database Server Software category; --> We have a Oracle Database version 9.2. When we tried to shutdown immediate the database we got the message ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008, 01:33 PM
rbs
 
Posts: n/a
Default Unable to Shutdown the Database

We have a Oracle Database version 9.2. When we tried to shutdown
immediate the database we got the message


SQL> ORA-01013: user requested cancel of current operation
SQL> ORA-01081: cannot start already-running ORACLE - shut it down
first


This is the message which we got in the alert file of the database.



SHUTDOWN: waiting for active calls to complete.
Sun May 15 10:02:18 2005
SHUTDOWN: Active sessions prevent database close operation
Starting ORACLE instance (normal)
Sun May 15 10:02:19 2005

Can anybody tell why we are not able to shut down the database

Thank you,
RBS

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 01:33 PM
Sybrand Bakker
 
Posts: n/a
Default Re: Unable to Shutdown the Database

On 20 May 2005 00:05:00 -0700, "rbs" <rbs100@gmail.com> wrote:

>We have a Oracle Database version 9.2. When we tried to shutdown
>immediate the database we got the message
>
>
>SQL> ORA-01013: user requested cancel of current operation
>SQL> ORA-01081: cannot start already-running ORACLE - shut it down
>first
>
>
>This is the message which we got in the alert file of the database.
>
>
>
>SHUTDOWN: waiting for active calls to complete.
>Sun May 15 10:02:18 2005
>SHUTDOWN: Active sessions prevent database close operation
>Starting ORACLE instance (normal)
>Sun May 15 10:02:19 2005
>
>Can anybody tell why we are not able to shut down the database
>
>Thank you,
>RBS


Possible options: PMON cleaning up processes, active jobs in the
dba_job_queus, or advanced queing operations.
The job queue can be stopped by
alter system set job_queue_processes = 0
and the advanced queue mechanism can be stopped by
alter system set aq_tm_processes = 0

The active of the job queue is recorded in *SNP*.trc files in the
bdump directory.


--
Sybrand Bakker, Senior Oracle DBA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2008, 01:33 PM
fitzjarrell@cox.net
 
Posts: n/a
Default Re: Unable to Shutdown the Database


rbs wrote:
> We have a Oracle Database version 9.2. When we tried to shutdown
> immediate the database we got the message
>
>
> SQL> ORA-01013: user requested cancel of current operation
> SQL> ORA-01081: cannot start already-running ORACLE - shut it down
> first
>
>
> This is the message which we got in the alert file of the database.
>
>
>
> SHUTDOWN: waiting for active calls to complete.
> Sun May 15 10:02:18 2005
> SHUTDOWN: Active sessions prevent database close operation
> Starting ORACLE instance (normal)
> Sun May 15 10:02:19 2005
>
> Can anybody tell why we are not able to shut down the database
>
> Thank you,
> RBS


Not with the information thus far presented. Which patch level of 9.2?
Which operating system? These items are key in determining why a
shutdown immediate may behave in this manner. To elaborate, you may be
running 9.2.0.1 and this is a bug fixed in a patch release you have yet
to apply. This may be a bug specific to a particular operating system
and 9.2.0.x (hpux, AIX come to mind as needing one-off patches to
correct O/S specific bugs). Provide the requested information and a
better answer may be forthcoming.

You could perform a shutdown abort, then startup restrict, followed by
a shutdown immediate and a startup, to get your instance down and back
up, however this does not solve your underlying problem. Your best bet
for such information is Metalink. Presuming you have a service
contract put it to good use. If not, then provide, as I stated before,
the full release of Oracle and the O/S upon which it is running.
Someone else may have encountered such a problem with a similar
installation and can provide a better answer.


David Fitzjarrell

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-24-2008, 01:33 PM
Frank van Bortel
 
Posts: n/a
Default Re: Unable to Shutdown the Database

rbs wrote:
> We have a Oracle Database version 9.2. When we tried to shutdown
> immediate the database we got the message
>
>
> SQL> ORA-01013: user requested cancel of current operation
> SQL> ORA-01081: cannot start already-running ORACLE - shut it down
> first
>
>
> This is the message which we got in the alert file of the database.
>
>
>
> SHUTDOWN: waiting for active calls to complete.
> Sun May 15 10:02:18 2005
> SHUTDOWN: Active sessions prevent database close operation
> Starting ORACLE instance (normal)
> Sun May 15 10:02:19 2005
>
> Can anybody tell why we are not able to shut down the database


No you don't.
You killed off you attempt to shut the database. That's where
the 1013 came from. And right after, you tried to start again.
Which you cannot. Hence the 1081.

You probably have some script doing a shutdown, followed by a
startup.
Next time, tell the story as it is, and you'll receive
more valuable answers.

As to your why: read up on shutdown immediate, and the
difference between that and shutdown (normal), or
shutdown abort.
--
Frank van Bortel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-24-2008, 01:34 PM
Frank van Bortel
 
Posts: n/a
Default Re: Unable to Shutdown the Database

rbs wrote:
> We have a Oracle Database version 9.2. When we tried to shutdown
> immediate the database we got the message
>
>
> SQL> ORA-01013: user requested cancel of current operation
> SQL> ORA-01081: cannot start already-running ORACLE - shut it down
> first
>
>
> This is the message which we got in the alert file of the database.
>
>
>
> SHUTDOWN: waiting for active calls to complete.
> Sun May 15 10:02:18 2005
> SHUTDOWN: Active sessions prevent database close operation
> Starting ORACLE instance (normal)
> Sun May 15 10:02:19 2005
>
> Can anybody tell why we are not able to shut down the database


No you don't.
You killed off you attempt to shut the database. That's where
the 1013 came from. And right after, you tried to start again.
Which you cannot. Hence the 1081.

You probably have some script doing a shutdown, followed by a
startup.
Next time, tell the story as it is, and you'll receive
more valuable answers.

As to your why: read up on shutdown immediate, and the
difference between that and shutdown (normal), or
shutdown abort.
--
Frank van Bortel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:42 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com