Question

ORA-00604 error while opening the database

Asked by: rgoms

Hi,
When i try to start a database, system throws the ORA-00604 error but still it opens the database and iam able to work on that database only for few minutes , after that the iam getting the following message

ORA-12500: TNS:listener failed to start a dedicated server process

and when i checked the alert log and trace file, it shows ORA-00604 error.
Find below the contents of alert log and the trace file.

Server process

System parameters with non-default values:
  processes                = 59
  shared_pool_size         = 262144000
  large_pool_size          = 614400
  control_files            = e:\ORANEW\oradata\FCIS45\control01.ctl, e:\ORANEW\oradata\FCIS45\control02.ctl, e:\ORANEW\oradata\FCIS45\control03.ctl
  db_block_buffers         = 25600
  db_block_size            = 8192
  compatible               = 8.1.0
  log_buffer               = 10485760
  log_checkpoint_interval  = 10000
  log_checkpoint_timeout   = 1800
  db_files                 = 1024
  db_file_multiblock_read_count= 8
  rollback_segments        = RBS0, RBS1, RBS2, RBS3, RBS4, RBS5, RBS6
  max_enabled_roles        = 30
  remote_login_passwordfile= EXCLUSIVE
  global_names             = FALSE
  distributed_transactions = 10
  instance_name            = FCIS45
  service_names            = FCIS45
  open_links               = 4
  sort_area_size           = 1048576
  sort_area_retained_size  = 65536
  db_name                  = FCIS45
  open_cursors             = 100
  os_authent_prefix        =
  optimizer_mode           = RULE
  job_queue_processes      = 4
  job_queue_interval       = 60
  parallel_max_servers     = 5
  background_dump_dest     = e:\ORANEW\admin\FCIS45\bdump
  user_dump_dest           = e:\ORANEW\admin\FCIS45\udump
  max_dump_file_size       = 10240
  oracle_trace_collection_name=
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
SNP0 started with pid=8
SNP1 started with pid=9
SNP2 started with pid=10
SNP3 started with pid=11
Wed Oct 13 12:19:51 2004
alter database  mount
Wed Oct 13 12:19:58 2004
Successful mount of redo thread 1, with mount id 418530990.
Wed Oct 13 12:19:58 2004
Database mounted in Exclusive Mode.
Completed: alter database  mount
Wed Oct 13 12:39:13 2004
alter database open
Wed Oct 13 12:39:13 2004
ORA-1113 signalled during: alter database open...
Wed Oct 13 12:45:53 2004
alter database open
Wed Oct 13 12:45:53 2004
ORA-1113 signalled during: alter database open...
Wed Oct 13 12:47:06 2004
ALTER DATABASE RECOVER   datafile 'E:\ORANEW\ORADATA\FCIS45\FCIS1.ORA'  
Wed Oct 13 12:47:06 2004
Media Recovery Datafile: 'E:\ORANEW\ORADATA\FCIS45\FCIS1.ORA'
Media Recovery Start
WARNING! Recovering data file 8 from a fuzzy backup. It might be an online
backup taken without entering the begin backup command.
Media Recovery Log
Recovery of Online Redo Log: Thread 1 Group 1 Seq 159616 Reading mem 0
  Mem# 0 errs 0: E:\ORANEW\ORADATA\FCIS45\REDO03.LOG
Recovery of Online Redo Log: Thread 1 Group 2 Seq 159617 Reading mem 0
  Mem# 0 errs 0: E:\ORANEW\ORADATA\FCIS45\REDO02.LOG
Media Recovery Complete
Completed: ALTER DATABASE RECOVER   datafile 'E:\ORANEW\ORADA
Wed Oct 13 12:47:12 2004
alter database open
Beginning crash recovery of 1 threads
Wed Oct 13 12:47:13 2004
Thread recovery: start rolling forward thread 1
Recovery of Online Redo Log: Thread 1 Group 1 Seq 159616 Reading mem 0
  Mem# 0 errs 0: E:\ORANEW\ORADATA\FCIS45\REDO03.LOG
Recovery of Online Redo Log: Thread 1 Group 2 Seq 159617 Reading mem 0
  Mem# 0 errs 0: E:\ORANEW\ORADATA\FCIS45\REDO02.LOG
Wed Oct 13 12:47:13 2004
Thread recovery: finish rolling forward thread 1
Thread recovery: 48 data blocks read, 14 data blocks written, 2209 redo blocks read
Crash recovery completed successfully
Wed Oct 13 12:47:15 2004
Thread 1 advanced to log sequence 159618
Thread 1 opened at log sequence 159618
  Current log# 3 seq# 159618 mem# 0: E:\ORANEW\ORADATA\FCIS45\REDO01.LOG
Successful open of redo thread 1.
Wed Oct 13 12:47:15 2004
SMON: enabling cache recovery
SMON: enabling tx recovery
Wed Oct 13 12:47:21 2004
Errors in file e:\ORANEW\admin\FCIS45\udump\ORA00219.TRC:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 1:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:

   begin declare end exception exit for goto if loop mod null
   pragma raise return select update while <an identifier>
   <a double-quoted delimited-identifier> <a bind variable> <<
   close current delete fetch lock insert open rollback
   savepoint set sql execute commit forall
   <a single-quoted SQL string>

Wed Oct 13 12:47:21 2004
Completed: alter database open


ORA00219.TRC Contents :
Dump file e:\ORANEW\admin\FCIS45\udump\ORA00219.TRC
Wed Oct 13 12:47:21 2004
ORACLE V8.1.7.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows NT Version 4.0 Service Pack 6, CPU type 586
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
Windows NT Version 4.0 Service Pack 6, CPU type 586
Instance name: fcis45

