Error:
[ERROR] Cannot connect to database
[ERROR] Error Message : ORA-12514: TNS:listener does not currently know of service requested in connect descriptor (DBD ERROR: OCIServerAttach)
Solution:
To implement the solution test the following steps in a development instance and then migrate accordingly:
1. Ensure a valid backup exists before testing the solution.
2. Check if the local_listener is set incorrectly by using:
At the RDBMS HOME:
sqlplus / as sysdba
SQL>show parameter local_listener
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string EBS_DEV
In this scenario EBS is the SID used in this Environment
3. If the local listener value returned is incorrect, change it to the correct value in the init.ora parameter file.
4. Restart the Database tier and the listener.
5. Execute the "adop phase=prepare" again and confirm the error no longer occurs.
[ERROR] Cannot connect to database
[ERROR] Error Message : ORA-12514: TNS:listener does not currently know of service requested in connect descriptor (DBD ERROR: OCIServerAttach)
Solution:
To implement the solution test the following steps in a development instance and then migrate accordingly:
1. Ensure a valid backup exists before testing the solution.
2. Check if the local_listener is set incorrectly by using:
At the RDBMS HOME:
sqlplus / as sysdba
SQL>show parameter local_listener
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string EBS_DEV
In this scenario EBS is the SID used in this Environment
3. If the local listener value returned is incorrect, change it to the correct value in the init.ora parameter file.
4. Restart the Database tier and the listener.
5. Execute the "adop phase=prepare" again and confirm the error no longer occurs.