Friday 18 November 2022

ORA-12777: A non-continuable error encountered.

 ORA-12777: A non-continuable error encountered.  Check the error stack for additional information [ksm_check_ob_paths:1], [ORACLE_BASE], [], [].

After moving the 19c Database Oracle Home to new location, i relinked the binaries and then tried to start up the database.  Got the below error:


ORA-12777: A non-continuable error encountered.  Check the error stack for additional information [ksm_check_ob_paths:1], [ORACLE_BASE], [], [].


Solution:

Correct the path of Oracle Home in the orabasetab file under $ORACLE_HOME/Install location


e.g 

oraprod@erpdbpreprod1:/u01/app/oracle/product/19.0.0/dbhome_3/install$ cat orabasetab

#orabasetab file is used to track Oracle Home associated with Oracle Base

/u01/app/oracle/product/19.0.0/dbhome_3:/u01/app/oracle/product/19.0.0:SPROD_DB__u01_app_oracle_product_19_0_0_dbhome_3:N:


Note: dbhome_1 was corrected to dbhome_3 

Friday 30 September 2022

19c RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

 19c RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor


Before doing an RMAN DUPLICATE DATABASE from an Active Database, we need to set up listener on the target environment with static registration.  Else when the RMAN shuts down the auxiliary database for creating spfile or making changes in it, it will not be able to connect the auxiliary and start the database (nomount) and throw the error :


RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor


To Solve this issue ensure that listener is configured with static registration using the below syntax :

========= LISTENER.ORA==================

EBSUPG=

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = TCP)(HOST =<hostname>)(PORT = 1536))

      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1536))

    )

  )



SID_LIST_EBSUPG=

  (SID_LIST =

    (SID_DESC =

      (GLOBAL_DBNAME = EBSUPG)

      (ORACLE_HOME = /u01/app/oracle/product/19.0.0/dbhome_1)

      (SID_NAME = EBSUPG)

    )

  )


ADR_BASE_LISTENER_EBSUPG = /u01/app/oracle

=================================================================

When we check the listener status, it should show as UNKNOWN instead of BLOCKED 

-bash-4.4$ lsnrctl status EBSUPG

LSNRCTL for Solaris: Version 19.0.0.0.0 - Production on 30-SEP-2022 13:57:46

Copyright (c) 1991, 2021, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.92.27.104)(PORT=1536)))
STATUS of the LISTENER
------------------------
Alias                     EBSUPG
Version                   TNSLSNR for Solaris: Version 19.0.0.0.0 - Production
Start Date                30-SEP-2022 13:35:31
Uptime                    0 days 0 hr. 22 min. 14 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/19.0.0/dbhome_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/STDBY4BKP/ebsupg/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1536)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1536)))
Services Summary...
Service "EBSUPG" has 1 instance(s).
  Instance "EBSUPG", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

This solved my issue and it started with the ACTIVE DUPLICATE.

Tuesday 12 April 2022

ORA-01111: name for data file 975 is unknown - rename to correct file MRP0: Background Media Recovery terminated with error 1111

 ORA-01111: name for data file 975 is unknown - rename to correct file  MRP0: Background Media Recovery terminated with error 1111

Issue: 

Standby database throws below errors and stops the MRP. 

MRP0: Background Media Recovery terminated with error 1111

Errors in file /u01/app/oraprod/diag/diag/rdbms/sprod/SPROD1/trace/SPROD1_pr00_23061.trc:

ORA-01111: name for data file 975 is unknown - rename to correct file

ORA-01110: data file 975: '/u01/app/oraprod/11.2.0.4/dbs/UNNAMED00975'

ORA-01157: cannot identify/lock data file 975 - see DBWR trace file

ORA-01111: name for data file 975 is unknown - rename to correct file

ORA-01110: data file 975: '/u01/app/oraprod/11.2.0.4/dbs/UNNAMED00975'

Recovery Slave PR00 previously exited with exception 1111

Solution:

- Please cancel the managed recovery by

SQL>ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;

- Set standby_file_management=manual

SQL>ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT=MANUAL;

