Solved

RMAN problem

Posted on 2006-06-15
11
1,261 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
  • 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
 

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now