default listener is not configured in grid infrastructure home

简介: Oracle Restart enable database creation requries Default listener configured and running in Grid Infrastructure home,Use NETCA in Grid Infrastructure home - “/u01/app/11.2.0/grid" to configre a listener before proceeding.如上图,错误描述十分清楚,找不到listener需要在grid用户下创建一个。

Oracle Restart enable database creation requries Default listener configured and running in Grid Infrastructure home,Use NETCA in Grid Infrastructure home - “/u01/app/11.2.0/grid" to configre a listener before proceeding.


如上图,错误描述十分清楚,找不到listener需要在grid用户下创建一个。

查看了一下crs后台服务

[grid@oel11g ~]$ crs_stat -t
Name           Type           Target    State     Host
------------------------------------------------------------
ora.DATA.dg    ora....up.type ONLINE    ONLINE    oel11g
ora.DG01.dg    ora....up.type ONLINE    ONLINE    oel11g
ora.asm        ora.asm.type   ONLINE    ONLINE    oel11g
ora.cssd       ora.cssd.type  ONLINE    ONLINE    oel11g
ora.diskmon    ora....on.type ONLINE    ONLINE    oel11g
这里的服务显然没有listener
到这里我可能已经找到问题的所在了,虽然我手工的启动了listener,但是crs服务中没有注册到listener的服务,需要手工的添加一下

使用srvctl指令查看listener服务
[grid@oel11g ~]$ srvctl status listener
PRCN-2044 : No listener exists
以上证明确实没有listener服务添加入crs中

通过如下指令加listener加入到crs服务中
[grid@oel11g ~]$ srvctl add listener
[grid@oel11g ~]$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is not running
[grid@oel11g ~]$ srvctl start listener
[grid@oel11g ~]$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): oel11g

此时便可以继续安装过程了。

目录
相关文章
|
4月前
|
Shell PHP Windows
【Azure App Service】Web Job 报错 UNC paths are not supported. Defaulting to Windows directory.
【Azure App Service】Web Job 报错 UNC paths are not supported. Defaulting to Windows directory.
|
5月前
|
存储 JavaScript 算法
若依修改-Starting development server...10% building 0/1 modules 1 active ...-node
若依修改-Starting development server...10% building 0/1 modules 1 active ...-node
|
Java Maven
No valid Maven installation found. Either set the home directory in the configuration dialog or set
No valid Maven installation found. Either set the home directory in the configuration dialog or set
1033 0
No valid Maven installation found. Either set the home directory in the configuration dialog or set
|
Shell
Detected problems with app native libraries (please consult log for detail): lib.so: text relocation
Detected problems with app native libraries (please consult log for detail): lib.so: text relocation
167 0
|
Docker 容器
ERROR:the default discovery settings are unsuitable for production use
ERROR:the default discovery settings are unsuitable for production use
221 0
Why Your Dev/Test Environment is as Important as Production
Development and Testing, although important, are often overlooked in a software delivery cycle.
1490 0