I have two listners:
one is running on port 1521 another on 1531.
lsnrctl stat
shows status of services running on port 1521 only.
How should I check whether the services running on port 1531 is proper or not.
Listner Entry:
# listener.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora # Generated by Oracle configuration tools. ADMIN_RESTRICTIONS_LISTENER = ON LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (PROTOCOL_STACK = (PRESENTATION = GIOP) (SESSION = RAW) ) ) ) ADR_BASE_LISTENER = C:\app\Administrator SID_LIST_PARIVARTAN = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = PARIVARTAN) (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1) (PROGRAM = extproc) (SID_NAME = PARIVARTAN) ) ) PARIVARTAN = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1531)) ) ) ADR_BASE_PARIVARTAN = C:\app\Administrator
TNSNAMES Entry
# tnsnames.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. ORCL = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) ) PARIVARTAN = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1531)) ) (CONNECT_DATA = (SERVICE_NAME = parivartan) ) )
tns ping
result:
Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1)(PORT = 1531))) (CONNECT_DATA = (SERVICE_NAME = parivartan))) OK (10 msec)