Unix Technical Forum

SQL error during shutdown ..

This is a discussion on SQL error during shutdown .. within the Oracle Database forums, part of the Database Server Software category; --> Hi, Each evening, when I shutdown my database for cold backup I have the following: ORA-00604: error occurred at ...


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, 11:42 AM
zeb
 
Posts: n/a
Default SQL error during shutdown ..

Hi,

Each evening, when I shutdown my database for cold backup I have the
following:

ORA-00604: error occurred at recursive SQL level 1
ORA-01089: immediate shutdown in progress - no operations are permitted
ORA-00604: error occurred at recursive SQL level 2
ORA-01089: immediate shutdown in progress - no operations are permitted

I tried to find the active sessions just before the shutdown but nothing
other my own request.

How this can be ? any hints ?

Thanks in advance

Oracle 8.1.7.4
AIX 5.2



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 11:42 AM
Michel Cadot
 
Posts: n/a
Default Re: SQL error during shutdown ..


"zeb" <spam@nowhere.com> a écrit dans le message de news:4229d4d8$0$31849$636a15ce@news.free.fr...
| Hi,
|
| Each evening, when I shutdown my database for cold backup I have the
| following:
|
| ORA-00604: error occurred at recursive SQL level 1
| ORA-01089: immediate shutdown in progress - no operations are permitted
| ORA-00604: error occurred at recursive SQL level 2
| ORA-01089: immediate shutdown in progress - no operations are permitted
|
| I tried to find the active sessions just before the shutdown but nothing
| other my own request.
|
| How this can be ? any hints ?
|
| Thanks in advance
|
| Oracle 8.1.7.4
| AIX 5.2
|

Haven't you a database trigger on shutdown?

Regards
Michel Cadot


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2008, 11:42 AM
zeb
 
Posts: n/a
Default Re: SQL error during shutdown ..

>
> Haven't you a database trigger on shutdown?
>
> Regards
> Michel Cadot


Thanks for the answer,
I have only logon/logoff triggers
Any ideas ?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-24-2008, 11:42 AM
GreyBeard
 
Posts: n/a
Default Re: SQL error during shutdown ..

Do you have enterprise manager or 'intelligent' agent running on the
machine?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-24-2008, 11:42 AM
zeb
 
Posts: n/a
Default Re: SQL error during shutdown ..

> Do you have enterprise manager or 'intelligent' agent running on the
> machine?

Thanks for the answer ...
I have no intelligent agent and no OEM


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-24-2008, 11:42 AM
fitzjarrell@cox.net
 
Posts: n/a
Default Re: SQL error during shutdown ..


zeb wrote:
> > Do you have enterprise manager or 'intelligent' agent running on

the
> > machine?

> Thanks for the answer ...
> I have no intelligent agent and no OEM


Any jobs scheduled through dbms_job?


David Fitzjarrell

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-24-2008, 11:42 AM
bdbafh@gmail.com
 
Posts: n/a
Default Re: SQL error during shutdown ..

check for trace files in /bdump and /udump.
if its due to SNPn processes (dbms_jobs) they should dump trace in
/bdump.

if you really want a clean shutdown prior to a cold backup, I'd suggest


alter system switch logfile
shutdown abort
startup mount restrict
alter system set job_queue_processes=0
alter database open
shutdown immediate

In general, I find cold backups to be a pain, unless you're talking
about a DW running in noarchivelog mode.

I'd rather just use a hot physical backup, copy the online redo logs
and controlfiles + any archlogs and call that a cold backup set - like
prior to applying a patchset. Less downtime, one set of scripts to
maintain.

-bdbafh

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-24-2008, 11:42 AM
zeb
 
Posts: n/a
Default Re: SQL error during shutdown ..

>
> Any jobs scheduled through dbms_job?
>
> David Fitzjarrell


Thanks
No dbms_job
but I have some MV log for remote replication
maybe a refresh is occuring during shutdown ?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-24-2008, 11:43 AM
DA Morgan
 
Posts: n/a
Default Re: SQL error during shutdown ..

zeb wrote:

>>Any jobs scheduled through dbms_job?
>>
>>David Fitzjarrell

>
>
> Thanks
> No dbms_job
> but I have some MV log for remote replication
> maybe a refresh is occuring during shutdown ?


And since no-one has mentioned it yet ... how about AQ?
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-24-2008, 11:43 AM
GreyBeard
 
Posts: n/a
Default Re: SQL error during shutdown ..


> And since no-one has mentioned it yet ... how about AQ?


Simplify things - what Oracle processes ARE running when you try to shut
the instance?

FGB
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 04:11 AM.


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