adop phase=prepare fails with: Error Message : ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

adop phase=prepare fails with: Error Message : ORA-12514: TNS:listener does not currently know of service requested in connect descriptor


cause

----

The local_listener not set properly in the init.ora parameter file.


solution

---------


Check if the local_listener is set incorrectly by using:


At the DB server:


sqlplus / as sysdba

SQL> show parameter local_listener


NAME                                 TYPE        VALUE

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

local_listener                       string      cal456:1521


In this scenario ERPDEV is the SID used in this Environment


If the local listener value returned is incorrect, change it to the correct value in the init.ora parameter file.


SQL> alter system set local_listener='ERPDEV_LOCAL' scope=both;


System altered.



then Execute the "adop phase=prepare" again in application tier and confirm the error no longer occurs.


Screenshot

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




appsdbahelp

17+ years of experience in Oracle Database, Oracle Cloud Infrastructure(OCI), Oracle EBS on Cloud, Oracle E-Business Suite, DevOps tools, Oracle WebLogic, Oracle Application Server, Oracle Access Manager and various Operating System flavors including Redhat Linux, UNIX (Solaris, HP-UX) and Windows. Expert in Oracle9i/10g/11g/12c/19c database administration, upgrade, configuration and tuning. Experience in Oracle E-Business Suite technological stack, including architecture, installation, configuration, maintenance, tuning, cloning and patching procedures. Expert in Oracle Cloud Infrastructure(OCI), Oracle EBS On Cloud and Oracle EBS Cloud Manager Experience with Oracle Cloud Solution and Expert of Oracle ERP/Oracle HCM Cloud deployment Experience in Terraform, JSON and chef cloud infrastructure automation framework Knowledge of ASM, Data Guard, Real Application Cluster, Exadata and Exalogic Knowledge of Oracle Enterprise Manager(OEM) Grid Control, Oracle WebLogic, Oracle Internet Directory, Oracle Access Manager and Apache Ability to analyze problem, develops solutions and bring program/project execution to completion.

Post a Comment

Previous Post Next Post