Symptom
We are trying to access the RMAN but failing with below error,
> RMAN target connect sys@sidadm
RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== ORA-12154: TNS:could not resolve the connect identifier specified
We have checked and confirm that the environment and the listener are okay and running fine.
Solution
We are not aware of the errors but we are able to connect using below command,
> SET ORACLE_SID=xxx > RMAN > CONNECT TARGET SYS