12c RAC listener not working for Prod database
Hello,
We have 12c RAC and 2 database are running on it. PROD and TEST. tnsping works fine . However we are unable to connect to prod with following error
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor .
We are able to connect to Test instance successfully
tnsping prod
(DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=ebs-prod.xxxx.com)(PORT=1521)) (CONNECT_DATA= (SERVICE_NAME=PROD.xxxxx.com)))
OK (0 msec)
tnsping test
(DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=ebs-prod.xxxx.com)(PORT=1521)) (CONNECT_DATA= (SERVICE_NAME=TEST.xxxx.com)))
I have checked remote_listener and service names and both are correct