删除监听PORT=5500的一行

[oracle@bakdb admin]$ lsnrctl
LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 07-JUL-2018 03:28:49
Copyright (c) 1991, 2016, Oracle.  All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=bakdb)(PORT=1526)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 12.2.0.1.0 - Production
Start Date                07-JUL-2018 01:34:03
Uptime                    0 days 1 hr. 54 min. 47 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/12.2.0/db_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/bakdb/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bakdb)(PORT=1526)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1526)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=bakdb)(PORT=5500))(Security=(my_wallet_directory=/u01/app/oracle/admin/db12c/xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "6bdacc94183c3402e0536538a8c060a4" has 1 instance(s).
  Instance "db12c", status READY, has 1 handler(s) for this service...
Service "db12c" has 1 instance(s).
  Instance "db12c", status READY, has 1 handler(s) for this service...
Service "db12cXDB" has 1 instance(s).
  Instance "db12c", status READY, has 1 handler(s) for this service...
Service "orclpdb" has 1 instance(s).
  Instance "db12c", status READY, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=bakdb)(PORT=1526)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 12.2.0.1.0 - Production
Start Date                07-JUL-2018 01:34:03
Uptime                    0 days 1 hr. 56 min. 9 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/12.2.0/db_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/bakdb/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bakdb)(PORT=1526)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1526)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=bakdb)(PORT=5500))(Security=(my_wallet_directory=/u01/app/oracle/admin/db12c/xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "6bdacc94183c3402e0536538a8c060a4" has 1 instance(s).
  Instance "db12c", status READY, has 1 handler(s) for this service...
Service "db12c" has 1 instance(s).
  Instance "db12c", status READY, has 1 handler(s) for this service...
Service "db12cXDB" has 1 instance(s).
  Instance "db12c", status READY, has 1 handler(s) for this service...
Service "orclpdb" has 1 instance(s).
  Instance "db12c", status READY, has 1 handler(s) for this service...
The command completed successfully

SQL> exec DBMS_XDB_CONFIG.sethttpsport(null);
参考:How to Remove 12c EM Express (文档 ID 1601370.1)

This entry was posted in 学习. Bookmark the permalink.