oracle11gracdbca建库时提示创建监听-创新互联
Oracle 11g rac dbca建库时提示创建监听
在安装oracle 11g rac时,使用dbca建库的过程中提示需要创建监听:
10多年的运城网站建设经验,针对设计、前端、开发、售后、文案、推广等六对一服务,响应快,48小时及时工作处理。成都营销网站建设的优势是能够根据用户设备显示端的尺寸不同,自动调整运城建站的显示方式,使网站能够适用不同显示终端,在浏览器中调整网站的宽度,无论在任何一种浏览器上浏览网站,都能展现优雅布局与设计,从而大程度地提升浏览体验。创新互联建站从事“运城网站设计”,“运城网站推广”以来,每个客户项目都认真落实执行。Default Listener "LISTENER" is not configured in Grid Infrantructure home.Use NetCA to configure Default Listener and return DBCA
解决步骤如下
因为oracle 11g rac在安装过程中会自动创建监听,无需手动创建,首先使用grid用户登录查看监听状态:
[grid@node1 ~]$ crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.DATA.dg ora....up.type ONLINE ONLINE node1 ora....N1.lsnr ora....er.type ONLINE ONLINE node1 ora.OCRVOTE.dg ora....up.type ONLINE ONLINE node1 ora.asm ora.asm.type ONLINE ONLINE node1 ora.cvu ora.cvu.type ONLINE ONLINE node1 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....network ora....rk.type ONLINE ONLINE node1 ora....SM1.asm application ONLINE ONLINE node1 ora.node1.gsd application OFFLINE OFFLINE ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip ora....t1.type ONLINE ONLINE node1 ora....SM2.asm application ONLINE ONLINE node2 ora.node2.gsd application OFFLINE OFFLINE ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip ora....t1.type ONLINE ONLINE node2 ora.oc4j ora.oc4j.type ONLINE ONLINE node1 ora.ons ora.ons.type ONLINE ONLINE node1 ora.scan1.vip ora....ip.type ONLINE ONLINE node1
使用命令crs_stat -t查看各资源状态,发现没有监听资源,下面查看详细信息:
[grid@node1 ~]$ crs_stat NAME=ora.DATA.dg TYPE=ora.diskgroup.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.LISTENER_SCAN1.lsnr TYPE=ora.scan_listener.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.OCRVOTE.dg TYPE=ora.diskgroup.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.asm TYPE=ora.asm.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.cvu TYPE=ora.cvu.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.gsd TYPE=ora.gsd.type TARGET=OFFLINE STATE=OFFLINE NAME=ora.net1.network TYPE=ora.network.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.node1.ASM1.asm TYPE=application TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.node1.gsd TYPE=application TARGET=OFFLINE STATE=OFFLINE NAME=ora.node1.ons TYPE=application TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.node1.vip TYPE=ora.cluster_vip_net1.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.node2.ASM2.asm TYPE=application TARGET=ONLINE STATE=ONLINE on node2 NAME=ora.node2.gsd TYPE=application TARGET=OFFLINE STATE=OFFLINE NAME=ora.node2.ons TYPE=application TARGET=ONLINE STATE=ONLINE on node2 NAME=ora.node2.vip TYPE=ora.cluster_vip_net1.type TARGET=ONLINE STATE=ONLINE on node2 NAME=ora.oc4j TYPE=ora.oc4j.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.ons TYPE=ora.ons.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.scan1.vip TYPE=ora.scan_vip.type TARGET=ONLINE STATE=ONLINE on node1
手动添加监听资源:
[grid@node1 admin]$ srvctl status listener PRCN-2044 : No listener exists [grid@node1 admin]$ [grid@node1 admin]$ srvctl add listener [grid@node1 admin]$ srvctl status listener Listener LISTENER is enabled Listener LISTENER is not running [grid@node1 admin]$ [grid@node1 admin]$ crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.DATA.dg ora....up.type ONLINE ONLINE node1 ora....ER.lsnr ora....er.type OFFLINE OFFLINE ora....N1.lsnr ora....er.type ONLINE ONLINE node1 ora.OCRVOTE.dg ora....up.type ONLINE ONLINE node1 ora.asm ora.asm.type ONLINE ONLINE node1 ora.cvu ora.cvu.type ONLINE ONLINE node1 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....network ora....rk.type ONLINE ONLINE node1 ora....SM1.asm application ONLINE ONLINE node1 ora....E1.lsnr application OFFLINE OFFLINE ora.node1.gsd application OFFLINE OFFLINE ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip ora....t1.type ONLINE ONLINE node1 ora....SM2.asm application ONLINE ONLINE node2 ora....E2.lsnr application OFFLINE OFFLINE ora.node2.gsd application OFFLINE OFFLINE ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip ora....t1.type ONLINE ONLINE node2 ora.oc4j ora.oc4j.type ONLINE ONLINE node1 ora.ons ora.ons.type ONLINE ONLINE node1 ora.scan1.vip ora....ip.type ONLINE ONLINE node1
手动启动监听:
[grid@node1 admin]$ srvctl start listener [grid@node1 admin]$ [grid@node1 admin]$ srvctl status listener Listener LISTENER is enabled Listener LISTENER is running on node(s): node2,node1 [grid@node1 admin]$ [grid@node1 admin]$ crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.DATA.dg ora....up.type ONLINE ONLINE node1 ora....ER.lsnr ora....er.type ONLINE ONLINE node1 ora....N1.lsnr ora....er.type ONLINE ONLINE node1 ora.OCRVOTE.dg ora....up.type ONLINE ONLINE node1 ora.asm ora.asm.type ONLINE ONLINE node1 ora.cvu ora.cvu.type ONLINE ONLINE node1 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....network ora....rk.type ONLINE ONLINE node1 ora....SM1.asm application ONLINE ONLINE node1 ora....E1.lsnr application ONLINE ONLINE node1 ora.node1.gsd application OFFLINE OFFLINE ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip ora....t1.type ONLINE ONLINE node1 ora....SM2.asm application ONLINE ONLINE node2 ora....E2.lsnr application ONLINE ONLINE node2 ora.node2.gsd application OFFLINE OFFLINE ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip ora....t1.type ONLINE ONLINE node2 ora.oc4j ora.oc4j.type ONLINE ONLINE node1 ora.ons ora.ons.type ONLINE ONLINE node1 ora.scan1.vip ora....ip.type ONLINE ONLINE node1
发现监听正常启动,查看详细资源信息:
[grid@node1 admin]$ [grid@node1 admin]$ crs_stat NAME=ora.DATA.dg TYPE=ora.diskgroup.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.LISTENER.lsnr TYPE=ora.listener.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.LISTENER_SCAN1.lsnr TYPE=ora.scan_listener.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.OCRVOTE.dg TYPE=ora.diskgroup.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.asm TYPE=ora.asm.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.cvu TYPE=ora.cvu.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.gsd TYPE=ora.gsd.type TARGET=OFFLINE STATE=OFFLINE NAME=ora.net1.network TYPE=ora.network.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.node1.ASM1.asm TYPE=application TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.node1.LISTENER_NODE1.lsnr TYPE=application TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.node1.gsd TYPE=application TARGET=OFFLINE STATE=OFFLINE NAME=ora.node1.ons TYPE=application TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.node1.vip TYPE=ora.cluster_vip_net1.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.node2.ASM2.asm TYPE=application TARGET=ONLINE STATE=ONLINE on node2 NAME=ora.node2.LISTENER_NODE2.lsnr TYPE=application TARGET=ONLINE STATE=ONLINE on node2 NAME=ora.node2.gsd TYPE=application TARGET=OFFLINE STATE=OFFLINE NAME=ora.node2.ons TYPE=application TARGET=ONLINE STATE=ONLINE on node2 NAME=ora.node2.vip TYPE=ora.cluster_vip_net1.type TARGET=ONLINE STATE=ONLINE on node2 NAME=ora.oc4j TYPE=ora.oc4j.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.ons TYPE=ora.ons.type TARGET=ONLINE STATE=ONLINE on node1 NAME=ora.scan1.vip TYPE=ora.scan_vip.type TARGET=ONLINE STATE=ONLINE on node1
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
当前题目:oracle11gracdbca建库时提示创建监听-创新互联
网页链接:http://lswzjz.com/article/dspgec.html