If the physical standby database is RAC, then please make the change to all standby instances.

SQL>ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT=MANUAL SID='*';


alter database create datafile '/u01/app/oraprod/11.2.0.4/dbs/UNNAMED00975' as '+DATA_DG' size 30g;

- Set standby_file_management=auto 

SQL>ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT=AUTO;

If the physical standby database is RAC, then please make the change to all standby instances.   

SQL>ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT=AUTO SID='*';


- Start managed recovery by  

SQL>ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;







Friday 4 March 2022

Fatal Error: TXK Install Service RW-50010: Error: - script has returned an error: /bin/sh: error importing function definition for `which'

Fatal Error: TXK Install Service   RW-50010: Error: - script has returned an error:  /bin/sh: error importing function definition for `which'

Description: R12.2 Installation fails during Install web Tier. 

------------------------------------------------------

Fatal Error: TXK Install Service

oracle.apps.fnd.txk.config.ProcessStateException: OUI process failed : Exit=1 See log for details. CMD= /u01/soft/ebs/TechInstallMedia/ohs11119/Disk1/runInstaller -waitForCompletion -ignoreSysPrereqs -force -silent  -responseFile /u01/oracle/tstebs/fs2/inst/apps/tstebs_ebs22/temp/cfgHome/response/APPS_OHS_HOME/txkOHS_11119.rsp


    at oracle.apps.fnd.txk.config.OUIPatchActionNode.processState(OUIPatchActionNode.java:159)


    at oracle.apps.fnd.txk.config.PatchActionNode.processState(PatchActionNode.java:187)


    at oracle.apps.fnd.txk.config.PatchNode.processState(PatchNode.java:338)


    at oracle.apps.fnd.txk.config.PatchesNode.processState(PatchesNode.java:79)


    at oracle.apps.fnd.txk.config.InstallNode.processState(InstallNode.java:68)


    at oracle.apps.fnd.txk.config.TXKTopology.traverse(TXKTopology.java:594)


    at oracle.apps.fnd.txk.config.InstallService.doInvoke(InstallService.java:224)


    at oracle.apps.fnd.txk.config.InstallService.invoke(InstallService.java:237)


    at oracle.apps.fnd.txk.config.InstallService.main(InstallService.java:291)




Cannot install Web Tier Utilities


    RW-50010: Error: - script has returned an error:   1

RW-50004: Error code received when running external process.  Check log file for details.

Running APPL_TOP Install Driver for tstebs instance


