博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle12C 开启关闭em
阅读量:6345 次
发布时间:2019-06-22

本文共 3786 字,大约阅读时间需要 12 分钟。

开启

sys@jy> alter session set container=jypdb;

Session altered.

Elapsed: 00:00:00.21

sys@jy> exec DBMS_XDB_CONFIG.SETHTTPPORT(5505);

PL/SQL procedure successfully completed.

Elapsed: 00:00:01.91

[grid@shurkcs ~]$ lsnrctl status

LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 23-FEB-2018 08:47:21

Copyright (c) 1991, 2016, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=shurkcs.com)(PORT=1521)))
STATUS of the LISTENER

Alias LISTENER

Version TNSLSNR for Linux: Version 12.2.0.1.0 - Production
Start Date 23-FEB-2018 08:28:03
Uptime 0 days 0 hr. 19 min. 17 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /U01/u01/app/grid/product/12.2.0/crs/network/admin/listener.ora
Listener Log File /U01/u01/grid/diag/tnslsnr/shurkcs/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=shurkcs.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=shurkcs.com)(PORT=5500))(Security=(my_wallet_directory=/U01/u01/app/oracle/admin/jy/xdb_wallet))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=shurkcs.com)(PORT=5505))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM", status READY, has 1 handler(s) for this service...
Service "+ASM_DATA" has 1 instance(s).
Instance "+ASM", status READY, has 1 handler(s) for this service...
Service "65c890ff89c39408e053ce05080aaa04" has 1 instance(s).
Instance "jy", status READY, has 1 handler(s) for this service...
Service "jy" has 1 instance(s).
Instance "jy", status READY, has 1 handler(s) for this service...
Service "jyXDB" has 1 instance(s).
Instance "jy", status READY, has 1 handler(s) for this service...
Service "jypdb" has 1 instance(s).
Instance "jy", status READY, has 1 handler(s) for this service...
The command completed successfully
关闭
sys@jy> exec DBMS_XDB_CONFIG.SETHTTPPORT(0);

PL/SQL procedure successfully completed.

Elapsed: 00:00:00.17

[grid@shurkcs ~]$ lsnrctl status

LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 23-FEB-2018 08:50:12

Copyright (c) 1991, 2016, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=shurkcs.com)(PORT=1521)))
STATUS of the LISTENER

Alias LISTENER

Version TNSLSNR for Linux: Version 12.2.0.1.0 - Production
Start Date 23-FEB-2018 08:28:03
Uptime 0 days 0 hr. 22 min. 8 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /U01/u01/app/grid/product/12.2.0/crs/network/admin/listener.ora
Listener Log File /U01/u01/grid/diag/tnslsnr/shurkcs/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=shurkcs.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=shurkcs.com)(PORT=5500))(Security=(my_wallet_directory=/U01/u01/app/oracle/admin/jy/xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM", status READY, has 1 handler(s) for this service...
Service "+ASM_DATA" has 1 instance(s).
Instance "+ASM", status READY, has 1 handler(s) for this service...
Service "65c890ff89c39408e053ce05080aaa04" has 1 instance(s).
Instance "jy", status READY, has 1 handler(s) for this service...
Service "jy" has 1 instance(s).
Instance "jy", status READY, has 1 handler(s) for this service...
Service "jyXDB" has 1 instance(s).
Instance "jy", status READY, has 1 handler(s) for this service...
Service "jypdb" has 1 instance(s).
Instance "jy", status READY, has 1 handler(s) for this service...
The command completed successfully

     本文转自whshurk 51CTO博客,原文链接:http://blog.51cto.com/shurk/2072266,如需转载请自行联系原作者

你可能感兴趣的文章
在eclipse 里面 修改tomcat的配置--Server Locations
查看>>
网站 mvc url 路径 设置 为 *.html 的原因
查看>>
mybatis 开启使用 默认的 二级缓存
查看>>
docker 容器 创建和 使用
查看>>
SQLITE使用指南
查看>>
用Maven部署war包到远程Tomcat服务器
查看>>
android字体大小的设置
查看>>
2015.06.04 工作任务与心得
查看>>
icinga2使用587端口发邮件
查看>>
hpasmcli查看HP服务器内存状态
查看>>
极客工具
查看>>
【14】Python100例基础练习(1)
查看>>
boost bind使用指南
查看>>
oracle高速缓存机制
查看>>
使用ntpdate更新系统时间
查看>>
Android M 特性 Doze and App Standby模式详解
查看>>
IE FF(火狐) line-height兼容详解
查看>>
谷歌Pixel 3吸引三星用户, 但未动摇iPhone地位
查看>>
python获取当前工作目录
查看>>
VUE中使用vuex,cookie,全局变量(少代码示例)
查看>>