tnsping XXX
Used TNSNAMES adapter to resolve the aliasAttempting to contact (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL= TCP)(HOST= Oracle-IP)(PORT= Oracle-PORT)))(CONNECT_DATA=(SERVICE_NAME= XXX)))OK (10 msec)
root@3abc9992f092:/# lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 03-AUG-2023 07:52:59
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=3abc9992f092)(PORT=1521)))TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 03-AUG-2023 07:54:41
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 03-AUG-2023 07:53:15
Uptime 0 days 0 hr. 1 min. 25 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/11.2.0/xe/log/diag/tnslsnr/3abc9992f092/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=3abc9992f092)(PORT=1521)))(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=3abc9992f092)(PORT=8080))(Presentation=HTTP)(Session=RAW))Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s)for this service...
Service "XE" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s)for this service...
Service "XEXDB" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s)for this service...
The command completed successfully