In the install log under /u01/app/oraInventory/*install*log

-----------------------------------------

/usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/u01/oracle/tstebs/fs2/FMW_Home/webtier//bin/sh: which: line 1: syntax error: unexpected end of file

/bin/sh: error importing function definition for `which'

/bin/sh: which: line 1: syntax error: unexpected end of file

/bin/sh: error importing function definition for `which'

-----------------------------------------


Solution

This is due to the missing rpm of glibc

------------------------------------------

 yum install glibc-*.i686

Last metadata expiration check: 5:19:11 ago on Fri 04 Mar 2022 03:33:24 PM +03.

Package glibc-devel-2.28-164.0.1.el8.i686 is already installed.

Package glibc-headers-2.28-164.0.1.el8.i686 is already installed.

Dependencies resolved.

==================================================================================================================================================================================================

 Package                                          Architecture                          Version                                            Repository                                        Size

==================================================================================================================================================================================================

Upgrading:

 glibc                                            i686                                  2.28-164.0.4.el8                                   ol8_baseos_latest                                3.4 M

 glibc                                            x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                3.6 M

 glibc-common                                     x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                1.3 M

 glibc-devel                                      i686                                  2.28-164.0.4.el8                                   ol8_baseos_latest                                1.0 M

 glibc-devel                                      x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                1.0 M

 glibc-headers                                    i686                                  2.28-164.0.4.el8                                   ol8_baseos_latest                                481 k

 glibc-headers                                    x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                481 k

 glibc-langpack-en                                x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                829 k

 libnsl                                           x86_64                                2.28-164.0.4.el8                                   ol8_baseos_latest                                104 k


Transaction Summary

==================================================================================================================================================================================================

Upgrade  9 Packages


Total download size: 12 M

Is this ok [y/N]: y

Downloading Packages:

(1/9): glibc-2.28-164.0.4.el8.i686.rpm                                                                                                                            518 kB/s | 3.4 MB     00:06

(2/9): glibc-common-2.28-164.0.4.el8.x86_64.rpm                                                                                                                   195 kB/s | 1.3 MB     00:06

(3/9): glibc-devel-2.28-164.0.4.el8.i686.rpm                                                                                                                      1.7 MB/s | 1.0 MB     00:00

(4/9): glibc-headers-2.28-164.0.4.el8.i686.rpm                                                                                                                    1.3 MB/s | 481 kB     00:00

(5/9): glibc-headers-2.28-164.0.4.el8.x86_64.rpm                                                                                                                  1.0 MB/s | 481 kB     00:00

(6/9): glibc-langpack-en-2.28-164.0.4.el8.x86_64.rpm                                                                                                              1.7 MB/s | 829 kB     00:00

(7/9): glibc-devel-2.28-164.0.4.el8.x86_64.rpm                                                                                                                    568 kB/s | 1.0 MB     00:01

(8/9): libnsl-2.28-164.0.4.el8.x86_64.rpm                                                                                                                         502 kB/s | 104 kB     00:00

(9/9): glibc-2.28-164.0.4.el8.x86_64.rpm                                                                                                                          267 kB/s | 3.6 MB     00:13

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Total                                                                                                                                                             911 kB/s |  12 MB     00:13

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Preparing        :                                                                                                                                                                          1/1

  Upgrading        : glibc-common-2.28-164.0.4.el8.x86_64                                                                                                                                    1/18

  Upgrading        : glibc-langpack-en-2.28-164.0.4.el8.x86_64                                                                                                                               2/18

  Running scriptlet: glibc-2.28-164.0.4.el8.x86_64                                                                                                                                           3/18

  Upgrading        : glibc-2.28-164.0.4.el8.x86_64                                                                                                                                           3/18

  Running scriptlet: glibc-2.28-164.0.4.el8.x86_64                                                                                                                                           3/18

  Running scriptlet: glibc-headers-2.28-164.0.4.el8.i686                                                                                                                                     4/18

  Upgrading        : glibc-headers-2.28-164.0.4.el8.i686                                                                                                                                     4/18

  Upgrading        : glibc-devel-2.28-164.0.4.el8.x86_64                                                                                                                                     5/18

  Running scriptlet: glibc-devel-2.28-164.0.4.el8.x86_64                                                                                                                                     5/18

  Running scriptlet: glibc-headers-2.28-164.0.4.el8.x86_64                                                                                                                                   6/18

  Upgrading        : glibc-headers-2.28-164.0.4.el8.x86_64                                                                                                                                   6/18

  Upgrading        : libnsl-2.28-164.0.4.el8.x86_64                                                                                                                                          7/18

  Running scriptlet: glibc-2.28-164.0.4.el8.i686                                                                                                                                             8/18

  Upgrading        : glibc-2.28-164.0.4.el8.i686                                                                                                                                             8/18

  Running scriptlet: glibc-2.28-164.0.4.el8.i686                                                                                                                                             8/18

  Upgrading        : glibc-devel-2.28-164.0.4.el8.i686                                                                                                                                       9/18

  Running scriptlet: glibc-devel-2.28-164.0.4.el8.i686                                                                                                                                       9/18

  Running scriptlet: glibc-devel-2.28-164.0.1.el8.i686                                                                                                                                      10/18

  Cleanup          : glibc-devel-2.28-164.0.1.el8.i686                                                                                                                                      10/18

  Running scriptlet: glibc-devel-2.28-164.0.1.el8.x86_64                                                                                                                                    11/18

  Cleanup          : glibc-devel-2.28-164.0.1.el8.x86_64                                                                                                                                    11/18

  Cleanup          : glibc-2.28-164.0.1.el8.i686                                                                                                                                            12/18

  Running scriptlet: glibc-2.28-164.0.1.el8.i686                                                                                                                                            12/18

  Cleanup          : glibc-headers-2.28-164.0.1.el8.x86_64                                                                                                                                  13/18

  Cleanup          : glibc-headers-2.28-164.0.1.el8.i686                                                                                                                                    14/18

  Cleanup          : libnsl-2.28-164.0.1.el8.x86_64                                                                                                                                         15/18

  Cleanup          : glibc-2.28-164.0.1.el8.x86_64                                                                                                                                          16/18

  Running scriptlet: glibc-2.28-164.0.1.el8.x86_64                                                                                                                                          16/18

  Cleanup          : glibc-langpack-en-2.28-164.0.1.el8.x86_64                                                                                                                              17/18

  Cleanup          : glibc-common-2.28-164.0.1.el8.x86_64                                                                                                                                   18/18

  Running scriptlet: glibc-common-2.28-164.0.1.el8.x86_64                                                                                                                                   18/18

  Running scriptlet: glibc-common-2.28-164.0.4.el8.x86_64                                                                                                                                   18/18

  Verifying        : glibc-2.28-164.0.4.el8.i686                                                                                                                                             1/18

  Verifying        : glibc-2.28-164.0.1.el8.i686                                                                                                                                             2/18

  Verifying        : glibc-2.28-164.0.4.el8.x86_64                                                                                                                                           3/18

  Verifying        : glibc-2.28-164.0.1.el8.x86_64                                                                                                                                           4/18

  Verifying        : glibc-common-2.28-164.0.4.el8.x86_64                                                                                                                                    5/18

  Verifying        : glibc-common-2.28-164.0.1.el8.x86_64                                                                                                                                    6/18

  Verifying        : glibc-devel-2.28-164.0.4.el8.i686                                                                                                                                       7/18

  Verifying        : glibc-devel-2.28-164.0.1.el8.i686                                                                                                                                       8/18

  Verifying        : glibc-devel-2.28-164.0.4.el8.x86_64                                                                                                                                     9/18

  Verifying        : glibc-devel-2.28-164.0.1.el8.x86_64                                                                                                                                    10/18

  Verifying        : glibc-headers-2.28-164.0.4.el8.i686                                                                                                                                    11/18

  Verifying        : glibc-headers-2.28-164.0.1.el8.i686                                                                                                                                    12/18

  Verifying        : glibc-headers-2.28-164.0.4.el8.x86_64                                                                                                                                  13/18

  Verifying        : glibc-headers-2.28-164.0.1.el8.x86_64                                                                                                                                  14/18

  Verifying        : glibc-langpack-en-2.28-164.0.4.el8.x86_64                                                                                                                              15/18

  Verifying        : glibc-langpack-en-2.28-164.0.1.el8.x86_64                                                                                                                              16/18

  Verifying        : libnsl-2.28-164.0.4.el8.x86_64                                                                                                                                         17/18

  Verifying        : libnsl-2.28-164.0.1.el8.x86_64                                                                                                                                         18/18


Upgraded:

  glibc-2.28-164.0.4.el8.i686          glibc-2.28-164.0.4.el8.x86_64          glibc-common-2.28-164.0.4.el8.x86_64       glibc-devel-2.28-164.0.4.el8.i686  glibc-devel-2.28-164.0.4.el8.x86_64

  glibc-headers-2.28-164.0.4.el8.i686  glibc-headers-2.28-164.0.4.el8.x86_64  glibc-langpack-en-2.28-164.0.4.el8.x86_64  libnsl-2.28-164.0.4.el8.x86_64


Complete!

[root@ebs122 1220]#

 

Oracle E-Business Suite Preinstallation RPM (Oracle Linux 8)

 
Oracle E-Business Suite Preinstallation RPM (Oracle Linux 8)

To install the Oracle E-Business Suite Preinstallation RPM (Oracle Linux 8), please follow below steps:

For Oracle Linux 8, review the documentation on DNF and repository configurations, perform the following commands to install the preinstallation rpm using the DNF utility, and then skip to Step 4:

# dnf install oraclelinux-release -y 
# dnf config-manager --set-enabled ol8_addons
# dnf install oracle-ebs-server-R12-preinstall.x86_64


Ref: Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Linux x86-64 (Doc ID 1330701.1) 


Thursday 3 March 2022

RW-50010: Error: - script has returned an error: 2 Unable to execute cr9idata.pl while doing fresh installation of EBS 12.2 on Linux

 RW-50010: Error: - script has returned an error:   2 Unable to execute cr9idata.pl while doing fresh installation of EBS 12.2 on Linux 

Description: Fresh Installation of EBS 12.2 on Linux using RapidWizard

Unable to execute cr9idata.pl

    RW-50010: Error: - script has returned an error:   2

RW-50004: Error code received when running external process.  Check log file for details.

Running Database Install Driver for dev instance

Solution:


[root@ebs122 ~]# yum list perl-File-CheckTree*
Last metadata expiration check: 20:30:22 ago on Thu 03 Mar 2022 12:47:32 AM +03.
Available Packages
perl-File-CheckTree.noarch                                                                       4.42-303.el8                                                                        ol8_appstream
perl-File-CheckTree.src                                                                          4.42-303.el8                                                                        ol8_appstream
[root@ebs122 ~]# yum install perl-File-CheckTree*
Last metadata expiration check: 20:30:45 ago on Thu 03 Mar 2022 12:47:32 AM +03.
Dependencies resolved.
==================================================================================================================================================================================================
 Package                                              Architecture                            Version                                        Repository                                      Size
==================================================================================================================================================================================================
Installing:
 perl-File-CheckTree                                  noarch                                  4.42-303.el8                                   ol8_appstream                                   23 k

Transaction Summary
==================================================================================================================================================================================================
Install  1 Package

Total download size: 23 k
Installed size: 28 k
Is this ok [y/N]: y
Downloading Packages:
perl-File-CheckTree-4.42-303.el8.noarch.rpm                                                                                                                        13 kB/s |  23 kB     00:01
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                              13 kB/s |  23 kB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                          1/1
  Installing       : perl-File-CheckTree-4.42-303.el8.noarch                                                                                                                                  1/1
  Running scriptlet: perl-File-CheckTree-4.42-303.el8.noarch                                                                                                                                  1/1
  Verifying        : perl-File-CheckTree-4.42-303.el8.noarch                                                                                                                                  1/1

Installed:
  perl-File-CheckTree-4.42-303.el8.noarch

Complete!
[root@ebs122 ~]# yum list perl-File-CheckTree*
Last metadata expiration check: 20:31:06 ago on Thu 03 Mar 2022 12:47:32 AM +03.
Installed Packages
perl-File-CheckTree.noarch                                                                       4.42-303.el8                                                                       @ol8_appstream
Available Packages
perl-File-CheckTree.src                                                                          4.42-303.el8                                                                       ol8_appstream
[root@ebs122 ~]#


Directory /u01/oracle/ebs122/12.1.0//nls/data/9idata Doesn't exist. Creating it.



Installing Database Home patches



References:




Wednesday 2 March 2022

12.2 Stage area creation fails with startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java: No such file or directory

 12.2 Stage area creation fails with startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java: No such file or directory


While creating the stage area for 12.2 Installation, we face issue while running the buildstage.sh

....startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java: No such file or directory

Solution: 

Please go to the path provided in the error log and check if the java is working fine with below command:

java -version

Generally this java is having some issues.  

Install the jre 7 or jre 8 and copy the the jre at the same path by renaming old folder. It should work fine. 

Now if your run the build command again, it should succeed. 

Running command:

/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java -classpath /u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/emocmutl.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/ewt-3_4_22.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/share-1_1_18.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/jnls.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/ACC.JAR:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/netcfg.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/ojdbc14.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/OraInstaller.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/java oracle.apps.ad.rapidwiz.util.StageBuilder /u01/soft/ebs/startCD/Disk1/rapidwiz/bin Linux_x64 Linux_x64


Specify the directory containing the zipped installation media:
/u01/soft/ebs/1220
File list:
/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/stageData/zipFiles.dat
The set of zip files is complete.
Unzip command is: /u01/soft/ebs/startCD/Disk1/rapidwiz/unzip/Linux_x64/unzip -o
Unzipping V35802-01.zip
Unzipping V35803-01_1of3.zip
Unzipping V35803-01_2of3.zip
Unzipping V35803-01_3of3.zip
Unzipping V35804-01_1of2.zip
Unzipping V35804-01_2of2.zip
Unzipping V46095-01_1of2.zip
...
..
..
..

Tuesday 15 February 2022

RMAN Duplicate Database fails with ORACLE error from auxiliary database: ORA-00600: internal error code, arguments: [krbi_init_fra_metadata_not_backup_ctl]

 RMAN Duplicate Database fails with ORACLE error from auxiliary database: ORA-00600: internal error code, arguments: [krbi_init_fra_metadata_not_backup_ctl]

Issue: While using RMAN Duplicate Database from Standby Database to clone fails with below error:

ORACLE error from auxiliary database: ORA-00600: internal error code, arguments: [krbi_init_fra_metadata_not_backup_ctl]

This is known bug as per MOS Bug 21641760

However the oracle support gave below suggestion to try and it worked. 


Disable FRA ie
alter system set db_recovery_file_dest='';



RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

 

RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor


Issue:  Trying to clone a database using Duplicate Database from Active Database. 

rman is not able to connect from active database and gives below error:

RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

Solution:  

1. Copy the password file from Active database and rename it to match the SID of the clone. 

2. Create a static listener in the listner.ora as shown below 

3 start the listener. 

LISTENER_EBS_2PRE =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS_LIST =

        (ADDRESS = (PROTOCOL = TCP)(HOST = erpdbpreprod1-vip)(PORT = 1571)(IP = FIRST)))

      (ADDRESS_LIST =

        (ADDRESS = (PROTOCOL = TCP)(HOST = erpdbpreprod1)(PORT = 1571)(IP = FIRST)))

    )

  )


SID_LIST_LISTENER_EBS_2PRE =

  (SID_LIST =

    (SID_DESC =

      (GLOBAL_DBNAME = EBS_2PRE)

      (ORACLE_HOME = /u03/app/oracle/product/11.2.0/dbhome_1)

      (SID_NAME = EBS_2PRE1)

    )

  )

4. Test the connection from active database and it should connect the clone database which is in nomount stage. 

connected to target database: SPROD (DBID=xxxxxxx)
connected to auxiliary database: EBS_2PRE (not mounted)

Thursday 6 January 2022

RMAN Backup fails with archivelog not found error ORA-19625: error identifying file

 RMAN  Backup fails with archivelog not found error ORA-19625: error identifying file


Connect to RMAN promp

$ rman target / 

$ crosscheck archivelog all;

$ delete obsolete

Got following error : 

RMAN-03002: failure of delete command at 01/06/2022 18:09:45

RMAN-06091: no channel allocated for maintenance (of an appropriate type)


Solution:

Allocate channel for maintenance type for each device type

$ rman target /

RMAN>  allocate channel for maintenance device  TYPE 'SBT_TAPE' PARMS 'SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64';

using target database control file instead of recovery catalog
allocated channel: ORA_MAINT_SBT_TAPE_1
channel ORA_MAINT_SBT_TAPE_1: SID=756 instance=prd1 device type=SBT_TAPE
channel ORA_MAINT_SBT_TAPE_1: Veritas NetBackup for Oracle - Release 8.3.0.1 (2020081919)

RMAN> allocate channel for maintenance device type disk;

allocated channel: ORA_MAINT_DISK_2
channel ORA_MAINT_DISK_2: SID=883 instance=prd1 device type=DISK

RMAN> delete obsolete;



XX_XXXXXXX is not a valid responsibility for the current user. Please contact your System Administrator.

  XX_XXXXXXX is not a valid responsibility for the current user. Please contact your System Administrator. Issue : When user logs into EBS, ...