Redo thread mounted by this instance: 1

Oracle process number: 12

Windows thread id: 219, image: ORACLE.EXE


*** SESSION ID:(11.7) 2004-10-13 12:47:21.592
Error in executing triggers on database startup
*** 2004-10-13 12:47:21.655
ksedmp: internal or fatal error
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 1:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
   begin declare end exception exit for goto if loop mod null
   pragma raise return select update while <an identifier>
   <a double-quoted delimited-identifier> <a bind variable> <<
   close current delete fetch lock insert open rollback
   savepoint set sql execute commit forall
   <a single-quoted SQL string>

Pls. let me know how to resolve this issue.

Thanks in advance
Gomathy

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-10-13 at 00:54:19ID21166274
Tags

ora-00604

,

database

,

error

,

while

,

00604

Topic

Oracle Database

Participating Experts
3
Points
500
Comments
15

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. checkpoints ????
    What is meant by a checkpoint and when do check points occur? If a disk head crash occurs on a device holding data tables, how could the tables be recovered? How are backup copies and checkpoint information used in this process?
  2. Creating Oracle 8i databae on Unix
    I have never created a Database on Unix before so I need help. On NT you have to create a NT service, do you have to do anything like that on Unix. Here is what I have done so far. This is the second database on the machine. So the Oracle user is all ready created. I have ...
  3. Ora-00604
    I am Using form (Form6i) and back-end being oracle 8.1.7PO on a P4 machine 256mb RAM Win-98 PC. The form has been tested else where and has no bugs. But here it is showing "Un Handelled Exception (604)" in executing a simple insert inside a l...
  4. ora-00604
    hello, experts. I was processing a program and in the process shows me an error code ORA-00604. Please, give me a hand for this problem. I need it.
  5. Oracle errors ORA-00604 and ORA-20001
    working in oracle and up to last night all wokred fine, but today I am getting this error and not too sure what is causing that, any help would be appreciated. I get it everytime I create a user and try to login as that user. Thanks SQL> connect a/a ERROR: ORA-00604: err...
  6. ora-12154, ora-00604, ora-04052
    I'm getting the following error (1): ORA-04052: error occurred when looking up remote object SWFTW.PLAN_CTRY@CI2DE1 (1): ORA-00604: error occurred at recursive SQL level 1 (1): ORA-12154: TNS:could not resolve the connect identifier specified Please let me know the reason

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: ZenMasterrrPosted on 2004-10-13 at 01:24:01ID: 12295729

think you might need to contact oracle support services

Zen :))

 

by: seazodiacPosted on 2004-10-13 at 04:42:21ID: 12296857

did you upgrade your database recently?

Do you have any event triggers such as an AFTER LOGON trigger?

 

by: rgomsPosted on 2004-10-13 at 05:05:06ID: 12297021

No upgrade happened?
And there is not AFTER LOGON trigger.

 

by: seazodiacPosted on 2004-10-13 at 06:06:24ID: 12297620

Not really a solution,
but It might work.

try to do a shutdown immediate or normal , then restart the database,

see if this error is gone by then...

 

by: rgomsPosted on 2004-10-13 at 06:18:47ID: 12297756

Tried this option already :(

Few more observations :
When i shutdown the database -shutdown immediate  , the error appears in the trc file as
 "Error in executing triggers on database Shutdown"

but in other cases, the system automatically shutsdown in couple of minutes after the database startup and it doesn't put any entry in the trc file and the contents of the trace file are the same as i mentioned intially (ie.)"Error in executing triggers on database Startup"

 

 

by: seazodiacPosted on 2004-10-13 at 06:20:16ID: 12297770

can you post the contents of this trace file "Errors in file e:\ORANEW\admin\FCIS45\udump\ORA00219.TRC:"

 

by: rgomsPosted on 2004-10-13 at 06:27:56ID: 12297860

Dump file e:\ORANEW\admin\FCIS45\udump\ORA00184.TRC
Wed Oct 13 17:21:17 2004
ORACLE V8.1.7.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows NT Version 4.0 Service Pack 6, CPU type 586
*** SESSION ID:(11.1) 2004-10-13 17:21:17.889
Error in executing triggers on database startup
*** 2004-10-13 17:21:17.920
ksedmp: internal or fatal error
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 1:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
   begin declare end exception exit for goto if loop mod null
   pragma raise return select update while <an identifier>
   <a double-quoted delimited-identifier> <a bind variable> <<
   close current delete fetch lock insert open rollback
   savepoint set sql execute commit forall
   <a single-quoted SQL string>

 

by: seazodiacPosted on 2004-10-13 at 06:50:58ID: 12298099

look at this line:

>>>>>>>>>>>>Error in executing triggers on database startup<<<<<<<<<<<<<<<<<<<


you definitely have a trigger upon database starting...

can you do this?
once you managed to log in to the database as sysdba

SQL> select trigger_body,triggering_event from all_triggers where triggering_event like '%LOGON%';

 

by: rgomsPosted on 2004-10-13 at 07:16:56ID: 12298365

Executed the query but 0 rows selected.

 

by: seazodiacPosted on 2004-10-13 at 08:11:55ID: 12299010

can you do this?
this quey is more complete to include some other types of triggers:


SQL> select distinct triggering_event from all_triggers;

 

by: slightwvPosted on 2004-10-13 at 09:28:55ID: 12299868

Do you guys was the contents from all_triggers or dba_triggers?  The trigger may be from some obscure schema.

 

by: slightwvPosted on 2005-05-27 at 05:44:29ID: 14094031

Since seazodiac has been MIA for a while, I'll update for both of us ( but use my opinion ):

I'll go with an even split between seazodiac and myself.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...