当前位置: 首页 > news >正文

广东公园网站建设代理公司网络黄页推广大全

广东公园网站建设代理公司,网络黄页推广大全,关于机场建设的网站,我想建个网站网站怎么建域名Oracle12c数据库更改端口号修改端口号的整体步骤1.1、查看当前监听的状态1.2、停止监听1.3、修改监听文件的端口号1.4、修改初始化参数local_listener1.5、重启监听器1.6、修改完毕#xff0c;使用新端口登录测试实践步骤#xff1a;1、查看当前监听的状态[oraclelocalhost ~…Oracle12c数据库更改端口号修改端口号的整体步骤1.1、查看当前监听的状态1.2、停止监听1.3、修改监听文件的端口号1.4、修改初始化参数local_listener1.5、重启监听器1.6、修改完毕使用新端口登录测试实践步骤1、查看当前监听的状态[oraclelocalhost ~]$ lsnrctl statusLSNRCTL for Linux: Version 12.1.0.2.0 - Production on 21-DEC-2016 17:34:54Copyright (c) 1991, 2014, Oracle.  All rights reserved.Connecting to (DESCRIPTION(ADDRESS(PROTOCOLTCP)(HOSTlocalhost)(PORT1521)))STATUS of the LISTENER------------------------Alias                     LISTENERVersion                   TNSLSNR for Linux: Version 12.1.0.2.0 - ProductionStart Date                20-DEC-2016 22:26:52Uptime                    0 days 19 hr. 8 min. 1 secTrace Level               offSecurity                  ON: Local OS AuthenticationSNMP                      OFFListener Parameter File   /u01/app/oracle/12.1.0/db/network/admin/listener.oraListener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xmlListening Endpoints Summary...(DESCRIPTION(ADDRESS(PROTOCOLtcp)(HOSTlocalhost)(PORT1521)))(DESCRIPTION(ADDRESS(PROTOCOLipc)(KEYEXTPROC1521)))(DESCRIPTION(ADDRESS(PROTOCOLtcps)(HOSTlocalhost)(PORT5500))(Security(my_wallet_directory/u01/app/oracle/admin/qywsxxdb/xdb_wallet))(PresentationHTTP)(SessionRAW))Services Summary...Service qyws_jkda has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qyws_qyrk has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qyws_tjzb has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qyws_xnh has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qyws_yzxt has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qywsxxdb has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qywsxxdbXDB has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qywsxxdb_pdb1 has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...The command completed successfully2、停止监听[oraclelocalhost admin]$ lsnrctl stopLSNRCTL for Linux: Version 12.1.0.2.0 - Production on 21-DEC-2016 17:56:15Copyright (c) 1991, 2014, Oracle.  All rights reserved.Connecting to (DESCRIPTION(ADDRESS(PROTOCOLTCP)(HOSTlocalhost)(PORT1521)))The command completed successfully3、修改监听文件的端口号监听文件位置$ORACLE_HOME/network/admin/通过系统自带vi工具将listener.ora和tnsname.ora文件中port参数的值由1521改成1522存盘即可。或者通过netca实用程序配置更改监听端口。4、启动监听程序[oraclelocalhost admin]$ lsnrctl startLSNRCTL for Linux: Version 12.1.0.2.0 - Production on 21-DEC-2016 17:56:20Copyright (c) 1991, 2014, Oracle.  All rights reserved.Starting /u01/app/oracle/12.1.0/db/bin/tnslsnr: please wait...TNSLSNR for Linux: Version 12.1.0.2.0 - ProductionSystem parameter file is /u01/app/oracle/12.1.0/db/network/admin/listener.oraLog messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xmlListening on: (DESCRIPTION(ADDRESS(PROTOCOLtcp)(HOSTlocalhost)(PORT1522)))Connecting to (DESCRIPTION(ADDRESS(PROTOCOLTCP)(HOSTlocalhost)(PORT1522)))STATUS of the LISTENER------------------------Alias                     LISTENERVersion                   TNSLSNR for Linux: Version 12.1.0.2.0 - ProductionStart Date                21-DEC-2016 17:56:20Uptime                    0 days 0 hr. 0 min. 0 secTrace Level               offSecurity                  ON: Local OS AuthenticationSNMP                      OFFListener Parameter File   /u01/app/oracle/12.1.0/db/network/admin/listener.oraListener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xmlListening Endpoints Summary...(DESCRIPTION(ADDRESS(PROTOCOLtcp)(HOSTlocalhost)(PORT1522)))The listener supports no servicesThe command completed successfully5、修改初始化参数local_listener参数此处将4和5步骤调换就是为了通过测试说明为什么要修改local_listener参数首先在不修改该参数的情况我们注册数据库到监听程序。[oraclelocalhost admin]$ sqlplus / as sysdbaSQL*Plus: Release 12.1.0.2.0 Production on Wed Dec 21 17:56:25 2016Copyright (c) 1982, 2014, Oracle.  All rights reserved.Connected to:Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit ProductionWith the Partitioning, OLAP, Advanced Analytics and Real Application Testing optionsSQL show parameter local_liNAME      TYPE  VALUE------------------------------------ ----------- ------------------------------local_listener      stringSQL alter system register;System altered.SQL exitDisconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit ProductionWith the Partitioning, OLAP, Advanced Analytics and Real Application Testing options[oraclelocalhost admin]$ lsnrctl statusLSNRCTL for Linux: Version 12.1.0.2.0 - Production on 21-DEC-2016 17:56:36Copyright (c) 1991, 2014, Oracle.  All rights reserved.Connecting to (DESCRIPTION(ADDRESS(PROTOCOLTCP)(HOSTlocalhost)(PORT1522)))STATUS of the LISTENER------------------------Alias                     LISTENERVersion                   TNSLSNR for Linux: Version 12.1.0.2.0 - ProductionStart Date                21-DEC-2016 17:56:20Uptime                    0 days 0 hr. 0 min. 15 secTrace Level               offSecurity                  ON: Local OS AuthenticationSNMP                      OFFListener Parameter File   /u01/app/oracle/12.1.0/db/network/admin/listener.oraListener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xmlListening Endpoints Summary...(DESCRIPTION(ADDRESS(PROTOCOLtcp)(HOSTlocalhost)(PORT1522)))The listener supports no servicesThe command completed successfully通过手动注册数据库可以看到数据库并未注册到监听程序此时的local_listener为默认值默认情况下会注册默认监听程序。接下来我们修改local_listener参数的值看看修改后的效果。SQL alter system set local_listener(address (protocol tcp)(host 192.168.227.11)(port 1522)) scopeboth;System altered.SQLSQLSQL show parameter local_liNAME      TYPE  VALUE------------------------------------ ----------- ------------------------------local_listener      string  (address (protocol tcp)(host 192.168.227.11)(port 1522))SQL exitDisconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit ProductionWith the Partitioning, OLAP, Advanced Analytics and Real Application Testing options[oraclelocalhost ~]$ lsnrctl statusLSNRCTL for Linux: Version 12.1.0.2.0 - Production on 21-DEC-2016 18:02:09Copyright (c) 1991, 2014, Oracle.  All rights reserved.Connecting to (DESCRIPTION(ADDRESS(PROTOCOLTCP)(HOSTlocalhost)(PORT1522)))STATUS of the LISTENER------------------------Alias                     LISTENERVersion                   TNSLSNR for Linux: Version 12.1.0.2.0 - ProductionStart Date                21-DEC-2016 17:56:20Uptime                    0 days 0 hr. 5 min. 49 secTrace Level               offSecurity                  ON: Local OS AuthenticationSNMP                      OFFListener Parameter File   /u01/app/oracle/12.1.0/db/network/admin/listener.oraListener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xmlListening Endpoints Summary...(DESCRIPTION(ADDRESS(PROTOCOLtcp)(HOSTlocalhost)(PORT1522)))(DESCRIPTION(ADDRESS(PROTOCOLtcps)(HOSTlocalhost.localdomain)(PORT5500))(Security(my_wallet_directory/u01/app/oracle/admin/qywsxxdb/xdb_wallet))(PresentationHTTP)(SessionRAW))Services Summary...Service qyws_jkda has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qyws_qyrk has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qyws_tjzb has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qyws_xnh has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qyws_yzxt has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qywsxxdb has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qywsxxdbXDB has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...Service qywsxxdb_pdb1 has 1 instance(s).Instance qywsxxdb, status READY, has 1 handler(s) for this service...The command completed successfully可以看到监听程序很快就会自动注册可以识别到的数据库实例。那么为什么在这里要修改local_listener参数的值呢默认情况下该参数为空值依然可以动态将数据库实例自动注册监听呢首先我们得知道是pmon进程在实时动态注册数据库的一般在默认情况下pmon只会动态注册port等于1521的监听否则pmon不能动态注册listener如果想让pmon动态注册listener那么就需要设置local_listener参数。这也是为什么必须在修改端口时必须要修改local_listener参数的原因。来自 “ ITPUB博客 ” 链接http://blog.itpub.net/31403259/viewspace-2131183/如需转载请注明出处否则将追究法律责任。
http://www.sadfv.cn/news/154946/

