RMAN-06004: Oracle error from recovery catalog database: RMAN-20299: DBMS_RCVMAN package not compatible with the recovery catalog - archive

I found archivelog backup is failing with the below errors.
RMAN> 2> 3> 4> 5>
Starting backup at 01-NOV-22
current log archived
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 11/01/2022 23:59:35
RMAN-03014: implicit resync of recovery catalog failed
RMAN-06004: Oracle error from recovery catalog database: RMAN-20299: DBMS_RCVMAN package not compatible with the recovery catalog
As per "RMAN-20299: DBMS_RCVMAN package not compatible with the recovery catalog"
I tried to upgrade the catalog in RMAN prompt and I got the below errors.
[oracle#by1212 scripts]$ rman target / catalog /#****
Recovery Manager: Release 19.0.0.0.0 - Production on Wed Nov 2 00:31:48 2022
Version 19.7.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
connected to target database: NKERMITT (DBID=112162833)
connected to recovery catalog database
PL/SQL package RMAN12P.DBMS_RCVCAT version 19.03.00.00. in RCVCAT database is not current
PL/SQL package RMAN12P.DBMS_RCVMAN version 19.03.00.00 in RCVCAT database is not current
RMAN> UPGRADE CATALOG;
recovery catalog owner is RMAN12P
enter UPGRADE CATALOG command again to confirm catalog upgrade
RMAN> UPGRADE CATALOG;
error creating upgcat_49
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06004: Oracle error from recovery catalog database: ORA-02299: cannot validate (RMAN12P.AL_U1) - duplicate keys found
Please help me to solve this issue.
Oracle -- 19.0.0.0.0
OS -- Red Hat Enterprise Linux Server release 7.9 (Maipo)
This is standalone DB.
This is prod DB.
Regards,
Balaji

Related

I cannot restore backup file .bak to another server (SQL Server 2017 )

I try to backup and test restore the database on the different servers but I got the error below
I already using DBCC CHECKDB and there is no error found.
Please help guide me on how to fix this issue.
MS SQL Server Version: MS SQL Server 2017 Cumulative Patch 27
Recover Type: Full
Database Mode: Simple
Restore of database 'New_DB' failed.
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.SmoExtended)
A system assertion check has failed. Check the SQL Server error log for details. Typically, an assertion failure is caused by a software bug or data corruption. To check for database corruption, consider running DBCC CHECKDB. If you agreed to send dumps to Microsoft during setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft in the latest Service Pack or in a Hotfix from Technical Support. (.Net SqlClient Data Provider)
Server Name: WIN-OSJVISIE08A
Error Number: 3624
Severity: 17
State: 1
Line Number: 1
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. Click here to check official update by Microsoft
This issue is fixed in the following cumulative updates for SQL Server:
Cumulative Update 1 for SQL Server 2019
Cumulative Update 18 for SQL Server 2017
As a solution, you can upgrade your current MS SQL Server(where you are getting the backup from) & than you can switch to the another server.
Thanks :)

Error in converting batch to exe using IExpress

I am Converting my batch file to .exe file i have added .sql file and jpg file
i have successfully created package but when i am run this package i am getting an error like this
C:\Users\DEVELO~1\AppData\Local\Temp\IXP001.TMP>set /p dbnm=ENTER THE DATABASE SERVICE NAME
ENTER THE DATABASE SERVICE NAME UAT
SQL*Plus: Release 10.2.0.3.0 - Production on Thu Dec 20 15:16:01 2018
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SP2-0310: unable to open file "C:\Users\DEVELO~1\AppData\Local\Temp\IXP001.TMP\\harsh.sql"
SQL> SP2-0734: unknown command beginning "ECHO is on..." - rest of line ignored.
SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Press any key to continue . . .
my batch file path is D:\harsh
need help any answer?

Oracle expdp compatibility issue

I have an Enterprise Oracle Database 12.2.0.1.0 installed. The output of 'show compatible' is 12.2.0.1.4.
When I try to run EXPDP with the correct credentials, I get the following error:
Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
ORA-39001: invalid argument value
ORA-39021: Database compatibility version 12.2.0.1.4 is not supported.
After which EXPDP exists.
Should EXPDP's version be aligned with the 'compatible' parameter?

Exporting Oracle 11G R2 dump file

I am new to oracle and need to start a project. For this I need to restore a dump file. I tried all the methods, but not getting success. Dump file is from Oracle 11 G R2 and same version is installed on my desktop Windows PC. Steps followed are as below:
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\kartikeyap>SQLplus
SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 8 23:38:58 2016
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: SYSTEM
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create tablespace csiprod datafile 'csiprod' size 3000M
2 ;
Tablespace created.
SQL> create user csitest identified by csitest default tablespace csiprod temporary tablespace temp;
User created.
SQL> grant all privileges to csitest;
Grant succeeded.
SQL> create or replace directory c_drive as 'C:/';
Directory created.
SQL> grant read,write on directory c_drive to csitest;
Grant succeeded.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Users\kartikeyap>cd\
C:\>impdp SYSTEM/diya2478 schemas=csitest directory=c_drive dumpfile=csiprod.dmp;
But every time I am getting error below:
Import: Release 11.2.0.1.0 - Production on Thu Sep 8 23:44:50 2016
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31640: unable to open dump file "C:/csiprod.dmp;" for read
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
It will be of great help if someone take a look and get this resolved for me.

The LoadFromSQLServer method has encountered OLE DB error code 0x80040E14

installed an SQL Server 2012 x64 on an Server 2012 x64 without domain. The server is just in the workgroup WORKGROUP as default setting.
I created the package "import cards" which imports some csv files into a database. In BIDS, the package works fine without trouble. The package also write some logfiles when the package start, end and on errors.
With the Execute Package Utility the package works fine too.
Now i import the package in the msdb database as an file system import and the protection level "Keep protection level of the original package".
my last step was creating a schedule, as usual. Trying to running the schedule drives me nuts.
My SQL Server Agent is started with the account "NT Service\SQLSERVERAGENT" The User properties has a mapping to the msdb database including the roll "ssisadmin".
I read this in my meaning very useful post.
But the Schedule wont working.
Error message in History:
Message
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute
Package Utility Version 11.0.5058.0 for 64-bit Copyright (C) Microsoft Corporation.
All rights reserved. Started: 2:38:18 PM Could not load package "\importCards"
because of error 0xC0014062. Description: The LoadFromSQLServer method has
encountered OLE DB error code 0x80040E14 (Only the owner of DTS Package 'importCards'
or a member of the sysadmin role may create new versions of it.). The SQL statement
that was issued has failed. Source: Started: 2:38:18 PM Finished: 2:38:18 PM
Elapsed: 0.031 seconds. The package could not be loaded. The step failed.
nothing works and I'm very frustrated. Perhaps you can help me. Every clue is appeciated
Thank you!
the problem therefore seems to come from inserting the step e.g. importing the package into the integration services.
I can't see the data sources of the step and as long as you see no data sources, you have no chance to run the job with success.

Resources