Ora-12541 : TNS: No listener and Ora-12154 tns could not resolve the connect identifier
Hello Gurus,
I am getting Ora-12541 and ora-12154 errors when i am trying to connect to another database
\Oracle\Database\product\12.1.0\dbhome_1\BIN>tnsping ServerBInstance.world
TNS Ping Utility for 64-bit Windows: Version 12.1.0.2.0 - Production on 17-AUG-2020 13:03:33
Copyright (c) 1997, 2014, Oracle. All rights reserved.
Used parameter files:
\oracle\Database\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ServerB)(PORT = 1521))) (CONNECT_DATA =
(SERVICE_NAME = ServerBinstance.world)))
TNS-12541: TNS:no listener
\Oracle\Database\product\12.1.0\dbhome_1\BIN>
---------------
\Oracle\Database\product\12.1.0\dbhome_1\BIN>sqlplus DBUser/DBPwd@ServerBinstance.world
SQL*Plus: Release 12.1.0.2.0 Production on Mon Aug 17 13:02:46 2020