相关文章:

  • 临沂网站建设咨询小程序推广任务入口
  • 汉口网站关键词排名营销策略分析论文框架
  • 网站后台文章列表里的每篇文章的文字全部乱码怎么办?网站提示宏
  • 四川省建设厅职称评审网站做评测好的视频网站有哪些
  • 邯郸网站建设怎么开发微信小程序开发费用一览表
  • 芯片商城网站建设做情诗网站
  • 沈阳做网站哪家质量好价格低企业网站新闻如何建设
  • 怎样在内网建设一个网站飘雪影视在线观看免费完整
  • 网站卖了对方做违法开发者模式怎么关闭华为
  • 互联网专线做网站怎么做数据陕西城乡住房建设厅网站
  • 韩国在中国做美食的视频网站wordpress网站响应时间太长
  • 2016年做水果行业专业网站承德百度网站建设
  • 腾讯云服务器可以做传奇网站吗苏州市企业排名100强
  • 网站显示搜索框天津 网站建设
  • php网站开发模式有哪些高并发网站开发语言
  • html怎么做网站版块网站建设合同附加协议
  • 服务器 网站 搬家做网站时会遇到什么问题
  • 电影网站cpa怎么做政务网站设计
  • 石家庄专业制作网站徐州在线制作网站
  • 网站建设要考虑哪些内容手机维修网站那个公司做的
  • 学校网站建设新闻只做网站应该找谁
  • 苏州朗冠网站建设公司酒业为什么做网站
  • 无锡网站建设要多少钱策划公司收费明细
  • 网站图片模板wordpress仿多特
  • 企业网站设计制作服务短剧个人主页简介模板
  • 龙岗在线网站制作代运营一个月多少钱
  • 商丘企业网站服务去哪找人做网站
  • 站群系统开发深圳定制建站公司电话
  • 做PPT素材图片网站 知乎广州网站开发软件平台
  • 做电子商务系统网站深圳网站制作880