Solved

RMAN problem

Posted on 2006-06-15
11
1,312 Views
Last Modified: 2011-09-20
Hello,

Until today our RMAN backup policy has been working fine (about 6 months) - however recently I spotted the following error message, and am wondering what to do ......

channel d1: starting piece 1 at 15-JUN-06
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: fatal error during execution of command
RMAN-10006: error running SQL statement: select sofar, context, start_time     from v$session_longops    where (start_time > nvl(:1, sysdate-100)  or            start_time = nvl(:2, sysdate+100)) and          sid = :3 and          serial# = :4 and          opname like 'RMAN:%'    order by start_time desc, context desc
RMAN-10002: ORACLE error: ORA-01041: internal error. hostdef extension doesn't exist
0
Comment
Question by:Alistair_Williams
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
  • +1
11 Comments
 
LVL 16

Expert Comment

by:MohanKNair
ID: 16910577
>> ORACLE error: ORA-01041: internal error. hostdef extension doesn't exist

There is some problem with either the target database or the database of RMAN schema. See if it is possible to query the database. Otherwise you may have to restart the database.
0
 

Author Comment

by:Alistair_Williams
ID: 16910620
Hi,

Yes I can connect to the data base and do a query, all seems to be o.k. apart from the RMAN bit. I can even connect to the target via RMAN.

Thanks

Alistair
0
 
LVL 16

Expert Comment

by:MohanKNair
ID: 16910682
What about catalog database? What is the value for REMOTE_LOGIN_PASSWORDFILE in catalog DB?

Also check the value for LARGE_POOL_SIZE in target DB and if it too low increase the value.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:Alistair_Williams
ID: 16910760
We are not using a cataloge at the moment. I have found this article on metalink though - any coments ?!?

<Bug:3123232> It is possible for longop statistics to be corrupted and possibly
cause internal errors or core dumps.
eg: Dumps when selecting from v$session_longops/x$ksulop
ORA-600 [ksuloget] during or after a 'long op' (eg, RMAN operation)

This problem can also result in NULL values in V$SESSION_LONGOPS.


Solution
----------
Bug 3123232 is fixed in 9.2.0.6 so apply 9206 PSR or use the workaround:

Add to the init.ora/spfile  of the target database

Switch off long-op statistics by setting the following (9.2 specific) settings in the (s)pfile :
optimizer_features_enable=9.2.0.1
_subquery_pruning_mv_enabled=false

Instance will have to be restarted.

0
 
LVL 19

Expert Comment

by:actonwang
ID: 16911301
make sure you've use decidated connection instead of shared server connection.
0
 

Author Comment

by:Alistair_Williams
ID: 16911366
It would certainly seem that v$session_longops is corrupt. If I query the table, then I get a end of communication on channel error. Is their anyway of flushing this table ?

0
 

Author Comment

by:Alistair_Williams
ID: 16918254
It would seem that the suggested method from metalink has worked - so I think I have answered my own question here.

Switch off long-op statistics by setting the following (9.2 specific) settings in the (s)pfile :
optimizer_features_enable=9.2.0.1
_subquery_pruning_mv_enabled=false

Restart Instance.

Thanks

Alistair
0
 
LVL 19

Expert Comment

by:actonwang
ID: 16920075
which metalink note you were referring to? please share.
0
 

Author Comment

by:Alistair_Williams
ID: 16932218
Hi,

The doc id from metalink is Note:341184.1

Thanks

Alistair
0
 

Accepted Solution

by:
RomMod earned 0 total points
ID: 16970635
Question closed - 250 points refunded.

Best regards,
RomMod
Experts Exchange
Community Support Moderator
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question