oracle 11g rac dbca建库时提示创建监听
发表于:2025-01-20 作者:千家信息网编辑
千家信息网最后更新 2025年01月20日,Oracle 11g rac dbca建库时提示创建监听在安装oracle 11g rac时,使用dbca建库的过程中提示需要创建监听:Default Listener "LISTENER" is n
千家信息网最后更新 2025年01月20日oracle 11g rac dbca建库时提示创建监听
Oracle 11g rac dbca建库时提示创建监听
在安装oracle 11g rac时,使用dbca建库的过程中提示需要创建监听:
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 -tName 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_statNAME=ora.DATA.dgTYPE=ora.diskgroup.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.LISTENER_SCAN1.lsnrTYPE=ora.scan_listener.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.OCRVOTE.dgTYPE=ora.diskgroup.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.asmTYPE=ora.asm.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.cvuTYPE=ora.cvu.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.gsdTYPE=ora.gsd.typeTARGET=OFFLINESTATE=OFFLINENAME=ora.net1.networkTYPE=ora.network.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.node1.ASM1.asmTYPE=applicationTARGET=ONLINESTATE=ONLINE on node1NAME=ora.node1.gsdTYPE=applicationTARGET=OFFLINESTATE=OFFLINENAME=ora.node1.onsTYPE=applicationTARGET=ONLINESTATE=ONLINE on node1NAME=ora.node1.vipTYPE=ora.cluster_vip_net1.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.node2.ASM2.asmTYPE=applicationTARGET=ONLINESTATE=ONLINE on node2NAME=ora.node2.gsdTYPE=applicationTARGET=OFFLINESTATE=OFFLINENAME=ora.node2.onsTYPE=applicationTARGET=ONLINESTATE=ONLINE on node2NAME=ora.node2.vipTYPE=ora.cluster_vip_net1.typeTARGET=ONLINESTATE=ONLINE on node2NAME=ora.oc4jTYPE=ora.oc4j.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.onsTYPE=ora.ons.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.scan1.vipTYPE=ora.scan_vip.typeTARGET=ONLINESTATE=ONLINE on node1
手动添加监听资源:
[grid@node1 admin]$ srvctl status listenerPRCN-2044 : No listener exists[grid@node1 admin]$ [grid@node1 admin]$ srvctl add listener[grid@node1 admin]$ srvctl status listenerListener LISTENER is enabledListener LISTENER is not running[grid@node1 admin]$ [grid@node1 admin]$ crs_stat -tName 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 listenerListener LISTENER is enabledListener LISTENER is running on node(s): node2,node1[grid@node1 admin]$ [grid@node1 admin]$ crs_stat -tName 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_statNAME=ora.DATA.dgTYPE=ora.diskgroup.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.LISTENER.lsnrTYPE=ora.listener.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.LISTENER_SCAN1.lsnrTYPE=ora.scan_listener.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.OCRVOTE.dgTYPE=ora.diskgroup.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.asmTYPE=ora.asm.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.cvuTYPE=ora.cvu.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.gsdTYPE=ora.gsd.typeTARGET=OFFLINESTATE=OFFLINENAME=ora.net1.networkTYPE=ora.network.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.node1.ASM1.asmTYPE=applicationTARGET=ONLINESTATE=ONLINE on node1NAME=ora.node1.LISTENER_NODE1.lsnrTYPE=applicationTARGET=ONLINESTATE=ONLINE on node1NAME=ora.node1.gsdTYPE=applicationTARGET=OFFLINESTATE=OFFLINENAME=ora.node1.onsTYPE=applicationTARGET=ONLINESTATE=ONLINE on node1NAME=ora.node1.vipTYPE=ora.cluster_vip_net1.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.node2.ASM2.asmTYPE=applicationTARGET=ONLINESTATE=ONLINE on node2NAME=ora.node2.LISTENER_NODE2.lsnrTYPE=applicationTARGET=ONLINESTATE=ONLINE on node2NAME=ora.node2.gsdTYPE=applicationTARGET=OFFLINESTATE=OFFLINENAME=ora.node2.onsTYPE=applicationTARGET=ONLINESTATE=ONLINE on node2NAME=ora.node2.vipTYPE=ora.cluster_vip_net1.typeTARGET=ONLINESTATE=ONLINE on node2NAME=ora.oc4jTYPE=ora.oc4j.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.onsTYPE=ora.ons.typeTARGET=ONLINESTATE=ONLINE on node1NAME=ora.scan1.vipTYPE=ora.scan_vip.typeTARGET=ONLINESTATE=ONLINE on node1
监听
资源
手动
提示
信息
状态
过程
命令
步骤
用户
登录
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
湖北潜江兴巨软件开发公司
小学网络安全教学
服务器显卡好还是游戏显卡好
数据库管理技术实验9
自己做app软件开发
搜索历史数据库选型
天津市公安局网络安全支队
属于回收数据库资源时进行的操作
数据库技术与应用课后
北航的软件开发
怎么加入服务器方舟
服务器怎么设家
软件开发项目总结范文
火箭军计算机网络安全与管理
中山大学网络安全学院分数线
杭州做软件开发上万人的公司
金蝶软件什么数据库
数据库什么是视图消解法
广州运维服务管理软件开发
如何把数据库设置为电脑启动
40岁还在做底层软件开发
云南创新软件开发市场报价
郑州网络技术培训
csgo网吧寻找专业服务器
网络安全服务手抄报画
mysql数据库中文版
sq 数据库连接
网络安全三个必查
互联网反垄断对网宿科技的影响
三级数据库技术考